[it计算机]软件项目开发总结报告模版内容摘要:
final TableColumn column14=new TableColumn(table,)。 (rwNum)。 (80)。 (true)。 (true)。 freshData()。 (800,200)。 Button add=new Button(tmshell,)。 (add trains)。 (new SelectionAdapter(){ public void widgetSelected(SelectionEvent e){ new AddTrain(tm)。 } })。 Button update=new Button(tmshell,)。 (modify)。 (new SelectionAdapter(){ public void widgetSelected(SelectionEvent e){ TableItem[] selection=()。 TableItem selectedRow=selection[0]。 Train train=new Train()。 (((0)))。 ((1))。 ((2))。 ((3))。 武汉理工大学《软件开发工具》论文报告 14 ((4))。 ((5))。 ((6))。 ((7))。 (((8)))。 ((9))。 (((10)))。 (((11)))。 (((12)))。 (((13)))。 new UpdateTrain(train,tm)。 } })。 Button delete=new Button(tmshell,)。 (cancel)。 (new SelectionAdapter(){ public void widgetSelected(SelectionEvent e){ MessageBox box=new MessageBox(tmshell,|)。 (Are you sure to cancel?)。 int num=()。 if(num==128) return。 TableItem[] selection=()。 TableItem selectedRow=selection[0]。 DAO dao=new DAO()。 String sql=delete from train where id=+(0)+。 int i=(sql)。 if(i0){ (succeed)。 ()。 (())。 }else{ (failure)。 ()。 } } })。 武汉理工大学《软件开发工具》论文报告 15 (1200,400)。 (train Management)。 ()。 while(!()){ if(!()) ()。 } ()。 } public void freshData(){ ()。 try{ DAO dao=new DAO()。 List list=()。 int number=()。 for(int i=0。 i()。 i++){ Train train=(Train)(i)。 final TableItem item[]=new TableItem[number]。 item[i]=new TableItem(table,)。 item[i].setText(new String[]{(()),(),trai(),(), (),(),ime(),(),(()),trai(),(()), (()),(wNum()),(())})。 } }catch(Exception e){ ()。 } } } 在该段代码中调用了 getAllTrain()方法来获得所有的车辆信息,然后以表格的形式显示出来。 getAllTrain()和 update()方法如下: public int update(String sql){ int i=0。 con=()。 try { pt=(sql)。 i=()。 } catch (SQLException e) { 武汉理工大学《软件开发工具》论文报告 16 ()。 }finally{ (pt)。 (con)。 }return i。 } public List getAllTrain(){ List list=new ArrayList()。 con=()。 try { pt=(select * from train)。 rs=()。 while(()){ Train train=new Train()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 ((7))。 ((8))。 ((9))。 ((10))。 ((11))。 ((12))。 ((13))。 ((14))。 (train)。 } } catch (SQLException e) { ()。 }finally{ (rs)。 (pt)。 (con)。 }return list。 } 其中的 update的功能是,首先连接数据库,然后用传递过来的 SQl语句在列表中删除某辆列车的信息。 getAllTrain()方法是显示所有的列车的信息。 图示如下: 武汉理工大学《软件开发工具》论文报告 17 在车次管理中的对于列车信息添加的功能是通过 来实现的。 代码如下: import。 import .*。 import .*。 import .*。 import。 public class AddTrain { Display display=()。 Shell tmshell=new Shell(display)。 TrainManage trainmanage=null。 public AddTrain(TrainManage tm){ trainmanage=tm。 GridLayout gridlayout=new GridLayout()。 (add trains information)。 =2。 =true。 (gridlayout)。 GridData gd = new GridData()。 Label l=new Label(tmshell,)。 (trainNum)。 (gd)。 gd = new GridData()。 final Text trainNum=new Text(tmshell,)。 (50,60)。 (gd)。 gd = new GridData()。 Label l1=new Label(tmshell,)。 (trainType)。 (gd)。 gd = new GridData()。 final Text trainType=new Text(tmshell,)。 武汉理工大学《软件开发工具》论文报告 18 (30,40)。 (gd)。 gd = new GridData()。 Label l2=new Label(tmshell,)。 (starting)。 (gd)。 gd = new GridData()。 final Text starting=new Text(tmshell,)。 (30,40)。 (gd)。 gd = new GridData()。 Label l3=new Label(tmshell,)。 (startingtime)。 (gd)。 gd = new GridData()。 final Text startingTime=new Text(tmshell,)。 (30,40)。 (gd)。 Label l4=new Label(tmshell,)。 (terminal)。 (gd)。 gd = new GridData()。 final Text terminal=new Text(tmshell,)。 (30,40)。 (gd)。 gd = new GridData()。 Label l5=new Label(tmshell,)。 (terminaltime)。 (gd)。 gd = new GridData()。 final Text terminalTime=new Text(tmshell,)。 (30,40)。 (gd)。 gd = new GridData()。 Label l6=new Label(tmshell,)。 (iskongtiao)。 (gd)。 gd = new GridData()。 final Text iskongTiao=new Text(tmshell,)。 武汉理工大学《软件开发工具》论文报告 19 (30,40)。 (gd)。 gd。[it计算机]软件项目开发总结报告模版
相关推荐
述,此子系统的功能需求可用如下图表示: 进货管理子系统 基用户登陆 系进货退货管理 销进货管理 进销存管理系统 11 系统管理子系统功能的需求 ( 1)用户登录 要进入系统的用户都要进行登陆才能进入系统界面, 用户打开登陆框,输入用户名和密码:用户名和密码输入正确方可进入系统。 (顶格 着重号) 注:此用户名和密码都是管理员事先分配好的,此用户只能有更改自己密码的权限。 ( 2)用户管理
................................................................................... 107 导入原有系统的数据 ................................................................................... 107 数据导入导出功能 ....
...................................................................................................................... 59 参考文献 ........................................................................
台订单的订购和后台的相关信息的添加,修改, 删除等)和各种相关信息的录入及查询,这些操作的信息都存储在数据库的各个数据表中,信息的添加、修改、删除、查询等操作,实际上是对数据库进行写入、修改、删除、查询的操作。 用户登录系统,输入用户名和密码。 系统从数据库中的系统用户表中读出用户名和密码,并与输入的信息进行比较,看两者的数据是否相匹配,一致则会进入系统。 进入系统后
性,以及将来客户项目经理必须承担的义务和具体的工作职责(详见角色和职责),协助企业高层选定合适的项目经理,项目实施过程中建议项目经理必须全脱产,要求全部精力放到企业的项目实施中; 2) 向企业高层解释项目组成员在项目实施中的重要作用,提议哪些部门的人员参与到项目实施小组中,并且建立奖惩机制,有效地通过企业的项目实施小组推动公司项目的实施,关键用户也应该全职脱产参加项目
6) 删除 工具 删 除用户选中的图层。 7) 修改属性 工具 首先选中需要修改属性的目标图层,点击【属性修改】。 8) 移动 工具 选中图层点击【移动】既可实现图层的移动。 35 9) 旋转 工具 选中图层点击【旋转】这时系统会提示需要设置中心点,用户可以根据需要旋转的方向设定中心点。 10) 裁剪 工具 11) 缓冲 工具 12) 分割 工具 13) 合并 工具 36 14) 提取面边界