NETSCM/ClsShowMod.cs
@@ -3663,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;
                }