33
jinghuanzhang
2023-04-05 d9d128f6c823954edcdefc3af81d6bca0b3c6bb6
NETSCM/ClsShowMod.cs
@@ -3473,6 +3473,13 @@
            {
                switch (gnsy.ToLower())
                {
                    case "kf_sendconfirmationbilllist":
                        //权限
                        Kf_SendConfirmationBillList oKf_SendConfirmationBillList = new Kf_SendConfirmationBillList();
                        oKf_SendConfirmationBillList.MdiParent = oMain;
                        oKf_SendConfirmationBillList.Show();
                        oMainForm.AddTabPage(oKf_SendConfirmationBillList);
                        break;
                    case "kf_ponderationbillmain_icmoreportreport":
                        KF_PonderationBillMain_ICMOReportReport oKF_PonderationBillMain_ICMOReportReport = new KF_PonderationBillMain_ICMOReportReport();
                        oKF_PonderationBillMain_ICMOReportReport.MdiParent = oMain;
@@ -3576,12 +3583,11 @@
                        oSc_ICMOReportBillList.Show();
                        oMainForm.AddTabPage(oSc_ICMOReportBillList);
                        break;
                    //case "cld_icmolist":
                    //    CLD_ICMOList oCLD_ICMOList = new CLD_ICMOList();
                    //    oCLD_ICMOList.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //    oCLD_ICMOList.ModCaption = gnmc;
                    //    oCLD_ICMOList.ShowDialog();
                    //    break;
                    case "frmprintlabel":
                        FrmPrintLabel oFrmPrintLabel = new FrmPrintLabel();
                        //oFrmPrintLabel.ModCaption = gnmc;
                        oFrmPrintLabel.ShowDialog();
                        break;
                    //case "sc_processreport":
                    //    Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
                    //    oSc_ProcessReport.MdiParent = oMain;
@@ -3657,324 +3663,331 @@
                        oKf_SellOutReturnedReport.Show();
                        oMainForm.AddTabPage(oKf_SellOutReturnedReport);
                        break;
        //
        //            case "sc_assemblybilllist":
        //                //权限
        //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
        //                oSc_AssemblyBillList.MdiParent = oMain;
        //                oSc_AssemblyBillList.Show();
        //                oMainForm.AddTabPage(oSc_AssemblyBillList);
        //                break;
        //            case "sc_assemblybill":
        //                //
        //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
        //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_AssemblyBill.ShowDialog();
        //                break;
        //            //==========================================================
                    case "kf_hd_inventoryreport":
                        //权限
                        KF_HD_INVENTORYReport oKF_HD_INVENTORYReport = new KF_HD_INVENTORYReport();
                        oKF_HD_INVENTORYReport.MdiParent = oMain;
                        oKF_HD_INVENTORYReport.Show();
                        oMainForm.AddTabPage(oKF_HD_INVENTORYReport);
                        break;
                    //
                    //            case "sc_assemblybilllist":
                    //                //权限
                    //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
                    //                oSc_AssemblyBillList.MdiParent = oMain;
                    //                oSc_AssemblyBillList.Show();
                    //                oMainForm.AddTabPage(oSc_AssemblyBillList);
                    //                break;
                    //            case "sc_assemblybill":
                    //                //
                    //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
                    //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_AssemblyBill.ShowDialog();
                    //                break;
        //            case "kf_virtualstockoutbill":
        //                Kf_VirtualStockOutBill oKf_VirtualStockOutBill = new Kf_VirtualStockOutBill();
        //                oKf_VirtualStockOutBill.MdiParent = oMain;
        //                oKf_VirtualStockOutBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBill);
        //                break;
        //            case "kf_virtualstockoutbilllist":
        //                Kf_VirtualStockOutBillList oKf_VirtualStockOutBillList = new Kf_VirtualStockOutBillList();
        //                oKf_VirtualStockOutBillList.MdiParent = oMain;
        //                oKf_VirtualStockOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList);
        //                break;
        //            case "kf_virtualstockoutbillquery":
        //                Kf_VirtualStockOutBillQuery oKf_VirtualStockOutBillQuery = new Kf_VirtualStockOutBillQuery();
        //                oKf_VirtualStockOutBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockOutBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery);
        //                break;
        //            case "kf_virtualstockinbill":
        //                Kf_VirtualStockInBill oKf_VirtualStockInBill = new Kf_VirtualStockInBill();
        //                oKf_VirtualStockInBill.MdiParent = oMain;
        //                oKf_VirtualStockInBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBill);
        //                break;
        //            case "kf_virtualstockinbilllist":
        //                Kf_VirtualStockInBillList oKf_VirtualStockInBillList = new Kf_VirtualStockInBillList();
        //                oKf_VirtualStockInBillList.MdiParent = oMain;
        //                oKf_VirtualStockInBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillList);
        //                break;
        //            case "kf_virtualstockinbillquery":
        //                Kf_VirtualStockInBillQuery oKf_VirtualStockInBillQuery = new Kf_VirtualStockInBillQuery();
        //                oKf_VirtualStockInBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockInBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery);
        //                break;
        //            case "kf_virtualstockmovebill":
        //                Kf_VirtualStockMoveBill oKf_VirtualStockMoveBill = new Kf_VirtualStockMoveBill();
        //                oKf_VirtualStockMoveBill.MdiParent = oMain;
        //                oKf_VirtualStockMoveBill.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBill);
        //                break;
        //            case "kf_virtualstockmovebilllist":
        //                Kf_VirtualStockMoveBillList oKf_VirtualStockMoveBillList = new Kf_VirtualStockMoveBillList();
        //                oKf_VirtualStockMoveBillList.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillList.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList);
        //                break;
        //            case "kf_virtualstockmovebillquery":
        //                Kf_VirtualStockMoveBillQuery oKf_VirtualStockMoveBillQuery = new Kf_VirtualStockMoveBillQuery();
        //                oKf_VirtualStockMoveBillQuery.MdiParent = oMain;
        //                oKf_VirtualStockMoveBillQuery.Show();
        //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery);
        //                break;
                    //            //==========================================================
                    //            case "kf_virtualstockoutbill":
                    //                Kf_VirtualStockOutBill oKf_VirtualStockOutBill = new Kf_VirtualStockOutBill();
                    //                oKf_VirtualStockOutBill.MdiParent = oMain;
                    //                oKf_VirtualStockOutBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBill);
                    //                break;
                    //            case "kf_virtualstockoutbilllist":
                    //                Kf_VirtualStockOutBillList oKf_VirtualStockOutBillList = new Kf_VirtualStockOutBillList();
                    //                oKf_VirtualStockOutBillList.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillList);
                    //                break;
                    //            case "kf_virtualstockoutbillquery":
                    //                Kf_VirtualStockOutBillQuery oKf_VirtualStockOutBillQuery = new Kf_VirtualStockOutBillQuery();
                    //                oKf_VirtualStockOutBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockOutBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockOutBillQuery);
                    //                break;
                    //            case "kf_virtualstockinbill":
                    //                Kf_VirtualStockInBill oKf_VirtualStockInBill = new Kf_VirtualStockInBill();
                    //                oKf_VirtualStockInBill.MdiParent = oMain;
                    //                oKf_VirtualStockInBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBill);
                    //                break;
                    //            case "kf_virtualstockinbilllist":
                    //                Kf_VirtualStockInBillList oKf_VirtualStockInBillList = new Kf_VirtualStockInBillList();
                    //                oKf_VirtualStockInBillList.MdiParent = oMain;
                    //                oKf_VirtualStockInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillList);
                    //                break;
                    //            case "kf_virtualstockinbillquery":
                    //                Kf_VirtualStockInBillQuery oKf_VirtualStockInBillQuery = new Kf_VirtualStockInBillQuery();
                    //                oKf_VirtualStockInBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockInBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockInBillQuery);
                    //                break;
                    //            case "kf_virtualstockmovebill":
                    //                Kf_VirtualStockMoveBill oKf_VirtualStockMoveBill = new Kf_VirtualStockMoveBill();
                    //                oKf_VirtualStockMoveBill.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBill.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBill);
                    //                break;
                    //            case "kf_virtualstockmovebilllist":
                    //                Kf_VirtualStockMoveBillList oKf_VirtualStockMoveBillList = new Kf_VirtualStockMoveBillList();
                    //                oKf_VirtualStockMoveBillList.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillList.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillList);
                    //                break;
                    //            case "kf_virtualstockmovebillquery":
                    //                Kf_VirtualStockMoveBillQuery oKf_VirtualStockMoveBillQuery = new Kf_VirtualStockMoveBillQuery();
                    //                oKf_VirtualStockMoveBillQuery.MdiParent = oMain;
                    //                oKf_VirtualStockMoveBillQuery.Show();
                    //                oMainForm.AddTabPage(oKf_VirtualStockMoveBillQuery);
                    //                break;
        //            case "kf_inceptentinbill":
        //                //
        //                Kf_InceptEntInBill oKf_InceptEntInBill = new Kf_InceptEntInBill();
        //                oKf_InceptEntInBill.ShowDialog();
        //                break;
        //            case "kf_inceptentoutbilllist":
        //                //权限
        //                Kf_InceptEntOutBillList oKf_InceptEntOutBillList = new Kf_InceptEntOutBillList();
        //                oKf_InceptEntOutBillList.MdiParent = oMain;
        //                oKf_InceptEntOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_InceptEntOutBillList);
        //                break;
        //            case "kf_inceptentinbilllist":
        //                //权限
        //                Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
        //                oKf_InceptEntInBillList.MdiParent = oMain;
        //                oKf_InceptEntInBillList.Show();
        //                oMainForm.AddTabPage(oKf_InceptEntInBillList);
        //                break;
        //            case "kf_inceptentoutbill":
        //                //
        //                Kf_InceptEntOutBill oKf_InceptEntOutBill = new Kf_InceptEntOutBill();
        //                oKf_InceptEntOutBill.ShowDialog();
        ////                break;
        //            case "kf_entrustinbilllist":
        //                //权限
        //                Kf_EntrustInBillList oKf_EntrustInBillList = new Kf_EntrustInBillList();
        //                oKf_EntrustInBillList.MdiParent = oMain;
        //                oKf_EntrustInBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustInBillList);
        //                break;
        //            case "kf_entrustinbill":
        //                //
        //                Kf_EntrustInBill oKf_EntrustInBill = new Kf_EntrustInBill();
        //                oKf_EntrustInBill.ShowDialog();
        //                break;
                    //            case "kf_inceptentinbill":
                    //                //
                    //                Kf_InceptEntInBill oKf_InceptEntInBill = new Kf_InceptEntInBill();
                    //                oKf_InceptEntInBill.ShowDialog();
                    //                break;
                    //            case "kf_inceptentoutbilllist":
                    //                //权限
                    //                Kf_InceptEntOutBillList oKf_InceptEntOutBillList = new Kf_InceptEntOutBillList();
                    //                oKf_InceptEntOutBillList.MdiParent = oMain;
                    //                oKf_InceptEntOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_InceptEntOutBillList);
                    //                break;
                    //            case "kf_inceptentinbilllist":
                    //                //权限
                    //                Kf_InceptEntInBillList oKf_InceptEntInBillList = new Kf_InceptEntInBillList();
                    //                oKf_InceptEntInBillList.MdiParent = oMain;
                    //                oKf_InceptEntInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_InceptEntInBillList);
                    //                break;
                    //            case "kf_inceptentoutbill":
                    //                //
                    //                Kf_InceptEntOutBill oKf_InceptEntOutBill = new Kf_InceptEntOutBill();
                    //                oKf_InceptEntOutBill.ShowDialog();
                    ////                break;
        //            case "kf_entrustoutbilllist":
        //                //权限
        //                Kf_EntrustOutBillList oKf_EntrustOutBillList = new Kf_EntrustOutBillList();
        //                oKf_EntrustOutBillList.MdiParent = oMain;
        //                oKf_EntrustOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustOutBillList);
        //                break;
        //            case "kf_entrustoutbill":
        //                //
        //                Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
        //                oKf_EntrustOutBill.ShowDialog();
        //                break;
                    //            case "kf_entrustinbilllist":
                    //                //权限
                    //                Kf_EntrustInBillList oKf_EntrustInBillList = new Kf_EntrustInBillList();
                    //                oKf_EntrustInBillList.MdiParent = oMain;
                    //                oKf_EntrustInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustInBillList);
                    //                break;
                    //            case "kf_entrustinbill":
                    //                //
                    //                Kf_EntrustInBill oKf_EntrustInBill = new Kf_EntrustInBill();
                    //                oKf_EntrustInBill.ShowDialog();
                    //                break;
        //            case "kf_selloutbilllist":
        //                //权限
        //                Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
        //                oKf_SellOutBillList.MdiParent = oMain;
        //                oKf_SellOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_SellOutBillList);
        //                break;
        //            case "kf_selloutbill":
        //                //
        //                Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
        //                oKf_SellOutBill.ShowDialog();
        //                break;
        //            case "kf_mateoutbilllist":
        //                //权限
        //                Kf_MateOutBillList oKf_MateOutBillList = new Kf_MateOutBillList();
        //                oKf_MateOutBillList.MdiParent = oMain;
        //                oKf_MateOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_MateOutBillList);
        //                break;
        //            case "kf_mateoutbill":
        //                //
        //                Kf_MateOutBill oKf_MateOutBill = new Kf_MateOutBill();
        //                oKf_MateOutBill.ShowDialog();
        //                break;
        //            case "kf_productinbilllist":
        //                //权限
        //                Kf_ProductInBillList oKf_ProductInBillList = new Kf_ProductInBillList();
        //                oKf_ProductInBillList.MdiParent = oMain;
        //                oKf_ProductInBillList.Show();
        //                oMainForm.AddTabPage(oKf_ProductInBillList);
        //                break;
        //            case "kf_productinbill":
        //                //
        //                Kf_ProductInBill oKf_ProductInBill = new Kf_ProductInBill();
        //                oKf_ProductInBill.ShowDialog();
        //                break;
        //            case "kf_postockinbilllist":
        //                //权限
        //                Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
        //                oKf_POStockInBillList.MdiParent = oMain;
        //                oKf_POStockInBillList.Show();
        //                oMainForm.AddTabPage(oKf_POStockInBillList);
        //                break;
        //            case "kf_postockinbill":
        //                //
        //                Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
        //                oKf_POStockInBill.ShowDialog();
        //                break;
        //            case "kf_otherinbilllist":
        //                //权限
        //                Kf_OtherInBillList oKf_OtherInBillList = new Kf_OtherInBillList();
        //                oKf_OtherInBillList.MdiParent = oMain;
        //                oKf_OtherInBillList.Show();
        //                oMainForm.AddTabPage(oKf_OtherInBillList);
        //                break;
        //            case "kf_otherinbill":
        //                //
        //                Kf_OtherInBill oKf_OtherInBill = new Kf_OtherInBill();
        //                oKf_OtherInBill.ShowDialog();
        //                break;
        //            case "kf_otheroutbilllist":
        //                //权限
        //                Kf_OtherOutBillList oKf_OtherOutBillList = new Kf_OtherOutBillList();
        //                oKf_OtherOutBillList.MdiParent = oMain;
        //                oKf_OtherOutBillList.Show();
        //                oMainForm.AddTabPage(oKf_OtherOutBillList);
        //                break;
        //            case "kf_otheroutbill":
        //                //
        //                Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill();
        //                oKf_OtherOutBill.ShowDialog();
        //                break;
        //            case "kf_movestockbilllist":
        //                //权限
        //                Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList();
        //                oKf_MoveStockBillList.MdiParent = oMain;
        //                oKf_MoveStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_MoveStockBillList);
        //                break;
        //            case "kf_movestockbill":
        //                //
        //                Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill();
        //                oKf_MoveStockBill.ShowDialog();
        //                break;
        //            case "kf_checkstockbilllist":
        //                //权限
        //                Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList();
        //                oKf_CheckStockBillList.MdiParent = oMain;
        //                oKf_CheckStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_CheckStockBillList);
        //                break;
        //            case "kf_checkstockbill":
        //                //
        //                Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
        //                oKf_CheckStockBill.ShowDialog();
        //                break;
                    //            case "kf_entrustoutbilllist":
                    //                //权限
                    //                Kf_EntrustOutBillList oKf_EntrustOutBillList = new Kf_EntrustOutBillList();
                    //                oKf_EntrustOutBillList.MdiParent = oMain;
                    //                oKf_EntrustOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustOutBillList);
                    //                break;
                    //            case "kf_entrustoutbill":
                    //                //
                    //                Kf_EntrustOutBill oKf_EntrustOutBill = new Kf_EntrustOutBill();
                    //                oKf_EntrustOutBill.ShowDialog();
                    //                break;
        //            case "kf_entrustcheckstockbilllist":
        //                //权限
        //                Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList();
        //                oKf_EntrustCheckStockBillList.MdiParent = oMain;
        //                oKf_EntrustCheckStockBillList.Show();
        //                oMainForm.AddTabPage(oKf_EntrustCheckStockBillList);
        //                break;
        //            case "kf_entrustcheckstockbill":
        //                //
        //                Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill();
        //                oKf_EntrustCheckStockBill.ShowDialog();
        //                break;
                    //            case "kf_selloutbilllist":
                    //                //权限
                    //                Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList();
                    //                oKf_SellOutBillList.MdiParent = oMain;
                    //                oKf_SellOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_SellOutBillList);
                    //                break;
                    //            case "kf_selloutbill":
                    //                //
                    //                Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill();
                    //                oKf_SellOutBill.ShowDialog();
                    //                break;
                    //            case "kf_mateoutbilllist":
                    //                //权限
                    //                Kf_MateOutBillList oKf_MateOutBillList = new Kf_MateOutBillList();
                    //                oKf_MateOutBillList.MdiParent = oMain;
                    //                oKf_MateOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutBillList);
                    //                break;
                    //            case "kf_mateoutbill":
                    //                //
                    //                Kf_MateOutBill oKf_MateOutBill = new Kf_MateOutBill();
                    //                oKf_MateOutBill.ShowDialog();
                    //                break;
                    //            case "kf_productinbilllist":
                    //                //权限
                    //                Kf_ProductInBillList oKf_ProductInBillList = new Kf_ProductInBillList();
                    //                oKf_ProductInBillList.MdiParent = oMain;
                    //                oKf_ProductInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_ProductInBillList);
                    //                break;
                    //            case "kf_productinbill":
                    //                //
                    //                Kf_ProductInBill oKf_ProductInBill = new Kf_ProductInBill();
                    //                oKf_ProductInBill.ShowDialog();
                    //                break;
                    //            case "kf_postockinbilllist":
                    //                //权限
                    //                Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList();
                    //                oKf_POStockInBillList.MdiParent = oMain;
                    //                oKf_POStockInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_POStockInBillList);
                    //                break;
                    //            case "kf_postockinbill":
                    //                //
                    //                Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill();
                    //                oKf_POStockInBill.ShowDialog();
                    //                break;
                    //            case "kf_otherinbilllist":
                    //                //权限
                    //                Kf_OtherInBillList oKf_OtherInBillList = new Kf_OtherInBillList();
                    //                oKf_OtherInBillList.MdiParent = oMain;
                    //                oKf_OtherInBillList.Show();
                    //                oMainForm.AddTabPage(oKf_OtherInBillList);
                    //                break;
                    //            case "kf_otherinbill":
                    //                //
                    //                Kf_OtherInBill oKf_OtherInBill = new Kf_OtherInBill();
                    //                oKf_OtherInBill.ShowDialog();
                    //                break;
                    //            case "kf_otheroutbilllist":
                    //                //权限
                    //                Kf_OtherOutBillList oKf_OtherOutBillList = new Kf_OtherOutBillList();
                    //                oKf_OtherOutBillList.MdiParent = oMain;
                    //                oKf_OtherOutBillList.Show();
                    //                oMainForm.AddTabPage(oKf_OtherOutBillList);
                    //                break;
                    //            case "kf_otheroutbill":
                    //                //
                    //                Kf_OtherOutBill oKf_OtherOutBill = new Kf_OtherOutBill();
                    //                oKf_OtherOutBill.ShowDialog();
                    //                break;
                    //            case "kf_movestockbilllist":
                    //                //权限
                    //                Kf_MoveStockBillList oKf_MoveStockBillList = new Kf_MoveStockBillList();
                    //                oKf_MoveStockBillList.MdiParent = oMain;
                    //                oKf_MoveStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_MoveStockBillList);
                    //                break;
                    //            case "kf_movestockbill":
                    //                //
                    //                Kf_MoveStockBill oKf_MoveStockBill = new Kf_MoveStockBill();
                    //                oKf_MoveStockBill.ShowDialog();
                    //                break;
                    //            case "kf_checkstockbilllist":
                    //                //权限
                    //                Kf_CheckStockBillList oKf_CheckStockBillList = new Kf_CheckStockBillList();
                    //                oKf_CheckStockBillList.MdiParent = oMain;
                    //                oKf_CheckStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_CheckStockBillList);
                    //                break;
                    //            case "kf_checkstockbill":
                    //                //
                    //                Kf_CheckStockBill oKf_CheckStockBill = new Kf_CheckStockBill();
                    //                oKf_CheckStockBill.ShowDialog();
                    //                break;
        //            case "kf_mateoutrequestbilllist":
        //                //权限
        //                Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList();
        //                oKf_MateOutRequestBillList.MdiParent = oMain;
        //                oKf_MateOutRequestBillList.Show();
        //                oMainForm.AddTabPage(oKf_MateOutRequestBillList);
        //                break;
        //            case "kf_mateoutrequestbill":
        //                //
        //                Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill();
        //                oKf_MateOutRequestBill.ShowDialog();
        //                break;
        //            //===================================报表分析
        //            case "sc_queryreadyrptnoinstockreport":
        //                //权限
        //                WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport();
        //                oSc_QueryReadyRptNoInStockReport.MdiParent = oMain;
        //                oSc_QueryReadyRptNoInStockReport.Show();
        //                oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport);
        //                break;
        //            case "kf_barcodeoutinreport":
        //                //权限
        //                WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport();
        //                oKf_BarCodeOutInReport.MdiParent = oMain;
        //                oKf_BarCodeOutInReport.Show();
        //                oMainForm.AddTabPage(oKf_BarCodeOutInReport);
        //                break;
        //            case "kf_icinventory_barcode":
        //                //权限
        //                WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode();
        //                oKf_ICInventory_BarCode.MdiParent = oMain;
        //                oKf_ICInventory_BarCode.Show();
        //                oMainForm.AddTabPage(oKf_ICInventory_BarCode);
        //                break;
        //            case "kf_icinventorylist":
        //                //权限
        //                WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList();
        //                oKF_ICInventoryList.MdiParent = oMain;
        //                oKF_ICInventoryList.Show();
        //                oMainForm.AddTabPage(oKF_ICInventoryList);
        //                break;
        //            case "kf_mateoutinbookreport":
        //                //权限
        //                Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport();
        //                oKf_MateOutInBookReport.MdiParent = oMain;
        //                oKf_MateOutInBookReport.Show();
        //                oMainForm.AddTabPage(oKf_MateOutInBookReport);
        //                break;
        //            case "kf_mateoutsumreport":
        //                //权限
        //                Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
        //                oKf_MateOutSumReport.MdiParent = oMain;
        //                oKf_MateOutSumReport.Show();
        //                oMainForm.AddTabPage(oKf_MateOutSumReport);
        //                break;
        //            case "kf_matestockaccount":
        //                //权限
        //                Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount();
        //                oKf_MateStockAccount.MdiParent = oMain;
        //                oKf_MateStockAccount.Show();
        //                oMainForm.AddTabPage(oKf_MateStockAccount);
        //                break;
        //            case "kf_pstockinoutreport":
        //                //权限
        //                Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport();
        //                oKf_PStockInOutReport.MdiParent = oMain;
        //                oKf_PStockInOutReport.Show();
        //                oMainForm.AddTabPage(oKf_PStockInOutReport);
        //                break;
        //            case "kf_pstockinoutsumreport":
        //                //权限
        //                Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport();
        //                oKf_PStockInOutSumReport.MdiParent = oMain;
        //                oKf_PStockInOutSumReport.Show();
        //                oMainForm.AddTabPage(oKf_PStockInOutSumReport);
        //                break;
        //            case "kf_safestockreport":
        //                //权限
        //                Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport();
        //                oKf_SafeStockReport.MdiParent = oMain;
        //                oKf_SafeStockReport.Show();
        //                oMainForm.AddTabPage(oKf_SafeStockReport);
        //                break;
                    //            case "kf_entrustcheckstockbilllist":
                    //                //权限
                    //                Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList();
                    //                oKf_EntrustCheckStockBillList.MdiParent = oMain;
                    //                oKf_EntrustCheckStockBillList.Show();
                    //                oMainForm.AddTabPage(oKf_EntrustCheckStockBillList);
                    //                break;
                    //            case "kf_entrustcheckstockbill":
                    //                //
                    //                Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill();
                    //                oKf_EntrustCheckStockBill.ShowDialog();
                    //                break;
                    //            case "kf_mateoutrequestbilllist":
                    //                //权限
                    //                Kf_MateOutRequestBillList oKf_MateOutRequestBillList = new Kf_MateOutRequestBillList();
                    //                oKf_MateOutRequestBillList.MdiParent = oMain;
                    //                oKf_MateOutRequestBillList.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutRequestBillList);
                    //                break;
                    //            case "kf_mateoutrequestbill":
                    //                //
                    //                Kf_MateOutRequestBill oKf_MateOutRequestBill = new Kf_MateOutRequestBill();
                    //                oKf_MateOutRequestBill.ShowDialog();
                    //                break;
                    //            //===================================报表分析
                    //            case "sc_queryreadyrptnoinstockreport":
                    //                //权限
                    //                WarM.Sc_QueryReadyRptNoInStockReport oSc_QueryReadyRptNoInStockReport = new WarM.Sc_QueryReadyRptNoInStockReport();
                    //                oSc_QueryReadyRptNoInStockReport.MdiParent = oMain;
                    //                oSc_QueryReadyRptNoInStockReport.Show();
                    //                oMainForm.AddTabPage(oSc_QueryReadyRptNoInStockReport);
                    //                break;
                    //            case "kf_barcodeoutinreport":
                    //                //权限
                    //                WarM.Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new WarM.Kf_BarCodeOutInReport();
                    //                oKf_BarCodeOutInReport.MdiParent = oMain;
                    //                oKf_BarCodeOutInReport.Show();
                    //                oMainForm.AddTabPage(oKf_BarCodeOutInReport);
                    //                break;
                    //            case "kf_icinventory_barcode":
                    //                //权限
                    //                WarM.Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new WarM.Kf_ICInventory_BarCode();
                    //                oKf_ICInventory_BarCode.MdiParent = oMain;
                    //                oKf_ICInventory_BarCode.Show();
                    //                oMainForm.AddTabPage(oKf_ICInventory_BarCode);
                    //                break;
                    //            case "kf_icinventorylist":
                    //                //权限
                    //                WarM.KF_ICInventoryList oKF_ICInventoryList = new WarM.KF_ICInventoryList();
                    //                oKF_ICInventoryList.MdiParent = oMain;
                    //                oKF_ICInventoryList.Show();
                    //                oMainForm.AddTabPage(oKF_ICInventoryList);
                    //                break;
                    //            case "kf_mateoutinbookreport":
                    //                //权限
                    //                Kf_MateOutInBookReport oKf_MateOutInBookReport = new Kf_MateOutInBookReport();
                    //                oKf_MateOutInBookReport.MdiParent = oMain;
                    //                oKf_MateOutInBookReport.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutInBookReport);
                    //                break;
                    //            case "kf_mateoutsumreport":
                    //                //权限
                    //                Kf_MateOutSumReport oKf_MateOutSumReport = new Kf_MateOutSumReport();
                    //                oKf_MateOutSumReport.MdiParent = oMain;
                    //                oKf_MateOutSumReport.Show();
                    //                oMainForm.AddTabPage(oKf_MateOutSumReport);
                    //                break;
                    //            case "kf_matestockaccount":
                    //                //权限
                    //                Kf_MateStockAccount oKf_MateStockAccount = new Kf_MateStockAccount();
                    //                oKf_MateStockAccount.MdiParent = oMain;
                    //                oKf_MateStockAccount.Show();
                    //                oMainForm.AddTabPage(oKf_MateStockAccount);
                    //                break;
                    //            case "kf_pstockinoutreport":
                    //                //权限
                    //                Kf_PStockInOutReport oKf_PStockInOutReport = new Kf_PStockInOutReport();
                    //                oKf_PStockInOutReport.MdiParent = oMain;
                    //                oKf_PStockInOutReport.Show();
                    //                oMainForm.AddTabPage(oKf_PStockInOutReport);
                    //                break;
                    //            case "kf_pstockinoutsumreport":
                    //                //权限
                    //                Kf_PStockInOutSumReport oKf_PStockInOutSumReport = new Kf_PStockInOutSumReport();
                    //                oKf_PStockInOutSumReport.MdiParent = oMain;
                    //                oKf_PStockInOutSumReport.Show();
                    //                oMainForm.AddTabPage(oKf_PStockInOutSumReport);
                    //                break;
                    //            case "kf_safestockreport":
                    //                //权限
                    //                Kf_SafeStockReport oKf_SafeStockReport = new Kf_SafeStockReport();
                    //                oKf_SafeStockReport.MdiParent = oMain;
                    //                oKf_SafeStockReport.Show();
                    //                oMainForm.AddTabPage(oKf_SafeStockReport);
                    //                break;
                    default:
                        break;
                }
@@ -6480,217 +6493,217 @@
                        oGy_CusNumberRelationList.Show();
                        oMainForm.AddTabPage(oGy_CusNumberRelationList);
                        break;
        //            case "gy_mouldware":
        //                //权限
        //                Gy_MouldWare oGy_MouldWare = new Gy_MouldWare();
        //                oGy_MouldWare.MdiParent = oMain;
        //                oGy_MouldWare.Show();
        //                oMainForm.AddTabPage(oGy_MouldWare);
        //                break;
        //            case "gy_technologyparameter":
        //                Gy_TechnologyParameter oGy_TechnologyParameter = new Gy_TechnologyParameter();
        //                oGy_TechnologyParameter.MdiParent = oMain;
        //                oGy_TechnologyParameter.Show();
        //                oMainForm.AddTabPage(oGy_TechnologyParameter);
        //                break;
        //            case "gy_technologyparameterunit":
        //                Gy_TechnologyParameterUnit oGy_TechnologyParameterUnit = new Gy_TechnologyParameterUnit();
        //                oGy_TechnologyParameterUnit.MdiParent = oMain;
        //                oGy_TechnologyParameterUnit.Show();
        //                oMainForm.AddTabPage(oGy_TechnologyParameterUnit);
        //                break;
        //            case "gy_techparambyproc":
        //                Gy_TechParamByProc oGy_TechParamByProc = new Gy_TechParamByProc();
        //                oGy_TechParamByProc.MdiParent = oMain;
        //                oGy_TechParamByProc.Show();
        //                oMainForm.AddTabPage(oGy_TechParamByProc);
        //                break;
        //            case "gy_techparambyproclist":
        //                Gy_TechParamByProcList oGy_TechParamByProcList = new Gy_TechParamByProcList();
        //                oGy_TechParamByProcList.MdiParent = oMain;
        //                oGy_TechParamByProcList.Show();
        //                oMainForm.AddTabPage(oGy_TechParamByProcList);
        //                break;
        //            case "gy_virtualwarehouse":
        //                Gy_VirtualWarehouse oGy_VirtualWarehouse = new Gy_VirtualWarehouse();
        //                oGy_VirtualWarehouse.MdiParent = oMain;
        //                oGy_VirtualWarehouse.Show();
        //                oMainForm.AddTabPage(oGy_VirtualWarehouse);
        //                break;
        //            case "gy_virtualstockclass":
        //                Gy_VirtualStockClass oGy_VirtualStockClass = new Gy_VirtualStockClass();
        //                oGy_VirtualStockClass.MdiParent = oMain;
        //                oGy_VirtualStockClass.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockClass);
        //                break;
        //            case "gy_virtualstockplacegroup":
        //                Gy_VirtualStockPlaceGroup oGy_VirtualStockPlaceGroup = new Gy_VirtualStockPlaceGroup();
        //                oGy_VirtualStockPlaceGroup.MdiParent = oMain;
        //                oGy_VirtualStockPlaceGroup.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockPlaceGroup);
        //                break;
        //            case "gy_virtualstockplace":
        //                Gy_VirtualStockPlace oGy_VirtualStockPlace = new Gy_VirtualStockPlace();
        //                oGy_VirtualStockPlace.MdiParent = oMain;
        //                oGy_VirtualStockPlace.Show();
        //                oMainForm.AddTabPage(oGy_VirtualStockPlace);
        //                break;
                    case "gy_organizations":
                        //权限
                        Gy_ORGANIZATIONS oGy_ORGANIZATIONS = new Gy_ORGANIZATIONS();
                        oGy_ORGANIZATIONS.MdiParent = oMain;
                        oGy_ORGANIZATIONS.Show();
                        oMainForm.AddTabPage(oGy_ORGANIZATIONS);
                        break;
                    //            case "gy_technologyparameter":
                    //                Gy_TechnologyParameter oGy_TechnologyParameter = new Gy_TechnologyParameter();
                    //                oGy_TechnologyParameter.MdiParent = oMain;
                    //                oGy_TechnologyParameter.Show();
                    //                oMainForm.AddTabPage(oGy_TechnologyParameter);
                    //                break;
                    //            case "gy_technologyparameterunit":
                    //                Gy_TechnologyParameterUnit oGy_TechnologyParameterUnit = new Gy_TechnologyParameterUnit();
                    //                oGy_TechnologyParameterUnit.MdiParent = oMain;
                    //                oGy_TechnologyParameterUnit.Show();
                    //                oMainForm.AddTabPage(oGy_TechnologyParameterUnit);
                    //                break;
                    //            case "gy_techparambyproc":
                    //                Gy_TechParamByProc oGy_TechParamByProc = new Gy_TechParamByProc();
                    //                oGy_TechParamByProc.MdiParent = oMain;
                    //                oGy_TechParamByProc.Show();
                    //                oMainForm.AddTabPage(oGy_TechParamByProc);
                    //                break;
                    //            case "gy_techparambyproclist":
                    //                Gy_TechParamByProcList oGy_TechParamByProcList = new Gy_TechParamByProcList();
                    //                oGy_TechParamByProcList.MdiParent = oMain;
                    //                oGy_TechParamByProcList.Show();
                    //                oMainForm.AddTabPage(oGy_TechParamByProcList);
                    //                break;
                    //            case "gy_virtualwarehouse":
                    //                Gy_VirtualWarehouse oGy_VirtualWarehouse = new Gy_VirtualWarehouse();
                    //                oGy_VirtualWarehouse.MdiParent = oMain;
                    //                oGy_VirtualWarehouse.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualWarehouse);
                    //                break;
                    //            case "gy_virtualstockclass":
                    //                Gy_VirtualStockClass oGy_VirtualStockClass = new Gy_VirtualStockClass();
                    //                oGy_VirtualStockClass.MdiParent = oMain;
                    //                oGy_VirtualStockClass.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockClass);
                    //                break;
                    //            case "gy_virtualstockplacegroup":
                    //                Gy_VirtualStockPlaceGroup oGy_VirtualStockPlaceGroup = new Gy_VirtualStockPlaceGroup();
                    //                oGy_VirtualStockPlaceGroup.MdiParent = oMain;
                    //                oGy_VirtualStockPlaceGroup.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockPlaceGroup);
                    //                break;
                    //            case "gy_virtualstockplace":
                    //                Gy_VirtualStockPlace oGy_VirtualStockPlace = new Gy_VirtualStockPlace();
                    //                oGy_VirtualStockPlace.MdiParent = oMain;
                    //                oGy_VirtualStockPlace.Show();
                    //                oMainForm.AddTabPage(oGy_VirtualStockPlace);
                    //                break;
        //            case "gy_barcoderulebill":
        //                //权限
        //                Gy_BarCodeRuleBill oGy_BarCodeRuleBill = new Gy_BarCodeRuleBill();
        //                oGy_BarCodeRuleBill.MdiParent = oMain;
        //                oGy_BarCodeRuleBill.Show();
        //                oMainForm.AddTabPage(oGy_BarCodeRuleBill);
        //                break;
        //            case "gy_datain_stockplace":
        //                //权限
        //                Gy_DataIn_StockPlace oGy_DataIn_StockPlace = new Gy_DataIn_StockPlace();
        //                oGy_DataIn_StockPlace.MdiParent = oMain;
        //                oGy_DataIn_StockPlace.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_StockPlace);
        //                break;
        //            case "gy_datain_warehouse":
        //                //权限
        //                Gy_DataIn_Warehouse oGy_DataIn_Warehouse = new Gy_DataIn_Warehouse();
        //                oGy_DataIn_Warehouse.MdiParent = oMain;
        //                oGy_DataIn_Warehouse.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Warehouse);
        //                break;
                    //            case "gy_barcoderulebill":
                    //                //权限
                    //                Gy_BarCodeRuleBill oGy_BarCodeRuleBill = new Gy_BarCodeRuleBill();
                    //                oGy_BarCodeRuleBill.MdiParent = oMain;
                    //                oGy_BarCodeRuleBill.Show();
                    //                oMainForm.AddTabPage(oGy_BarCodeRuleBill);
                    //                break;
                    //            case "gy_datain_stockplace":
                    //                //权限
                    //                Gy_DataIn_StockPlace oGy_DataIn_StockPlace = new Gy_DataIn_StockPlace();
                    //                oGy_DataIn_StockPlace.MdiParent = oMain;
                    //                oGy_DataIn_StockPlace.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_StockPlace);
                    //                break;
                    //            case "gy_datain_warehouse":
                    //                //权限
                    //                Gy_DataIn_Warehouse oGy_DataIn_Warehouse = new Gy_DataIn_Warehouse();
                    //                oGy_DataIn_Warehouse.MdiParent = oMain;
                    //                oGy_DataIn_Warehouse.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Warehouse);
                    //                break;
        //            case "gy_matemouldinfo":
        //                Gy_MateMouldInfo oGy_MateMouldInfo = new Gy_MateMouldInfo();
        //                oGy_MateMouldInfo.MdiParent = oMain;
        //                oGy_MateMouldInfo.Show();
        //                oMainForm.AddTabPage(oGy_MateMouldInfo);
        //                break;
        //            case "gy_matemouldinfolist":
        //                Gy_MateMouldInfoList oGy_MateMouldInfoList = new Gy_MateMouldInfoList();
        //                oGy_MateMouldInfoList.MdiParent = oMain;
        //                oGy_MateMouldInfoList.Show();
        //                oMainForm.AddTabPage(oGy_MateMouldInfoList);
        //                break;
        //            case "gy_datain_matepricesup_k3":
        //                //权限
        //                Gy_DataIn_MatePriceSup_K3 oGy_DataIn_MatePriceSup_K3 = new Gy_DataIn_MatePriceSup_K3();
        //                oGy_DataIn_MatePriceSup_K3.MdiParent = oMain;
        //                oGy_DataIn_MatePriceSup_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_MatePriceSup_K3);
        //                break;
        //            case "gy_datain_matepricecus_k3":
        //                //权限
        //                Gy_DataIn_MatePriceCus_K3 oGy_DataIn_MatePriceCus_K3 = new Gy_DataIn_MatePriceCus_K3();
        //                oGy_DataIn_MatePriceCus_K3.MdiParent = oMain;
        //                oGy_DataIn_MatePriceCus_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_MatePriceCus_K3);
        //                break;
        //            case "gy_datain_warehouse_k3":
        //                //权限
        //                Gy_DataIn_Warehouse_K3 oGy_DataIn_Warehouse_K3 = new Gy_DataIn_Warehouse_K3();
        //                oGy_DataIn_Warehouse_K3.MdiParent = oMain;
        //                oGy_DataIn_Warehouse_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Warehouse_K3);
        //                break;
        //            case "gy_datain_material_k3":
        //                //权限
        //                Gy_DataIn_Material_K3 oGy_DataIn_Material_K3 = new Gy_DataIn_Material_K3();
        //                oGy_DataIn_Material_K3.MdiParent = oMain;
        //                oGy_DataIn_Material_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Material_K3);
        //                break;
        //            case "gy_datain_customer_k3":
        //                //权限
        //                Gy_DataIn_Customer_K3 oGy_DataIn_Customer_K3 = new Gy_DataIn_Customer_K3();
        //                oGy_DataIn_Customer_K3.MdiParent = oMain;
        //                oGy_DataIn_Customer_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Customer_K3);
        //                break;
        //            case "gy_datain_supplier_k3":
        //                //权限
        //                Gy_DataIn_Supplier_K3 oGy_DataIn_Supplier_K3 = new Gy_DataIn_Supplier_K3();
        //                oGy_DataIn_Supplier_K3.MdiParent = oMain;
        //                oGy_DataIn_Supplier_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Supplier_K3);
        //                break;
        //            case "gy_datain_employee_k3":
        //                //权限
        //                Gy_DataIn_Employee_K3 oGy_DataIn_Employee_K3 = new Gy_DataIn_Employee_K3();
        //                oGy_DataIn_Employee_K3.MdiParent = oMain;
        //                oGy_DataIn_Employee_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Employee_K3);
        //                break;
        //            case "gy_datain_department_k3":
        //                //权限
        //                Gy_DataIn_Department_K3 oGy_DataIn_Department_K3 = new Gy_DataIn_Department_K3();
        //                oGy_DataIn_Department_K3.MdiParent = oMain;
        //                oGy_DataIn_Department_K3.Show();
        //                oMainForm.AddTabPage(oGy_DataIn_Department_K3);
        //                break;
        //            case "gy_salepresentratelist":
        //                Gy_SalePresentRateList oGy_SalePresentRateList = new Gy_SalePresentRateList();
        //                oGy_SalePresentRateList.MdiParent = oMain;
        //                oGy_SalePresentRateList.Show();
        //                oMainForm.AddTabPage(oGy_SalePresentRateList);
        //                break;
        //            case "gy_icbombilllist":
        //                Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
        //                oGy_ICBomBillList.MdiParent = oMain;
        //                oGy_ICBomBillList.Show();
        //                oMainForm.AddTabPage(oGy_ICBomBillList);
        //                break;
        //            case "gy_icbombill":
        //                Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
        //                oGy_ICBomBill.ShowDialog();
        //                break;
        //            case "gy_icbomgroup":
        //                Gy_ICBomGroup oGy_ICBomGroup = new Gy_ICBomGroup();
        //                oGy_ICBomGroup.MdiParent = oMain;
        //                oGy_ICBomGroup.Show();
        //                oMainForm.AddTabPage(oGy_ICBomGroup);
        //                break;
        //            case "gy_workcentersourcebill":
        //                Gy_WorkCenterSourceBill oGy_WorkCenterSourceBill = new Gy_WorkCenterSourceBill();
        //                oGy_WorkCenterSourceBill.MdiParent = oMain;
        //                oGy_WorkCenterSourceBill.Show();
        //                oMainForm.AddTabPage(oGy_WorkCenterSourceBill);
        //                break;
        //            case "gy_procpricelist":
        //                //权限
        //                Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
        //                oGy_ProcPriceList.MdiParent = oMain;
        //                oGy_ProcPriceList.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceList);
        //                break;
        //            case "gy_classtimeprjgroup":
        //                Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup();
        //                oGy_ClassTimePrjGroup.MdiParent = oMain;
        //                oGy_ClassTimePrjGroup.Show();
        //                oMainForm.AddTabPage(oGy_ClassTimePrjGroup);
        //                break;
        //            case "gy_matenumrelation":
        //                Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation();
        //                oGy_MateNumRelation.MdiParent = oMain;
        //                oGy_MateNumRelation.Show();
        //                oMainForm.AddTabPage(oGy_MateNumRelation);
        //                break;
        //            case "gy_procpricerela":
        //                Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
        //                oGy_ProcPriceRela.MdiParent = oMain;
        //                oGy_ProcPriceRela.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceRela);
        //                break;
        //            case "gy_procpricerelagroup":
        //                Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup();
        //                oGy_ProcPriceRelaGroup.MdiParent = oMain;
        //                oGy_ProcPriceRelaGroup.Show();
        //                oMainForm.AddTabPage(oGy_ProcPriceRelaGroup);
        //                break;
        //            case "gy_stockplacegroup":
        //                Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup();
        //                oGy_StockPlaceGroup.MdiParent = oMain;
        //                oGy_StockPlaceGroup.Show();
        //                oMainForm.AddTabPage(oGy_StockPlaceGroup);
        //                break;
                    //            case "gy_matemouldinfo":
                    //                Gy_MateMouldInfo oGy_MateMouldInfo = new Gy_MateMouldInfo();
                    //                oGy_MateMouldInfo.MdiParent = oMain;
                    //                oGy_MateMouldInfo.Show();
                    //                oMainForm.AddTabPage(oGy_MateMouldInfo);
                    //                break;
                    //            case "gy_matemouldinfolist":
                    //                Gy_MateMouldInfoList oGy_MateMouldInfoList = new Gy_MateMouldInfoList();
                    //                oGy_MateMouldInfoList.MdiParent = oMain;
                    //                oGy_MateMouldInfoList.Show();
                    //                oMainForm.AddTabPage(oGy_MateMouldInfoList);
                    //                break;
                    //            case "gy_datain_matepricesup_k3":
                    //                //权限
                    //                Gy_DataIn_MatePriceSup_K3 oGy_DataIn_MatePriceSup_K3 = new Gy_DataIn_MatePriceSup_K3();
                    //                oGy_DataIn_MatePriceSup_K3.MdiParent = oMain;
                    //                oGy_DataIn_MatePriceSup_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_MatePriceSup_K3);
                    //                break;
                    //            case "gy_datain_matepricecus_k3":
                    //                //权限
                    //                Gy_DataIn_MatePriceCus_K3 oGy_DataIn_MatePriceCus_K3 = new Gy_DataIn_MatePriceCus_K3();
                    //                oGy_DataIn_MatePriceCus_K3.MdiParent = oMain;
                    //                oGy_DataIn_MatePriceCus_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_MatePriceCus_K3);
                    //                break;
                    //            case "gy_datain_warehouse_k3":
                    //                //权限
                    //                Gy_DataIn_Warehouse_K3 oGy_DataIn_Warehouse_K3 = new Gy_DataIn_Warehouse_K3();
                    //                oGy_DataIn_Warehouse_K3.MdiParent = oMain;
                    //                oGy_DataIn_Warehouse_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Warehouse_K3);
                    //                break;
                    //            case "gy_datain_material_k3":
                    //                //权限
                    //                Gy_DataIn_Material_K3 oGy_DataIn_Material_K3 = new Gy_DataIn_Material_K3();
                    //                oGy_DataIn_Material_K3.MdiParent = oMain;
                    //                oGy_DataIn_Material_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Material_K3);
                    //                break;
                    //            case "gy_datain_customer_k3":
                    //                //权限
                    //                Gy_DataIn_Customer_K3 oGy_DataIn_Customer_K3 = new Gy_DataIn_Customer_K3();
                    //                oGy_DataIn_Customer_K3.MdiParent = oMain;
                    //                oGy_DataIn_Customer_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Customer_K3);
                    //                break;
                    //            case "gy_datain_supplier_k3":
                    //                //权限
                    //                Gy_DataIn_Supplier_K3 oGy_DataIn_Supplier_K3 = new Gy_DataIn_Supplier_K3();
                    //                oGy_DataIn_Supplier_K3.MdiParent = oMain;
                    //                oGy_DataIn_Supplier_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Supplier_K3);
                    //                break;
                    //            case "gy_datain_employee_k3":
                    //                //权限
                    //                Gy_DataIn_Employee_K3 oGy_DataIn_Employee_K3 = new Gy_DataIn_Employee_K3();
                    //                oGy_DataIn_Employee_K3.MdiParent = oMain;
                    //                oGy_DataIn_Employee_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Employee_K3);
                    //                break;
                    //            case "gy_datain_department_k3":
                    //                //权限
                    //                Gy_DataIn_Department_K3 oGy_DataIn_Department_K3 = new Gy_DataIn_Department_K3();
                    //                oGy_DataIn_Department_K3.MdiParent = oMain;
                    //                oGy_DataIn_Department_K3.Show();
                    //                oMainForm.AddTabPage(oGy_DataIn_Department_K3);
                    //                break;
                    //            case "gy_salepresentratelist":
                    //                Gy_SalePresentRateList oGy_SalePresentRateList = new Gy_SalePresentRateList();
                    //                oGy_SalePresentRateList.MdiParent = oMain;
                    //                oGy_SalePresentRateList.Show();
                    //                oMainForm.AddTabPage(oGy_SalePresentRateList);
                    //                break;
                    //            case "gy_icbombilllist":
                    //                Gy_ICBomBillList oGy_ICBomBillList = new Gy_ICBomBillList();
                    //                oGy_ICBomBillList.MdiParent = oMain;
                    //                oGy_ICBomBillList.Show();
                    //                oMainForm.AddTabPage(oGy_ICBomBillList);
                    //                break;
                    //            case "gy_icbombill":
                    //                Gy_ICBomBill oGy_ICBomBill = new Gy_ICBomBill();
                    //                oGy_ICBomBill.ShowDialog();
                    //                break;
                    //            case "gy_icbomgroup":
                    //                Gy_ICBomGroup oGy_ICBomGroup = new Gy_ICBomGroup();
                    //                oGy_ICBomGroup.MdiParent = oMain;
                    //                oGy_ICBomGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ICBomGroup);
                    //                break;
                    //            case "gy_workcentersourcebill":
                    //                Gy_WorkCenterSourceBill oGy_WorkCenterSourceBill = new Gy_WorkCenterSourceBill();
                    //                oGy_WorkCenterSourceBill.MdiParent = oMain;
                    //                oGy_WorkCenterSourceBill.Show();
                    //                oMainForm.AddTabPage(oGy_WorkCenterSourceBill);
                    //                break;
                    //            case "gy_procpricelist":
                    //                //权限
                    //                Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList();
                    //                oGy_ProcPriceList.MdiParent = oMain;
                    //                oGy_ProcPriceList.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceList);
                    //                break;
                    //            case "gy_classtimeprjgroup":
                    //                Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup();
                    //                oGy_ClassTimePrjGroup.MdiParent = oMain;
                    //                oGy_ClassTimePrjGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ClassTimePrjGroup);
                    //                break;
                    //            case "gy_matenumrelation":
                    //                Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation();
                    //                oGy_MateNumRelation.MdiParent = oMain;
                    //                oGy_MateNumRelation.Show();
                    //                oMainForm.AddTabPage(oGy_MateNumRelation);
                    //                break;
                    //            case "gy_procpricerela":
                    //                Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela();
                    //                oGy_ProcPriceRela.MdiParent = oMain;
                    //                oGy_ProcPriceRela.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceRela);
                    //                break;
                    //            case "gy_procpricerelagroup":
                    //                Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup();
                    //                oGy_ProcPriceRelaGroup.MdiParent = oMain;
                    //                oGy_ProcPriceRelaGroup.Show();
                    //                oMainForm.AddTabPage(oGy_ProcPriceRelaGroup);
                    //                break;
                    //            case "gy_stockplacegroup":
                    //                Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup();
                    //                oGy_StockPlaceGroup.MdiParent = oMain;
                    //                oGy_StockPlaceGroup.Show();
                    //                oMainForm.AddTabPage(oGy_StockPlaceGroup);
                    //                break;
                    case "gy_stockplace":
                        Gy_StockPlace oGy_StockPlace = new Gy_StockPlace();
                        oGy_StockPlace.MdiParent = oMain;