示例#1
0
文件: AppMain.cs 项目: liuszhang/ERP
        private void tileItem39_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {//860
            FormSelProfitCollectReport formSelProfitCollectReport = new FormSelProfitCollectReport();

            formSelProfitCollectReport.StartPosition = FormStartPosition.CenterScreen;
            formSelProfitCollectReport.Show();
        }
示例#2
0
        /// <summary>
        ///   打开Form窗体
        /// </summary>
        /// <param name="menuItem"> 菜单项的引用 </param>
        /// <param name="form"> 要打开的窗体的引用 </param>
        public void ShowForm(ToolStripMenuItem menuItem, Form form)
        {
            switch (menuItem.Tag.ToString())
            {
            case "111":

                FormBSInvenType invenType = new FormBSInvenType();
                invenType.MdiParent     = form;
                invenType.StartPosition = FormStartPosition.CenterScreen;
                invenType.Tag           = menuItem.Tag.ToString();
                invenType.Show();
                break;

            case "112":

                FormBSDepartment department = new FormBSDepartment();
                department.MdiParent     = form;
                department.StartPosition = FormStartPosition.CenterScreen;
                department.Tag           = menuItem.Tag.ToString();
                department.Show();
                break;

            case "113":

                FormBSCostType costType = new FormBSCostType();
                costType.MdiParent     = form;
                costType.StartPosition = FormStartPosition.CenterScreen;
                costType.Tag           = menuItem.Tag.ToString();
                costType.Show();
                break;

            case "121":

                FormBSInven inven = new FormBSInven();
                inven.MdiParent     = form;
                inven.StartPosition = FormStartPosition.CenterScreen;
                inven.Tag           = menuItem.Tag.ToString();
                inven.Show();
                break;

            case "122":

                FormBSSupplier supplier = new FormBSSupplier();
                supplier.MdiParent     = form;
                supplier.StartPosition = FormStartPosition.CenterScreen;
                supplier.Tag           = menuItem.Tag.ToString();
                supplier.Show();
                break;

            case "123":

                FormBSCustomer customer = new FormBSCustomer();
                customer.MdiParent     = form;
                customer.StartPosition = FormStartPosition.CenterScreen;
                customer.Tag           = menuItem.Tag.ToString();
                customer.Show();
                break;

            case "124":

                FormBSCost cost = new FormBSCost();
                cost.MdiParent     = form;
                cost.StartPosition = FormStartPosition.CenterScreen;
                cost.Tag           = menuItem.Tag.ToString();
                cost.Show();
                break;

            case "125":

                FormBSStore store = new FormBSStore();
                store.MdiParent     = form;
                store.StartPosition = FormStartPosition.CenterScreen;
                store.Tag           = menuItem.Tag.ToString();
                store.Show();
                break;

            case "126":

                FormBSEmployee employee = new FormBSEmployee();
                employee.MdiParent     = form;
                employee.StartPosition = FormStartPosition.CenterScreen;
                employee.Tag           = menuItem.Tag.ToString();
                employee.Show();
                break;

            case "130":

                FormBSAccount account = new FormBSAccount();
                account.MdiParent     = form;
                account.StartPosition = FormStartPosition.CenterScreen;
                account.Tag           = menuItem.Tag.ToString();
                account.Show();
                break;

            case "140":

                FormBSBom bom = new FormBSBom();
                bom.MdiParent     = form;
                bom.StartPosition = FormStartPosition.CenterScreen;
                bom.Tag           = menuItem.Tag.ToString();
                bom.Show();
                break;

            case "150":

                FormInitStock initStock = new FormInitStock();
                initStock.MdiParent     = form;
                initStock.StartPosition = FormStartPosition.CenterScreen;
                initStock.Tag           = menuItem.Tag.ToString();
                initStock.Show();
                break;

            case "210":

                FormPUOrder puOrder = new FormPUOrder();
                puOrder.MdiParent     = form;
                puOrder.StartPosition = FormStartPosition.CenterScreen;
                puOrder.Tag           = menuItem.Tag.ToString();
                puOrder.Show();
                break;


            case "220":

                FormPUInStore puInStore = new FormPUInStore();
                puInStore.MdiParent     = form;
                puInStore.StartPosition = FormStartPosition.CenterScreen;
                puInStore.Tag           = menuItem.Tag.ToString();
                puInStore.Show();
                break;

            case "230":

                FormPUPay formPUPay = new FormPUPay();
                formPUPay.MdiParent     = form;
                formPUPay.StartPosition = FormStartPosition.CenterScreen;
                formPUPay.Tag           = menuItem.Tag.ToString();
                formPUPay.Show();
                break;

            case "310":

                FormSEOrder formSEOrder = new FormSEOrder();
                formSEOrder.MdiParent     = form;
                formSEOrder.StartPosition = FormStartPosition.CenterScreen;
                formSEOrder.Tag           = menuItem.Tag.ToString();
                formSEOrder.Show();
                break;

            case "320":

                FormSEOutStore formSEOutStore = new FormSEOutStore();
                formSEOutStore.MdiParent     = form;
                formSEOutStore.StartPosition = FormStartPosition.CenterScreen;
                formSEOutStore.Tag           = menuItem.Tag.ToString();
                formSEOutStore.Show();
                break;

            case "330":

                FormSEGather formSEGather = new FormSEGather();
                formSEGather.MdiParent     = form;
                formSEGather.StartPosition = FormStartPosition.CenterScreen;
                formSEGather.Tag           = menuItem.Tag.ToString();
                formSEGather.Show();
                break;

            case "410":

                FormSTGetMaterial formSTGetMaterial = new FormSTGetMaterial();
                formSTGetMaterial.MdiParent     = form;
                formSTGetMaterial.StartPosition = FormStartPosition.CenterScreen;
                formSTGetMaterial.Tag           = menuItem.Tag.ToString();
                formSTGetMaterial.Show();
                break;

            case "420":

                FormSTReturnMaterial formSTReturnMaterial = new FormSTReturnMaterial();
                formSTReturnMaterial.MdiParent     = form;
                formSTReturnMaterial.StartPosition = FormStartPosition.CenterScreen;
                formSTReturnMaterial.Tag           = menuItem.Tag.ToString();
                formSTReturnMaterial.Show();
                break;

            case "430":

                FormSTLoss formSTLoss = new FormSTLoss();
                formSTLoss.MdiParent     = form;
                formSTLoss.StartPosition = FormStartPosition.CenterScreen;
                formSTLoss.Tag           = menuItem.Tag.ToString();
                formSTLoss.Show();
                break;

            case "440":

                FormSTCheck formSTCheck = new FormSTCheck();
                formSTCheck.MdiParent     = form;
                formSTCheck.StartPosition = FormStartPosition.CenterScreen;
                formSTCheck.Tag           = menuItem.Tag.ToString();
                formSTCheck.Show();
                break;

            case "450":

                FormStockQuery formStockQuery = new FormStockQuery();
                formStockQuery.MdiParent     = form;
                formStockQuery.StartPosition = FormStartPosition.CenterScreen;
                formStockQuery.Tag           = menuItem.Tag.ToString();
                formStockQuery.Show();
                break;

            case "510":

                FormPRPlan formPRPlan = new FormPRPlan();
                formPRPlan.MdiParent     = form;
                formPRPlan.StartPosition = FormStartPosition.CenterScreen;
                formPRPlan.Tag           = menuItem.Tag.ToString();
                formPRPlan.Show();
                break;

            case "520":

                FormPRProduce formPRProduce = new FormPRProduce();
                formPRProduce.MdiParent     = form;
                formPRProduce.StartPosition = FormStartPosition.CenterScreen;
                formPRProduce.Tag           = menuItem.Tag.ToString();
                formPRProduce.Show();
                break;

            case "530":

                FormProduceComplete formProduceComplete = new FormProduceComplete();
                formProduceComplete.MdiParent     = form;
                formProduceComplete.StartPosition = FormStartPosition.CenterScreen;
                formProduceComplete.Tag           = menuItem.Tag.ToString();
                formProduceComplete.Show();
                break;

            case "540":

                FormPRInStore formPRInStore = new FormPRInStore();
                formPRInStore.MdiParent     = form;
                formPRInStore.StartPosition = FormStartPosition.CenterScreen;
                formPRInStore.Tag           = menuItem.Tag.ToString();
                formPRInStore.Show();
                break;

            case "610":

                FormCustomerCourse formCustomerCourse = new FormCustomerCourse();
                formCustomerCourse.MdiParent     = form;
                formCustomerCourse.StartPosition = FormStartPosition.CenterScreen;
                formCustomerCourse.Tag           = menuItem.Tag.ToString();
                formCustomerCourse.Show();
                break;

            case "620":

                FormBaseType formBaseType = new FormBaseType();
                formBaseType.MdiParent     = form;
                formBaseType.StartPosition = FormStartPosition.CenterScreen;
                formBaseType.Tag           = menuItem.Tag.ToString();
                formBaseType.Show();
                break;

            case "630":

                FormCustomerAnalyse formCustomerAnalyse = new FormCustomerAnalyse();
                formCustomerAnalyse.MdiParent     = form;
                formCustomerAnalyse.StartPosition = FormStartPosition.CenterScreen;
                formCustomerAnalyse.Tag           = menuItem.Tag.ToString();
                formCustomerAnalyse.Show();
                break;

            case "710":

                FormFIDeposit formFIDeposit = new FormFIDeposit();
                formFIDeposit.MdiParent     = form;
                formFIDeposit.StartPosition = FormStartPosition.CenterScreen;
                formFIDeposit.Tag           = menuItem.Tag.ToString();
                formFIDeposit.Show();
                break;

            case "720":

                FormFIPurCost formFIPurCost = new FormFIPurCost();
                formFIPurCost.MdiParent     = form;
                formFIPurCost.StartPosition = FormStartPosition.CenterScreen;
                formFIPurCost.Tag           = menuItem.Tag.ToString();
                formFIPurCost.Show();
                break;

            case "730":

                FormFISelCost formFISelCost = new FormFISelCost();
                formFISelCost.MdiParent     = form;
                formFISelCost.StartPosition = FormStartPosition.CenterScreen;
                formFISelCost.Tag           = menuItem.Tag.ToString();
                formFISelCost.Show();
                break;

            case "810":

                FormPurReport formPurReport = new FormPurReport();
                formPurReport.MdiParent     = form;
                formPurReport.StartPosition = FormStartPosition.CenterScreen;
                formPurReport.Tag           = menuItem.Tag.ToString();
                formPurReport.Show();
                break;

            case "820":

                FormPurCollectReport formPurCollectReport = new FormPurCollectReport();
                formPurCollectReport.MdiParent     = form;
                formPurCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formPurCollectReport.Tag           = menuItem.Tag.ToString();
                formPurCollectReport.Show();
                break;

            case "830":

                FormSelReport formSelReport = new FormSelReport();
                formSelReport.MdiParent     = form;
                formSelReport.StartPosition = FormStartPosition.CenterScreen;
                formSelReport.Tag           = menuItem.Tag.ToString();
                formSelReport.Show();
                break;

            case "840":

                FormSelCollectReport formSelCollectReport = new FormSelCollectReport();
                formSelCollectReport.MdiParent     = form;
                formSelCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formSelCollectReport.Tag           = menuItem.Tag.ToString();
                formSelCollectReport.Show();
                break;

            case "850":

                FormSelProfitReport formSelProfitReport = new FormSelProfitReport();
                formSelProfitReport.MdiParent     = form;
                formSelProfitReport.StartPosition = FormStartPosition.CenterScreen;
                formSelProfitReport.Tag           = menuItem.Tag.ToString();
                formSelProfitReport.Show();
                break;


            case "860":

                FormSelProfitCollectReport formSelProfitCollectReport = new FormSelProfitCollectReport();
                formSelProfitCollectReport.MdiParent     = form;
                formSelProfitCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formSelProfitCollectReport.Tag           = menuItem.Tag.ToString();
                formSelProfitCollectReport.Show();
                break;

            case "870":

                FormStockWarnReport formStockWarnReport = new FormStockWarnReport();
                formStockWarnReport.MdiParent     = form;
                formStockWarnReport.StartPosition = FormStartPosition.CenterScreen;
                formStockWarnReport.Tag           = menuItem.Tag.ToString();
                formStockWarnReport.Show();
                break;

            case "910":

                FormSYOperator formSYOperator = new FormSYOperator();
                formSYOperator.MdiParent     = form;
                formSYOperator.StartPosition = FormStartPosition.CenterScreen;
                formSYOperator.Tag           = menuItem.Tag.ToString();
                formSYOperator.Show();
                break;

            case "920":

                FormPassWord formPassWord = new FormPassWord();
                formPassWord.MdiParent     = form;
                formPassWord.StartPosition = FormStartPosition.CenterScreen;
                formPassWord.Tag           = menuItem.Tag.ToString();
                formPassWord.Show();
                break;

            case "930":

                FormAssignRight formAssignRight = new FormAssignRight();
                formAssignRight.MdiParent     = form;
                formAssignRight.StartPosition = FormStartPosition.CenterScreen;
                formAssignRight.Tag           = menuItem.Tag.ToString();
                formAssignRight.Show();
                break;

            default:

                break;
            }
        }
