菜单
  

     
    图4.9 系统主窗体操作界面设计图
    static void Main()//主程序
            {
                LongInForm LonInForm = new LongInForm();
                LonInForm.ShowDialog();
                if (LongInForm.lfstate==true)
                {
                    Application.Run(new MainFrm());
                }
            }

    4.2.3    系统管理模块
    本系统的管理模块分为添加用户和修改密码界面,分别如图4.10和图4.11所示
     
    图4.10 系统管理之添加用户界面设计图
    rivate void AddUser_Load(object sender, EventArgs e)
            {
            }
     
    图4.11 系统管理之修改密码界面设计图
    private void PwdUpdate_Load(object sender, EventArgs e)
            {
            }
    4.2.4    货物管理模块
    本系统的货物管理分为货物信息界面和货物查询界面,分别如图4.12和4.13所示
     
    图4.12 货物管理之货物信息界面设计图
    private void store_Load(object sender, System.EventArgs e)
            {
                DataSet storeset=new DataSet();
                MyConn.Open();//打开连接
                storeAdapter.SelectCommand.CommandText = "SELECT  * FROM store";
                storeAdapter.SelectCommand.Connection = MyConn;
                storeAdapter.Fill(storeInfo);//填充数据表
                this.dataGrid1.DataSource = storeInfo.DefaultView;
                FNReport = (CurrencyManager)BindingContext[storeInfo];
                DataGridTableStyle fn = new DataGridTableStyle();
                this.DataBindingsFunction();
                fn.AlternatingBackColor = Color.Blue;//颜色设置
                fn.MappingName = storeInfo.TableName;
                this.dataGrid1.Select(0);//选定第一列
            }
     
    图4.13 货物管理之货物查询界面设计图
    private void Selstore_Load(object sender, System.EventArgs e)
            {
                    try
                    {
                        this.sqlConnection1.ConnectionString= "server=.;Trusted_Connection=yes;user=sa;pwd=sa;database=storage";//建立连接
                        this.sqlConnection1.Open();
                        DataSet storeSet=new DataSet();
                        storeAdapter.SelectCommand.CommandText="SELECT * FROM store";
  1. 上一篇:基于jfreechart的动态数据可视化应用开发
  2. 下一篇:C#班级考评管理系统开发与设计
  1. JAVA基于安卓平台的医疗护工管理系统设计

  2. java+mysql酒店管理系统设计与实现

  3. Ruby+mysql就业信息管理系统的设计与实现

  4. php进销存管理系统的设计与实现

  5. jsp医药连锁店管理系统的设计与实现

  6. jsp+mysql学生实践创新项目管理系统设计与实现

  7. jsp+mysql停车场车辆管理系统的设计与实现

  8. 酸性水汽提装置总汽提塔设计+CAD图纸

  9. 当代大学生慈善意识研究+文献综述

  10. 十二层带中心支撑钢结构...

  11. 杂拟谷盗体内共生菌沃尔...

  12. 大众媒体对公共政策制定的影响

  13. 中考体育项目与体育教学合理结合的研究

  14. java+mysql车辆管理系统的设计+源代码

  15. 电站锅炉暖风器设计任务书

  16. 乳业同业并购式全产业链...

  17. 河岸冲刷和泥沙淤积的监测国内外研究现状

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回