示例#3
0
        /// <summary>
        /// 打开Form窗体
        /// </summary>
        /// <param name="menuItem">菜单项的引用</param>
        /// <param name="form">要打开的窗体的引用</param>
        public void ShowForm(ToolStripMenuItem menuItem, Form form)
        {
            switch (menuItem.Tag.ToString())
            {
            case "111":    //存货类别

                FormBSInvenType invenType = new FormBSInvenType();
                invenType.MdiParent     = form;
                invenType.StartPosition = FormStartPosition.CenterScreen;
                invenType.Tag           = menuItem.Tag.ToString();
                invenType.Show();
                break;

            case "112":    //部门分类

                FormBSDepartment department = new FormBSDepartment();
                department.MdiParent     = form;
                department.StartPosition = FormStartPosition.CenterScreen;
                department.Tag           = menuItem.Tag.ToString();
                department.Show();
                break;

            case "113":    //费用类别

                FormBSCostType costType = new FormBSCostType();
                costType.MdiParent     = form;
                costType.StartPosition = FormStartPosition.CenterScreen;
                costType.Tag           = menuItem.Tag.ToString();
                costType.Show();
                break;

            case "121":    //存货档案

                FormBSInven inven = new FormBSInven();
                inven.MdiParent     = form;
                inven.StartPosition = FormStartPosition.CenterScreen;
                inven.Tag           = menuItem.Tag.ToString();
                inven.Show();
                break;

            case "122":    //供应商档案

                FormBSSupplier supplier = new FormBSSupplier();
                supplier.MdiParent     = form;
                supplier.StartPosition = FormStartPosition.CenterScreen;
                supplier.Tag           = menuItem.Tag.ToString();
                supplier.Show();
                break;

            case "123":    //客户档案

                FormBSCustomer customer = new FormBSCustomer();
                customer.MdiParent     = form;
                customer.StartPosition = FormStartPosition.CenterScreen;
                customer.Tag           = menuItem.Tag.ToString();
                customer.Show();
                break;

            case "124":    //费用档案

                FormBSCost cost = new FormBSCost();
                cost.MdiParent     = form;
                cost.StartPosition = FormStartPosition.CenterScreen;
                cost.Tag           = menuItem.Tag.ToString();
                cost.Show();
                break;

            case "125":    //仓库档案

                FormBSStore store = new FormBSStore();
                store.MdiParent     = form;
                store.StartPosition = FormStartPosition.CenterScreen;
                store.Tag           = menuItem.Tag.ToString();
                store.Show();
                break;

            case "126":    //员工档案

                FormBSEmployee employee = new FormBSEmployee();
                employee.MdiParent     = form;
                employee.StartPosition = FormStartPosition.CenterScreen;
                employee.Tag           = menuItem.Tag.ToString();
                employee.Show();
                break;

            case "130":    //结算账户

                FormBSAccount account = new FormBSAccount();
                account.MdiParent     = form;
                account.StartPosition = FormStartPosition.CenterScreen;
                account.Tag           = menuItem.Tag.ToString();
                account.Show();
                break;

            case "140":    //物料清单

                FormBSBom bom = new FormBSBom();
                bom.MdiParent     = form;
                bom.StartPosition = FormStartPosition.CenterScreen;
                bom.Tag           = menuItem.Tag.ToString();
                bom.Show();
                break;

            case "150":    //初始化库存

                FormInitStock initStock = new FormInitStock();
                initStock.MdiParent     = form;
                initStock.StartPosition = FormStartPosition.CenterScreen;
                initStock.Tag           = menuItem.Tag.ToString();
                initStock.Show();
                break;

            case "210":    //采购订单

                FormPUOrder puOrder = new FormPUOrder();
                puOrder.MdiParent     = form;
                puOrder.StartPosition = FormStartPosition.CenterScreen;
                puOrder.Tag           = menuItem.Tag.ToString();
                puOrder.Show();
                break;


            case "220":    //采购入库单

                FormPUInStore puInStore = new FormPUInStore();
                puInStore.MdiParent     = form;
                puInStore.StartPosition = FormStartPosition.CenterScreen;
                puInStore.Tag           = menuItem.Tag.ToString();
                puInStore.Show();
                break;

            case "230":    //采购付款单

                FormPUPay formPUPay = new FormPUPay();
                formPUPay.MdiParent     = form;
                formPUPay.StartPosition = FormStartPosition.CenterScreen;
                formPUPay.Tag           = menuItem.Tag.ToString();
                formPUPay.Show();
                break;

            case "310":    //销售订单

                FormSEOrder formSEOrder = new FormSEOrder();
                formSEOrder.MdiParent     = form;
                formSEOrder.StartPosition = FormStartPosition.CenterScreen;
                formSEOrder.Tag           = menuItem.Tag.ToString();
                formSEOrder.Show();
                break;

            case "320":    //销售出库单

                FormSEOutStore formSEOutStore = new FormSEOutStore();
                formSEOutStore.MdiParent     = form;
                formSEOutStore.StartPosition = FormStartPosition.CenterScreen;
                formSEOutStore.Tag           = menuItem.Tag.ToString();
                formSEOutStore.Show();
                break;

            case "330":    //销售收款单

                FormSEGather formSEGather = new FormSEGather();
                formSEGather.MdiParent     = form;
                formSEGather.StartPosition = FormStartPosition.CenterScreen;
                formSEGather.Tag           = menuItem.Tag.ToString();
                formSEGather.Show();
                break;

            case "410":    //领料单

                FormSTGetMaterial formSTGetMaterial = new FormSTGetMaterial();
                formSTGetMaterial.MdiParent     = form;
                formSTGetMaterial.StartPosition = FormStartPosition.CenterScreen;
                formSTGetMaterial.Tag           = menuItem.Tag.ToString();
                formSTGetMaterial.Show();
                break;

            case "420":    //退料单

                FormSTReturnMaterial formSTReturnMaterial = new FormSTReturnMaterial();
                formSTReturnMaterial.MdiParent     = form;
                formSTReturnMaterial.StartPosition = FormStartPosition.CenterScreen;
                formSTReturnMaterial.Tag           = menuItem.Tag.ToString();
                formSTReturnMaterial.Show();
                break;

            case "430":    //报损清单

                FormSTLoss formSTLoss = new FormSTLoss();
                formSTLoss.MdiParent     = form;
                formSTLoss.StartPosition = FormStartPosition.CenterScreen;
                formSTLoss.Tag           = menuItem.Tag.ToString();
                formSTLoss.Show();
                break;

            case "440":    //库存盘点

                FormSTCheck formSTCheck = new FormSTCheck();
                formSTCheck.MdiParent     = form;
                formSTCheck.StartPosition = FormStartPosition.CenterScreen;
                formSTCheck.Tag           = menuItem.Tag.ToString();
                formSTCheck.Show();
                break;

            case "450":    //库存清单

                FormStockQuery formStockQuery = new FormStockQuery();
                formStockQuery.MdiParent     = form;
                formStockQuery.StartPosition = FormStartPosition.CenterScreen;
                formStockQuery.Tag           = menuItem.Tag.ToString();
                formStockQuery.Show();
                break;

            case "510":    //主生成计划

                FormPRPlan formPRPlan = new FormPRPlan();
                formPRPlan.MdiParent     = form;
                formPRPlan.StartPosition = FormStartPosition.CenterScreen;
                formPRPlan.Tag           = menuItem.Tag.ToString();
                formPRPlan.Show();
                break;

            case "520":    //生产单

                FormPRProduce formPRProduce = new FormPRProduce();
                formPRProduce.MdiParent     = form;
                formPRProduce.StartPosition = FormStartPosition.CenterScreen;
                formPRProduce.Tag           = menuItem.Tag.ToString();
                formPRProduce.Show();
                break;

            case "530":    //生产完工处理

                FormProduceComplete formProduceComplete = new FormProduceComplete();
                formProduceComplete.MdiParent     = form;
                formProduceComplete.StartPosition = FormStartPosition.CenterScreen;
                formProduceComplete.Tag           = menuItem.Tag.ToString();
                formProduceComplete.Show();
                break;

            case "540":    //生产入库单

                FormPRInStore formPRInStore = new FormPRInStore();
                formPRInStore.MdiParent     = form;
                formPRInStore.StartPosition = FormStartPosition.CenterScreen;
                formPRInStore.Tag           = menuItem.Tag.ToString();
                formPRInStore.Show();
                break;

            case "610":    //客户进程

                FormCustomerCourse formCustomerCourse = new FormCustomerCourse();
                formCustomerCourse.MdiParent     = form;
                formCustomerCourse.StartPosition = FormStartPosition.CenterScreen;
                formCustomerCourse.Tag           = menuItem.Tag.ToString();
                formCustomerCourse.Show();
                break;

            case "620":    //客户基础分类

                FormBaseType formBaseType = new FormBaseType();
                formBaseType.MdiParent     = form;
                formBaseType.StartPosition = FormStartPosition.CenterScreen;
                formBaseType.Tag           = menuItem.Tag.ToString();
                formBaseType.Show();
                break;

            case "630":    //类型分析

                FormCustomerAnalyse formCustomerAnalyse = new FormCustomerAnalyse();
                formCustomerAnalyse.MdiParent     = form;
                formCustomerAnalyse.StartPosition = FormStartPosition.CenterScreen;
                formCustomerAnalyse.Tag           = menuItem.Tag.ToString();
                formCustomerAnalyse.Show();
                break;

            case "710":    //银行存取款单

                FormFIDeposit formFIDeposit = new FormFIDeposit();
                formFIDeposit.MdiParent     = form;
                formFIDeposit.StartPosition = FormStartPosition.CenterScreen;
                formFIDeposit.Tag           = menuItem.Tag.ToString();
                formFIDeposit.Show();
                break;

            case "720":    //采购费用单

                FormFIPurCost formFIPurCost = new FormFIPurCost();
                formFIPurCost.MdiParent     = form;
                formFIPurCost.StartPosition = FormStartPosition.CenterScreen;
                formFIPurCost.Tag           = menuItem.Tag.ToString();
                formFIPurCost.Show();
                break;

            case "730":    //销售费用单

                FormFISelCost formFISelCost = new FormFISelCost();
                formFISelCost.MdiParent     = form;
                formFISelCost.StartPosition = FormStartPosition.CenterScreen;
                formFISelCost.Tag           = menuItem.Tag.ToString();
                formFISelCost.Show();
                break;

            case "810":    //原材料采购明细表

                FormPurReport formPurReport = new FormPurReport();
                formPurReport.MdiParent     = form;
                formPurReport.StartPosition = FormStartPosition.CenterScreen;
                formPurReport.Tag           = menuItem.Tag.ToString();
                formPurReport.Show();
                break;

            case "820":    //原材料采购汇总表

                FormPurCollectReport formPurCollectReport = new FormPurCollectReport();
                formPurCollectReport.MdiParent     = form;
                formPurCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formPurCollectReport.Tag           = menuItem.Tag.ToString();
                formPurCollectReport.Show();
                break;

            case "830":    //产品销售明细表

                FormSelReport formSelReport = new FormSelReport();
                formSelReport.MdiParent     = form;
                formSelReport.StartPosition = FormStartPosition.CenterScreen;
                formSelReport.Tag           = menuItem.Tag.ToString();
                formSelReport.Show();
                break;

            case "840":    //产品销售汇总表

                FormSelCollectReport formSelCollectReport = new FormSelCollectReport();
                formSelCollectReport.MdiParent     = form;
                formSelCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formSelCollectReport.Tag           = menuItem.Tag.ToString();
                formSelCollectReport.Show();
                break;

            case "850":    //产品销售毛利明细表

                FormSelProfitReport formSelProfitReport = new FormSelProfitReport();
                formSelProfitReport.MdiParent     = form;
                formSelProfitReport.StartPosition = FormStartPosition.CenterScreen;
                formSelProfitReport.Tag           = menuItem.Tag.ToString();
                formSelProfitReport.Show();
                break;


            case "860":    //产品销售毛利汇总表

                FormSelProfitCollectReport formSelProfitCollectReport = new FormSelProfitCollectReport();
                formSelProfitCollectReport.MdiParent     = form;
                formSelProfitCollectReport.StartPosition = FormStartPosition.CenterScreen;
                formSelProfitCollectReport.Tag           = menuItem.Tag.ToString();
                formSelProfitCollectReport.Show();
                break;

            case "870":    //存货库存报警明细表

                FormStockWarnReport formStockWarnReport = new FormStockWarnReport();
                formStockWarnReport.MdiParent     = form;
                formStockWarnReport.StartPosition = FormStartPosition.CenterScreen;
                formStockWarnReport.Tag           = menuItem.Tag.ToString();
                formStockWarnReport.Show();
                break;

            case "910":    //操作员管理

                FormSYOperator formSYOperator = new FormSYOperator();
                formSYOperator.MdiParent     = form;
                formSYOperator.StartPosition = FormStartPosition.CenterScreen;
                formSYOperator.Tag           = menuItem.Tag.ToString();
                formSYOperator.Show();
                break;

            case "920":    //密码修改

                FormPassWord formPassWord = new FormPassWord();
                formPassWord.MdiParent     = form;
                formPassWord.StartPosition = FormStartPosition.CenterScreen;
                formPassWord.Tag           = menuItem.Tag.ToString();
                formPassWord.Show();
                break;

            case "930":    //操作权限

                FormAssignRight formAssignRight = new FormAssignRight();
                formAssignRight.MdiParent     = form;
                formAssignRight.StartPosition = FormStartPosition.CenterScreen;
                formAssignRight.Tag           = menuItem.Tag.ToString();
                formAssignRight.Show();
                break;

            default:

                break;
            }
        }