using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Windows.Forms; using BaseSet; using WarM; using DBUtility; using BLL; using OAM; using WorkM; using PlanM; using Kanban; namespace NETERPNoWin { class ClsShowMod { public void Zxxymk(string gnsy, string gnbm,string gnmc,Form oMain) { //ȨÏÞ if (!DBUtility.ClsPub.Security_Log(gnsy.Trim(), 1, true, DBUtility.ClsPub.CurUserName)) { return; } // switch (gnbm.Trim().Substring(0, 2)) { case "cj": //³µ¼ä¹ÜÀí Zxxymk_CJGL(gnsy, gnmc, oMain); break; case "pa": //¹¤×ʹÜÀí //Zxxymk_GZXT(gnsy, gnmc, oMain); break; case "jh": //¼Æ»®¹ÜÀí Zxxymk_JHGL(gnsy, gnmc, oMain); break; case "gy": //»ù´¡×ÊÁÏ Zxxymk_JCSJ(gnsy, gnmc, oMain); break; case "tx": //ͼÐᨱí Zxxymk_TJBB(gnsy, gnmc, oMain); break; case "sc": //Éú²úϵͳ Zxxymk_SCXT(gnsy, gnmc, oMain); break; case "cr": //¿Í»§¹ÜÀí //Zxxymk_KHGL(gnsy, gnmc, oMain); break; case "su": //¹©Ó¦É̹ÜÀí Zxxymk_GFGL(gnsy, gnmc, oMain); break; case "ch": //´æ»õºËËã Zxxymk_CHHS(gnsy, gnmc, oMain); break; case "kf": //²Ö´æ¹ÜÀí Zxxymk_CKXT(gnsy, gnmc, oMain); break; case "sb": //É豸¹ÜÀí //Zxxymk_SBGL(gnsy, gnmc, oMain); break; case "hr": //ÈËʹÜÀí //Zxxymk_HRGL(gnsy, gnmc, oMain); break; case "xt": //ϵͳ¹ÜÀí Zxxymk_XTGL(gnsy, gnmc, oMain); break; case "oa": //ÐÅϢƽ̨ //Zxxymk_XXPT(gnsy, gnmc, oMain); break; case "bb": //±¨±í·ÖÎö Zxxymk_BBFX(gnsy, gnmc, oMain); break; case "yf": //Ó¦¸¶¹ÜÀí //Zxxymk_YFGL(gnsy, gnmc, oMain); break; case "ys": //Ó¦ÊÕ¹ÜÀí //Zxxymk_YSGL(gnsy, gnmc, oMain); break; case "cg": //²É¹º¹ÜÀí //Zxxymk_CGXT(gnsy, gnmc, oMain); break; case "xs": //ÏúÊÛ¹ÜÀí //Zxxymk_XSXT(gnsy, gnmc, oMain); break; case "cb": //³É±¾¹ÜÀí //Zxxymk_CBXT(gnsy, gnmc, oMain); break; case "se": //ÊÛºó¹ÜÀí //Zxxymk_SHXT(gnsy, gnmc, oMain); break; case "mak": //Êг¡ÓªÏú¹ÜÀí Zxxymk_Public(gnsy, gnmc, oMain); break; case "kq": //¿¼ÇÚ¹ÜÀí Zxxymk_Public(gnsy, gnmc, oMain); break; case "pct": //ÊÛºó¹ÜÀí Zxxymk_Public(gnsy, gnmc, oMain); break; default: break; } } #region ³µ¼ä¹ÜÀí public void Zxxymk_CJGL(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { case "sc_processplan": Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan(); oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessPlan.ModCaption = gnmc; oSc_ProcessPlan.ShowDialog(); break; case "sc_processplanlist": Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList(); oSc_ProcessPlanList.MdiParent = oMain; oSc_ProcessPlanList.ModCaption = gnmc; oSc_ProcessPlanList.Show(); break; case "sc_processreport": Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport(); oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessReport.ModCaption = gnmc; oSc_ProcessReport.ShowDialog(); break; case "sc_processreportlist": Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList(); oSc_ProcessReportList.MdiParent = oMain; oSc_ProcessReportList.ModCaption = gnmc; oSc_ProcessReportList.Show(); break; case "sc_processsendwork": Sc_ProcessSendWork oSc_ProcessSendWork = new Sc_ProcessSendWork(); oSc_ProcessSendWork.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessSendWork.ModCaption = gnmc; oSc_ProcessSendWork.ShowDialog(); break; case "sc_processsendworklist": Sc_ProcessSendWorkList oSc_ProcessSendWorkList = new Sc_ProcessSendWorkList(); oSc_ProcessSendWorkList.MdiParent = oMain; oSc_ProcessSendWorkList.ModCaption = gnmc; oSc_ProcessSendWorkList.Show(); break; case "sc_procprodmovebill": Sc_ProcProdMoveBill oSc_ProcProdMoveBill = new Sc_ProcProdMoveBill(); oSc_ProcProdMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcProdMoveBill.ModCaption = gnmc; oSc_ProcProdMoveBill.ShowDialog(); break; case "sc_procprodmovebilllist": Sc_ProcProdMoveBillList oSc_ProcProdMoveBillList = new Sc_ProcProdMoveBillList(); oSc_ProcProdMoveBillList.MdiParent = oMain; oSc_ProcProdMoveBillList.ModCaption = gnmc; oSc_ProcProdMoveBillList.Show(); break; case "sc_processmovebill": Sc_ProcessMoveBill oSc_ProcessMoveBill = new Sc_ProcessMoveBill(); oSc_ProcessMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessMoveBill.ModCaption = gnmc; oSc_ProcessMoveBill.ShowDialog(); break; case "sc_processmovebilllist": Sc_ProcessMoveBillList oSc_ProcessMoveBillList = new Sc_ProcessMoveBillList(); oSc_ProcessMoveBillList.MdiParent = oMain; oSc_ProcessMoveBillList.ModCaption = gnmc; oSc_ProcessMoveBillList.Show(); break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion #region ¹©Ó¦É̹ÜÀí public void Zxxymk_GFGL(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion //#region ¿Í»§¹ÜÀí //public void Zxxymk_KHGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "crm_complainbackvisitbill": // Crm_ComplainBackVisitBill oCrm_ComplainBackVisitBill = new Crm_ComplainBackVisitBill(); // oCrm_ComplainBackVisitBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ComplainBackVisitBill.ModCaption = gnmc; // oCrm_ComplainBackVisitBill.ShowDialog(); // break; // case "crm_complainbackvisitbilllist": // Crm_ComplainBackVisitBillList oCrm_ComplainBackVisitBillList = new Crm_ComplainBackVisitBillList(); // oCrm_ComplainBackVisitBillList.MdiParent = oMain; // oCrm_ComplainBackVisitBillList.ModCaption = gnmc; // oCrm_ComplainBackVisitBillList.Show(); // break; // case "xs_sellplanexecutebill": // Xs_SellPlanExecuteBill oXs_SellPlanExecuteBill = new Xs_SellPlanExecuteBill(); // oXs_SellPlanExecuteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SellPlanExecuteBill.ModCaption = gnmc; // oXs_SellPlanExecuteBill.ShowDialog(); // break; // case "xs_sellplanexecutebilllist": // Xs_SellPlanExecuteBillList oXs_SellPlanExecuteBillList = new Xs_SellPlanExecuteBillList(); // oXs_SellPlanExecuteBillList.MdiParent = oMain; // oXs_SellPlanExecuteBillList.ModCaption = gnmc; // oXs_SellPlanExecuteBillList.Show(); // break; // case "crm_marketinfobill": // Crm_MarketInfoBill oCrm_MarketInfoBill = new Crm_MarketInfoBill(); // oCrm_MarketInfoBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_MarketInfoBill.ModCaption = gnmc; // oCrm_MarketInfoBill.ShowDialog(); // break; // case "crm_marketinfobilllist": // Crm_MarketInfoBillList oCrm_MarketInfoBillList = new Crm_MarketInfoBillList(); // oCrm_MarketInfoBillList.MdiParent = oMain; // oCrm_MarketInfoBillList.ModCaption = gnmc; // oCrm_MarketInfoBillList.Show(); // break; // case "xs_getneedcheckseprodplanbilllist": // Xs_GetNeedCheckSeProdPlanBillList oXs_GetNeedCheckSeProdPlanBillList = new Xs_GetNeedCheckSeProdPlanBillList(); // oXs_GetNeedCheckSeProdPlanBillList.MdiParent = oMain; // oXs_GetNeedCheckSeProdPlanBillList.ModCaption = gnmc; // oXs_GetNeedCheckSeProdPlanBillList.Show(); // break; // case "a3_getneedcheckseorderbilllist": // A3_GetNeedCheckSeOrderBillList oA3_GetNeedCheckSeOrderBillList = new A3_GetNeedCheckSeOrderBillList(); // oA3_GetNeedCheckSeOrderBillList.MdiParent = oMain; // oA3_GetNeedCheckSeOrderBillList.ModCaption = gnmc; // oA3_GetNeedCheckSeOrderBillList.Show(); // break; // case "a3_getneedcheckselloutbilllist": // A3_GetNeedCheckSellOutBillList oA3_GetNeedCheckSellOutBillList = new A3_GetNeedCheckSellOutBillList(); // oA3_GetNeedCheckSellOutBillList.MdiParent = oMain; // oA3_GetNeedCheckSellOutBillList.ModCaption = gnmc; // oA3_GetNeedCheckSellOutBillList.Show(); // break; // case "crm_campaignbill": // Crm_CampaignBill oCrm_CampaignBill = new Crm_CampaignBill(); // oCrm_CampaignBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CampaignBill.ModCaption = gnmc; // oCrm_CampaignBill.ShowDialog(); // break; // case "crm_campaignbilllist": // Crm_CampaignBillList oCrm_CampaignBillList = new Crm_CampaignBillList(); // oCrm_CampaignBillList.MdiParent = oMain; // oCrm_CampaignBillList.ModCaption = gnmc; // oCrm_CampaignBillList.Show(); // break; // case "crm_counterworkerbill": // Crm_CounterWorkerBill oCrm_CounterWorkerBill = new Crm_CounterWorkerBill(); // oCrm_CounterWorkerBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CounterWorkerBill.ModCaption = gnmc; // oCrm_CounterWorkerBill.ShowDialog(); // break; // case "crm_counterworkerbilllist": // Crm_CounterWorkerBillList oCrm_CounterWorkerBillList = new Crm_CounterWorkerBillList(); // oCrm_CounterWorkerBillList.MdiParent = oMain; // oCrm_CounterWorkerBillList.ModCaption = gnmc; // oCrm_CounterWorkerBillList.Show(); // break; // case "crm_cuscommemoratebill": // Crm_CusCommemorateBill oCrm_CusCommemorateBill = new Crm_CusCommemorateBill(); // oCrm_CusCommemorateBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusCommemorateBill.ModCaption = gnmc; // oCrm_CusCommemorateBill.ShowDialog(); // break; // case "crm_cuscommemoratebilllist": // Crm_CusCommemorateBillList oCrm_CusCommemorateBillList = new Crm_CusCommemorateBillList(); // oCrm_CusCommemorateBillList.MdiParent = oMain; // oCrm_CusCommemorateBillList.ModCaption = gnmc; // oCrm_CusCommemorateBillList.Show(); // break; // case "crm_linkmanbill": // Crm_LinkManBill oCrm_LinkManBill = new Crm_LinkManBill(); // oCrm_LinkManBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_LinkManBill.ModCaption = gnmc; // oCrm_LinkManBill.ShowDialog(); // break; // case "crm_linkmanbilllist": // Crm_LinkManBillList oCrm_LinkManBillList = new Crm_LinkManBillList(); // oCrm_LinkManBillList.MdiParent = oMain; // oCrm_LinkManBillList.ModCaption = gnmc; // oCrm_LinkManBillList.Show(); // break; // case "crm_linknotebill": // Crm_LinkNoteBill oCrm_LinkNoteBill = new Crm_LinkNoteBill(); // oCrm_LinkNoteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_LinkNoteBill.ModCaption = gnmc; // oCrm_LinkNoteBill.ShowDialog(); // break; // case "crm_linknotebilllist": // Crm_LinkNoteBillList oCrm_LinkNoteBillList = new Crm_LinkNoteBillList(); // oCrm_LinkNoteBillList.MdiParent = oMain; // oCrm_LinkNoteBillList.ModCaption = gnmc; // oCrm_LinkNoteBillList.Show(); // break; // case "crm_sellchancebill": // Crm_SellChanceBill oCrm_SellChanceBill = new Crm_SellChanceBill(); // oCrm_SellChanceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellChanceBill.ModCaption = gnmc; // oCrm_SellChanceBill.ShowDialog(); // break; // case "crm_sellchancebilllist": // Crm_SellChanceBillList oCrm_SellChanceBillList = new Crm_SellChanceBillList(); // oCrm_SellChanceBillList.MdiParent = oMain; // oCrm_SellChanceBillList.ModCaption = gnmc; // oCrm_SellChanceBillList.Show(); // break; // case "crm_sellchancechangebill": // Crm_SellChanceChangeBill oCrm_SellChanceChangeBill = new Crm_SellChanceChangeBill(); // oCrm_SellChanceChangeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellChanceChangeBill.ModCaption = gnmc; // oCrm_SellChanceChangeBill.ShowDialog(); // break; // case "crm_sellchancechangebilllist": // Crm_SellChanceChangeBillList oCrm_SellChanceChangeBillList = new Crm_SellChanceChangeBillList(); // oCrm_SellChanceChangeBillList.MdiParent = oMain; // oCrm_SellChanceChangeBillList.ModCaption = gnmc; // oCrm_SellChanceChangeBillList.Show(); // break; // case "crm_cusappealbill": // Crm_CusAppealBill oCrm_CusAppealBill = new Crm_CusAppealBill(); // oCrm_CusAppealBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusAppealBill.ModCaption = gnmc; // oCrm_CusAppealBill.ShowDialog(); // break; // case "crm_cusappealbilllist": // Crm_CusAppealBillList oCrm_CusAppealBillList = new Crm_CusAppealBillList(); // oCrm_CusAppealBillList.MdiParent = oMain; // oCrm_CusAppealBillList.ModCaption = gnmc; // oCrm_CusAppealBillList.Show(); // break; // case "crm_cusservicebill": // Crm_CusServiceBill oCrm_CusServiceBill = new Crm_CusServiceBill(); // oCrm_CusServiceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusServiceBill.ModCaption = gnmc; // oCrm_CusServiceBill.ShowDialog(); // break; // case "crm_cusservicebilllist": // Crm_CusServiceBillList oCrm_CusServiceBillList = new Crm_CusServiceBillList(); // oCrm_CusServiceBillList.MdiParent = oMain; // oCrm_CusServiceBillList.ModCaption = gnmc; // oCrm_CusServiceBillList.Show(); // break; // case "crm_worknotebill": // Crm_WorkNoteBill oCrm_WorkNoteBill = new Crm_WorkNoteBill(); // oCrm_WorkNoteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkNoteBill.ModCaption = gnmc; // oCrm_WorkNoteBill.ShowDialog(); // break; // case "crm_worknotebilllist": // Crm_WorkNoteBillList oCrm_WorkNoteBillList = new Crm_WorkNoteBillList(); // oCrm_WorkNoteBillList.MdiParent = oMain; // oCrm_WorkNoteBillList.ModCaption = gnmc; // oCrm_WorkNoteBillList.Show(); // break; // case "crm_workplanbill": // Crm_WorkPlanBill oCrm_WorkPlanBill = new Crm_WorkPlanBill(); // oCrm_WorkPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkPlanBill.ModCaption = gnmc; // oCrm_WorkPlanBill.ShowDialog(); // break; // case "crm_workplanbilllist": // Crm_WorkPlanBillList oCrm_WorkPlanBillList = new Crm_WorkPlanBillList(); // oCrm_WorkPlanBillList.MdiParent = oMain; // oCrm_WorkPlanBillList.ModCaption = gnmc; // oCrm_WorkPlanBillList.Show(); // break; // case "crm_marketsurveybill": // Crm_MarketSurveyBill oCrm_MarketSurveyBill = new Crm_MarketSurveyBill(); // oCrm_MarketSurveyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_MarketSurveyBill.ShowDialog(); // break; // case "crm_marketsurveybilllist": // Crm_MarketSurveyBillList oCrm_MarketSurveyBillList = new Crm_MarketSurveyBillList(); // oCrm_MarketSurveyBillList.MdiParent = oMain; // oCrm_MarketSurveyBillList.Show(); // break; // case "crm_cluebill"://ÏßË÷ // Crm_ClueBill oCrm_ClueBill = new Crm_ClueBill(); // oCrm_ClueBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ClueBill.ShowDialog(); // break; // case "crm_cluebilllist": // Crm_ClueBillList oCrm_ClueBillList = new Crm_ClueBillList(); // oCrm_ClueBillList.MdiParent = oMain; // oCrm_ClueBillList.Show(); // break; // case "crm_sellcampaignbill"://ÓªÏú»î¶¯ // Crm_SellCampaignBill oCrm_SellCampaignBill = new Crm_SellCampaignBill(); // oCrm_SellCampaignBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellCampaignBill.ShowDialog(); // break; // case "crm_sellcampaignbilllist": // Crm_SellCampaignBillList oCrm_SellCampaignBillList = new Crm_SellCampaignBillList(); // oCrm_SellCampaignBillList.MdiParent = oMain; // oCrm_SellCampaignBillList.Show(); // break; // //=================================================== // case "pro_designbluerequestbill": // Pro_DesignBlueRequestBill oPro_DesignBlueRequestBill = new Pro_DesignBlueRequestBill(); // oPro_DesignBlueRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_DesignBlueRequestBill.ModCaption = gnmc; // oPro_DesignBlueRequestBill.ShowDialog(); // break; // case "pro_designbluerequestbilllist": // Pro_DesignBlueRequestBillList oPro_DesignBlueRequestBillList = new Pro_DesignBlueRequestBillList(); // oPro_DesignBlueRequestBillList.MdiParent = oMain; // oPro_DesignBlueRequestBillList.ModCaption = gnmc; // oPro_DesignBlueRequestBillList.Show(); // break; // case "pro_getneedcheckdesignbluerequestbill": // Pro_GetNeedCheckDesignBlueRequestBill oPro_GetNeedCheckDesignBlueRequestBill = new Pro_GetNeedCheckDesignBlueRequestBill(); // oPro_GetNeedCheckDesignBlueRequestBill.MdiParent = oMain; // //oPro_GetNeedCheckDesignBlueRequestBill.ModCaption = gnmc; // oPro_GetNeedCheckDesignBlueRequestBill.Show(); // break; // case "pro_projectcheckbill": // Pro_ProjectCheckBill oPro_ProjectCheckBill = new Pro_ProjectCheckBill(); // oPro_ProjectCheckBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectCheckBill.ModCaption = gnmc; // oPro_ProjectCheckBill.ShowDialog(); // break; // case "pro_projectcheckbilllist": // Pro_ProjectCheckBillList oPro_ProjectCheckBillList = new Pro_ProjectCheckBillList(); // oPro_ProjectCheckBillList.MdiParent = oMain; // oPro_ProjectCheckBillList.ModCaption = gnmc; // oPro_ProjectCheckBillList.Show(); // break; // case "pro_projectrequestbill": // Pro_ProjectRequestBill oPro_ProjectRequestBill = new Pro_ProjectRequestBill(); // oPro_ProjectRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectRequestBill.ModCaption = gnmc; // oPro_ProjectRequestBill.ShowDialog(); // break; // case "pro_projectrequestbilllist": // Pro_ProjectRequestBillList oPro_ProjectRequestBillList = new Pro_ProjectRequestBillList(); // oPro_ProjectRequestBillList.MdiParent = oMain; // oPro_ProjectRequestBillList.ModCaption = gnmc; // oPro_ProjectRequestBillList.Show(); // break; // case "xs_sequotationbill": // Xs_SeQuotationBill oXs_SeQuotationBill = new Xs_SeQuotationBill(); // oXs_SeQuotationBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeQuotationBill.ModCaption = gnmc; // oXs_SeQuotationBill.ShowDialog(); // break; // case "xs_sequotationbilllist": // Xs_SeQuotationBillList oXs_SeQuotationBillList = new Xs_SeQuotationBillList(); // oXs_SeQuotationBillList.MdiParent = oMain; // oXs_SeQuotationBillList.ModCaption = gnmc; // oXs_SeQuotationBillList.Show(); // break; // case "xs_sesamplebill": // Xs_SeSampleBill oXs_SeSampleBill = new Xs_SeSampleBill(); // oXs_SeSampleBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeSampleBill.ModCaption = gnmc; // oXs_SeSampleBill.ShowDialog(); // break; // case "xs_sesamplebilllist": // Xs_SeSampleBillList oXs_SeSampleBillList = new Xs_SeSampleBillList(); // oXs_SeSampleBillList.MdiParent = oMain; // oXs_SeSampleBillList.ModCaption = gnmc; // oXs_SeSampleBillList.Show(); // break; // case "xs_seprodplanbill": // Xs_SeProdPlanBill oXs_SeProdPlanBill = new Xs_SeProdPlanBill(); // oXs_SeProdPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeProdPlanBill.ModCaption = gnmc; // oXs_SeProdPlanBill.ShowDialog(); // break; // case "xs_seprodplanbilllist": // Xs_SeProdPlanBillList oXs_SeProdPlanBillList = new Xs_SeProdPlanBillList(); // oXs_SeProdPlanBillList.MdiParent = oMain; // oXs_SeProdPlanBillList.ModCaption = gnmc; // oXs_SeProdPlanBillList.Show(); // break; // case "a3_seorderbilllist": // A3_SeOrderBillList oA3_SeOrderBillList = new A3_SeOrderBillList(); // oA3_SeOrderBillList.MdiParent = oMain; // oA3_SeOrderBillList.ModCaption = gnmc; // oA3_SeOrderBillList.Show(); // break; // case "a3_seoutbilllist": // A3_SellOutBillList oA3_SellOutBillList = new A3_SellOutBillList(); // oA3_SellOutBillList.MdiParent = oMain; // oA3_SellOutBillList.ModCaption = gnmc; // oA3_SellOutBillList.Show(); // break; // case "gy_customer": // Gy_Customer oGy_Customer = new Gy_Customer(); // oGy_Customer.MdiParent = oMain; // oGy_Customer.Show(); // break; // case "crm_customerfile": // Crm_CustomerFile oCrm_CustomerFile = new Crm_CustomerFile(); // oCrm_CustomerFile.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CustomerFile.ModCaption = gnmc; // oCrm_CustomerFile.ShowDialog(); // break; // case "crm_customerfilelist": // Crm_CustomerFileList oCrm_CustomerFileList = new Crm_CustomerFileList(); // oCrm_CustomerFileList.MdiParent = oMain; // oCrm_CustomerFileList.ModCaption = gnmc; // oCrm_CustomerFileList.Show(); // break; // case "crm_productfile": // Crm_ProductFile oCrm_ProductFile = new Crm_ProductFile(); // oCrm_ProductFile.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ProductFile.ModCaption = gnmc; // oCrm_ProductFile.ShowDialog(); // break; // case "crm_productfilelist": // Crm_ProductFileList oCrm_ProductFileList = new Crm_ProductFileList(); // oCrm_ProductFileList.MdiParent = oMain; // oCrm_ProductFileList.ModCaption = gnmc; // oCrm_ProductFileList.Show(); // break; // case "crm_cusservicesurveybill": // Crm_CusServiceSurveyBill oCrm_CusServiceSurveyBill = new Crm_CusServiceSurveyBill(); // oCrm_CusServiceSurveyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusServiceSurveyBill.ModCaption = gnmc; // oCrm_CusServiceSurveyBill.ShowDialog(); // break; // case "crm_cusservicesurveybilllist": // Crm_CusServiceSurveyBillList oCrm_CusServiceSurveyBillList = new Crm_CusServiceSurveyBillList(); // oCrm_CusServiceSurveyBillList.MdiParent = oMain; // oCrm_CusServiceSurveyBillList.ModCaption = gnmc; // oCrm_CusServiceSurveyBillList.Show(); // break; // case "crm_cuscareforbill": // Crm_CusCareForBill oCrm_CusCareForBill = new Crm_CusCareForBill(); // oCrm_CusCareForBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusCareForBill.ModCaption = gnmc; // oCrm_CusCareForBill.ShowDialog(); // break; // case "crm_cuscareforbilllist": // Crm_CusCareForBillList oCrm_CusCareForBillList = new Crm_CusCareForBillList(); // oCrm_CusCareForBillList.MdiParent = oMain; // oCrm_CusCareForBillList.ModCaption = gnmc; // oCrm_CusCareForBillList.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion #region Éú²úϵͳ public void Zxxymk_SCXT(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //case "sc_mesbeginworkbill_fast": // Sc_MESBeginWorkBill_Fast oSc_MESBeginWorkBill_Fast = new Sc_MESBeginWorkBill_Fast(); // oSc_MESBeginWorkBill_Fast.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_MESBeginWorkBill_Fast.ModCaption = gnmc; // oSc_MESBeginWorkBill_Fast.ShowDialog(); // break; //case "sc_mesbeginworkbilllist": // Sc_MESBeginWorkBillList oSc_MESBeginWorkBillList = new Sc_MESBeginWorkBillList(); // oSc_MESBeginWorkBillList.MdiParent = oMain; // oSc_MESBeginWorkBillList.ModCaption = gnmc; // oSc_MESBeginWorkBillList.Show(); // break; //case "sc_procexchreport_fast": // Sc_ProcExchReport_Fast oSc_ProcExchReport_Fast = new Sc_ProcExchReport_Fast(); // oSc_ProcExchReport_Fast.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcExchReport_Fast.ModCaption = gnmc; // oSc_ProcExchReport_Fast.ShowDialog(); // break; //case "sc_procexchreportlist": // Sc_ProcExchReportList oSc_ProcExchReportList = new Sc_ProcExchReportList(); // oSc_ProcExchReportList.MdiParent = oMain; // oSc_ProcExchReportList.ModCaption = gnmc; // oSc_ProcExchReportList.Show(); // break; //===================== case "sc_workbillplansumreportkb": Sc_WorkBillPlanSumReportKB oSc_WorkBillPlanSumReportKB = new Sc_WorkBillPlanSumReportKB(); oSc_WorkBillPlanSumReportKB.ShowDialog(); break; case "sc_workbillplanreportkb": Sc_WorkBillPlanReportKB oSc_WorkBillPlanReportKB = new Sc_WorkBillPlanReportKB(); oSc_WorkBillPlanReportKB.ShowDialog(); break; case "sc_workbillprocreportkb": Sc_WorkBillProcReportKB oSc_WorkBillProcReportKB = new Sc_WorkBillProcReportKB(); oSc_WorkBillProcReportKB.ShowDialog(); break; //===================== //case "sc_repairicmobill_k3": // Sc_RepairICMOBill_K3 oSc_RepairICMOBill_K3 = new Sc_RepairICMOBill_K3(); // oSc_RepairICMOBill_K3.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_RepairICMOBill_K3.ModCaption = gnmc; // oSc_RepairICMOBill_K3.ShowDialog(); // break; //case "sc_repairicmobilllist_k3": // Sc_RepairICMOBillList_K3 oSc_RepairICMOBillList_K3 = new Sc_RepairICMOBillList_K3(); // oSc_RepairICMOBillList_K3.MdiParent = oMain; // oSc_RepairICMOBillList_K3.ModCaption = gnmc; // oSc_RepairICMOBillList_K3.Show(); // break; //case "sc_icmobill_k3": // Sc_ICMOBill_K3 oSc_ICMOBill_K3 = new Sc_ICMOBill_K3(); // oSc_ICMOBill_K3.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ICMOBill_K3.ModCaption = gnmc; // oSc_ICMOBill_K3.ShowDialog(); // break; //case "sc_icmobilllist_k3": // Sc_ICMOBillList_K3 oSc_ICMOBillList_K3 = new Sc_ICMOBillList_K3(); // oSc_ICMOBillList_K3.MdiParent = oMain; // oSc_ICMOBillList_K3.ModCaption = gnmc; // oSc_ICMOBillList_K3.Show(); // break; //case "sc_ppbom_k3": // Sc_PPBom_K3 oSc_PPBom_K3 = new Sc_PPBom_K3(); // oSc_PPBom_K3.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_PPBom_K3.ModCaption = gnmc; // oSc_PPBom_K3.ShowDialog(); // break; //case "sc_ppbomlist_k3": // Sc_PPBomList_K3 oSc_PPBomList_K3 = new Sc_PPBomList_K3(); // oSc_PPBomList_K3.MdiParent = oMain; // oSc_PPBomList_K3.ModCaption = gnmc; // oSc_PPBomList_K3.Show(); // break; //case "k3_icmosetworkcenterlist": // K3_ICMOSetWorkCenterList oK3_ICMOSetWorkCenterList = new K3_ICMOSetWorkCenterList(); // oK3_ICMOSetWorkCenterList.MdiParent = oMain; // oK3_ICMOSetWorkCenterList.ModCaption = gnmc; // oK3_ICMOSetWorkCenterList.Show(); // break; //case "sc_icmosortbill": // Sc_ICMOSortBill oSc_ICMOSortBill = new Sc_ICMOSortBill(); // oSc_ICMOSortBill.MdiParent = oMain; // oSc_ICMOSortBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ICMOSortBill.ModCaption = gnmc; // oSc_ICMOSortBill.Show(); // break; //case "sc_icmosortbilllist": // Sc_ICMOSortBillList oSc_ICMOSortBillList = new Sc_ICMOSortBillList(); // oSc_ICMOSortBillList.MdiParent = oMain; // oSc_ICMOSortBillList.ModCaption = gnmc; // oSc_ICMOSortBillList.Show(); // break; case "sc_icmobill": Sc_ICMOBill oSc_ICMOBill = new Sc_ICMOBill(); oSc_ICMOBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ICMOBill.ModCaption = gnmc; oSc_ICMOBill.ShowDialog(); break; case "sc_icmobilllist": Sc_ICMOBillList oSc_ICMOBillList = new Sc_ICMOBillList(); oSc_ICMOBillList.MdiParent = oMain; oSc_ICMOBillList.ModCaption = gnmc; oSc_ICMOBillList.Show(); break; case "sc_icmoreportbill": Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill(); oSc_ICMOReportBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ICMOReportBill.ModCaption = gnmc; oSc_ICMOReportBill.ShowDialog(); break; case "sc_icmoreportbilllist": Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList(); oSc_ICMOReportBillList.MdiParent = oMain; oSc_ICMOReportBillList.ModCaption = gnmc; oSc_ICMOReportBillList.Show(); break; case "sc_processplanchangelist": //ȨÏÞ Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList(); oSc_ProcessPlanChangeList.MdiParent = oMain; oSc_ProcessPlanChangeList.Show(); break; case "sc_processplanchangesec": // Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec(); oSc_ProcessPlanChangeSec.ShowDialog(); break; case "sc_processplan": Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan(); oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessPlan.ModCaption = gnmc; oSc_ProcessPlan.ShowDialog(); break; case "sc_processplanlist": Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList(); oSc_ProcessPlanList.MdiParent = oMain; oSc_ProcessPlanList.ModCaption = gnmc; oSc_ProcessPlanList.Show(); break; case "sc_processreport": Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport(); oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessReport.ModCaption = gnmc; oSc_ProcessReport.ShowDialog(); break; case "sc_processreportlist": Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList(); oSc_ProcessReportList.MdiParent = oMain; oSc_ProcessReportList.ModCaption = gnmc; oSc_ProcessReportList.Show(); break; case "sc_assemblybilllist": //ȨÏÞ Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList(); oSc_AssemblyBillList.MdiParent = oMain; oSc_AssemblyBillList.Show(); 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 "sc_processbackplan": Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan(); oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; oSc_ProcessBackPlan.ShowDialog(); break; case "sc_processbackplanlist": Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList(); oSc_ProcessBackPlanList.MdiParent = oMain; oSc_ProcessBackPlanList.Show(); break; //======================±¨±í //case "sc_monthsource": // //ȨÏÞ // Sc_MonthSource oSc_MonthSource = new Sc_MonthSource(); // oSc_MonthSource.MdiParent = oMain; // oSc_MonthSource.Show(); // break; case "sc_workprocreport": //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport(); //oSc_WorkProcReport.MdiParent = oMain; //oSc_WorkProcReport.ModCaption = gnmc; //oSc_WorkProcReport.Show(); break; case "sc_workbillreport": //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport(); //oSc_WorkBillReport.MdiParent = oMain; //oSc_WorkBillReport.ModCaption = gnmc; //oSc_WorkBillReport.Show(); break; //case "sc_procprogressreport": // Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport(); // oSc_ProcProgressReport.MdiParent = oMain; // oSc_ProcProgressReport.ModCaption = gnmc; // oSc_ProcProgressReport.Show(); // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion #region ×°Åä³µ¼ä public void Zxxymk_ZPCJ(string gnsy,string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //case "sc_icmosortchangebilllist": // Sc_ICMOSortChangeBillList oSc_ICMOSortChangeBillList = new Sc_ICMOSortChangeBillList(); // oSc_ICMOSortChangeBillList.MdiParent = oMain; // oSc_ICMOSortChangeBillList.ModCaption = gnmc; // oSc_ICMOSortChangeBillList.Show(); // break; //case "sc_icmosortclosebill": // Sc_ICMOSortCloseBill oSc_ICMOSortCloseBill = new Sc_ICMOSortCloseBill(); // oSc_ICMOSortCloseBill.ModCaption = gnmc; // oSc_ICMOSortCloseBill.ShowDialog(); // break; //case "sc_icmosortbilllist_pay": // Sc_ICMOSortBillList_Pay oSc_ICMOSortBillList_Pay = new Sc_ICMOSortBillList_Pay(); // oSc_ICMOSortBillList_Pay.MdiParent = oMain; // oSc_ICMOSortBillList_Pay.ModCaption = gnmc; // oSc_ICMOSortBillList_Pay.Show(); // break; //case "sc_dayreportbydept_bcp": // Sc_DayReportByDept_BCP oSc_DayReportByDept_BCP = new Sc_DayReportByDept_BCP(); // oSc_DayReportByDept_BCP.MdiParent = oMain; // oSc_DayReportByDept_BCP.ModCaption = gnmc; // oSc_DayReportByDept_BCP.Show(); // break; //case "sc_dayreportbydept": // Sc_DayReportByDept oSc_DayReportByDept = new Sc_DayReportByDept(); // oSc_DayReportByDept.MdiParent = oMain; // oSc_DayReportByDept.ModCaption = gnmc; // oSc_DayReportByDept.Show(); // break; //case "sc_icmosortbill": // Sc_ICMOSortBill oSc_ICMOSortBill = new Sc_ICMOSortBill(); // oSc_ICMOSortBill.MdiParent = oMain; // oSc_ICMOSortBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ICMOSortBill.ModCaption = gnmc; // oSc_ICMOSortBill.Show(); // break; //case "sc_icmosortbilllist": // Sc_ICMOSortBillList oSc_ICMOSortBillList = new Sc_ICMOSortBillList(); // oSc_ICMOSortBillList.MdiParent = oMain; // oSc_ICMOSortBillList.ModCaption = gnmc; // oSc_ICMOSortBillList.Show(); // break; //case "sc_icmosortbillhistorylist": // Sc_ICMOSortBillHistoryList oSc_ICMOSortBillHistoryList = new Sc_ICMOSortBillHistoryList(); // oSc_ICMOSortBillHistoryList.MdiParent = oMain; // oSc_ICMOSortBillHistoryList.ModCaption = gnmc; // oSc_ICMOSortBillHistoryList.Show(); // break; //case "gy_worktimes": // Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes(); // oGy_WorkTimes.MdiParent = oMain; // oGy_WorkTimes.Show(); // break; //case "kf_lackmaterialanalyse": // KF_LackMaterialAnalyse oKF_LackMaterialAnalyse = new KF_LackMaterialAnalyse(); // oKF_LackMaterialAnalyse.MdiParent = oMain; // oKF_LackMaterialAnalyse.ModCaption = gnmc; // oKF_LackMaterialAnalyse.Show(); // break; //case "sc_planmaterreadyanalyse": // Sc_PlanMaterReadyAnalyse oSc_PlanMaterReadyAnalyse = new Sc_PlanMaterReadyAnalyse(); // oSc_PlanMaterReadyAnalyse.MdiParent = oMain; // oSc_PlanMaterReadyAnalyse.ModCaption = gnmc; // oSc_PlanMaterReadyAnalyse.Show(); // break; //case "k3_icmosetworkcenterlist": // K3_ICMOSetWorkCenterList oK3_ICMOSetWorkCenterList = new K3_ICMOSetWorkCenterList(); // oK3_ICMOSetWorkCenterList.MdiParent = oMain; // oK3_ICMOSetWorkCenterList.ModCaption = gnmc; // oK3_ICMOSetWorkCenterList.Show(); // break; //case "sc_icmoreportbill": // Sc_ICMOReportBill oSc_ICMOReportBill = new Sc_ICMOReportBill(); // oSc_ICMOReportBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ICMOReportBill.ModCaption = gnmc; // oSc_ICMOReportBill.ShowDialog(); // break; //case "sc_icmoreportbilllist": // Sc_ICMOReportBillList oSc_ICMOReportBillList = new Sc_ICMOReportBillList(); // oSc_ICMOReportBillList.MdiParent = oMain; // oSc_ICMOReportBillList.ModCaption = gnmc; // oSc_ICMOReportBillList.Show(); // break; //case "sc_icmopausebill": // Sc_ICMOPauseBill oSc_ICMOPauseBill = new Sc_ICMOPauseBill(); // oSc_ICMOPauseBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ICMOPauseBill.ModCaption = gnmc; // oSc_ICMOPauseBill.ShowDialog(); // break; //case "sc_icmopausebilllist": // Sc_ICMOPauseBillList oSc_ICMOPauseBillList = new Sc_ICMOPauseBillList(); // oSc_ICMOPauseBillList.MdiParent = oMain; // oSc_ICMOPauseBillList.ModCaption = gnmc; // oSc_ICMOPauseBillList.Show(); // break; //case "sc_dayreport": // Sc_DayReport oSc_DayReport = new Sc_DayReport(); // oSc_DayReport.MdiParent = oMain; // oSc_DayReport.ModCaption = gnmc; // oSc_DayReport.Show(); // break; //case "sc_monthreport": // Sc_MonthReport oSc_MonthReport = new Sc_MonthReport(); // oSc_MonthReport.MdiParent = oMain; // oSc_MonthReport.ModCaption = gnmc; // oSc_MonthReport.Show(); // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion //#region É豸¹ÜÀí //public void Zxxymk_SBGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "sb_equiprepairworkbill": // // // Sb_EquipRepairWorkBill oSb_EquipRepairWorkBill = new Sb_EquipRepairWorkBill(); // oSb_EquipRepairWorkBill.ShowDialog(); // break; // case "sb_equiprepairworkbilllist": // //ȨÏÞ // Sb_EquipRepairWorkBillList oSb_EquipRepairWorkBillList = new Sb_EquipRepairWorkBillList(); // oSb_EquipRepairWorkBillList.MdiParent = oMain; // oSb_EquipRepairWorkBillList.Show(); // break; // case "sb_equiprepairrequestbill": // // // Sb_EquipRepairRequestBill oSb_EquipRepairRequestBill = new Sb_EquipRepairRequestBill(); // oSb_EquipRepairRequestBill.ShowDialog(); // break; // case "sb_equiprepairrequestbilllist": // //ȨÏÞ // Sb_EquipRepairRequestBillList oSb_EquipRepairRequestBillList = new Sb_EquipRepairRequestBillList(); // oSb_EquipRepairRequestBillList.MdiParent = oMain; // oSb_EquipRepairRequestBillList.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region Ó¦ÊÕϵͳ //public void Zxxymk_YSGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "ys_receivebill": // YS_ReceiveBill oYS_ReceiveBill = new YS_ReceiveBill(); // oYS_ReceiveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYS_ReceiveBill.ShowDialog(); // break; // case "ys_receivebilllist": // YS_ReceiveBillList oYS_ReceiveBillList = new YS_ReceiveBillList(); // oYS_ReceiveBillList.MdiParent = oMain; // oYS_ReceiveBillList.Show(); // break; // // // case "ys_receivebeforebill": // YS_ReceiveBeforeBill oYS_ReceiveBeforeBill = new YS_ReceiveBeforeBill(); // oYS_ReceiveBeforeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYS_ReceiveBeforeBill.ShowDialog(); // break; // case "ys_receivebeforebilllist": // YS_ReceiveBeforeBillList oYS_ReceiveBeforeBillList = new YS_ReceiveBeforeBillList(); // oYS_ReceiveBeforeBillList.MdiParent = oMain; // oYS_ReceiveBeforeBillList.Show(); // break; // // // case "ys_receivebackbill": // YS_ReceiveBackBill oYS_ReceiveBackBill = new YS_ReceiveBackBill(); // oYS_ReceiveBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYS_ReceiveBackBill.ShowDialog(); // break; // case "ys_receivebackbilllist": // YS_ReceiveBackBillList oYS_ReceiveBackBillList = new YS_ReceiveBackBillList(); // oYS_ReceiveBackBillList.MdiParent = oMain; // oYS_ReceiveBackBillList.Show(); // break; // // // case "ys_receiveotherbill": // YS_ReceiveOtherBill oYS_ReceiveOtherBill = new YS_ReceiveOtherBill(); // oYS_ReceiveOtherBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYS_ReceiveOtherBill.ShowDialog(); // break; // case "ys_receiveotherbilllist": // YS_ReceiveOtherBillList oYS_ReceiveOtherBillList = new YS_ReceiveOtherBillList(); // oYS_ReceiveOtherBillList.MdiParent = oMain; // oYS_ReceiveOtherBillList.Show(); // break; // // // case "ys_receiveshouldbill": // YS_ReceiveShouldBill oYS_ReceiveShouldBill = new YS_ReceiveShouldBill(); // oYS_ReceiveShouldBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYS_ReceiveShouldBill.ShowDialog(); // break; // case "ys_receiveshouldbilllist": // YS_ReceiveShouldBillList oYS_ReceiveShouldBillList = new YS_ReceiveShouldBillList(); // oYS_ReceiveShouldBillList.MdiParent = oMain; // oYS_ReceiveShouldBillList.Show(); // break; // case "a3_receivebilllist": // A3_ReceiveBillList oA3_ReceiveBillList = new A3_ReceiveBillList(); // oA3_ReceiveBillList.MdiParent = oMain; // oA3_ReceiveBillList.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region Ó¦¸¶ÏµÍ³ //public void Zxxymk_YFGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "yf_paymentotherbill": // YF_PayMentOtherBill oYF_PayMentOtherBill = new YF_PayMentOtherBill(); // oYF_PayMentOtherBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYF_PayMentOtherBill.ShowDialog(); // break; // case "yf_paymentotherbilllist": // YF_PayMentOtherBillList oYF_PayMentOtherBillList = new YF_PayMentOtherBillList(); // oYF_PayMentOtherBillList.MdiParent = oMain; // oYF_PayMentOtherBillList.Show(); // break; // // // case "yf_paymentshouldbill": // YF_PayMentShouldBill oYF_PayMentShouldBill = new YF_PayMentShouldBill(); // oYF_PayMentShouldBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYF_PayMentShouldBill.ShowDialog(); // break; // case "yf_paymentshouldbilllist": // YF_PayMentShouldBillList oYF_PayMentShouldBillList = new YF_PayMentShouldBillList(); // oYF_PayMentShouldBillList.MdiParent = oMain; // oYF_PayMentShouldBillList.Show(); // break; // case "yf_paymentbill": // YF_PayMentBill oYF_PayMentBill = new YF_PayMentBill(); // oYF_PayMentBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYF_PayMentBill.ShowDialog(); // break; // case "yf_paymentbilllist": // YF_PayMentBillList oYF_PayMentBillList = new YF_PayMentBillList(); // oYF_PayMentBillList.MdiParent = oMain; // oYF_PayMentBillList.Show(); // break; // // // case "yf_paymentbeforebill": // YF_PayMentBeforeBill oYF_PayMentBeforeBill = new YF_PayMentBeforeBill(); // oYF_PayMentBeforeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYF_PayMentBeforeBill.ShowDialog(); // break; // case "yf_paymentbeforebilllist": // YF_PayMentBeforeBillList oYF_PayMentBeforeBillList = new YF_PayMentBeforeBillList(); // oYF_PayMentBeforeBillList.MdiParent = oMain; // oYF_PayMentBeforeBillList.Show(); // break; // // // case "yf_paymentbackbill": // YF_PayMentBackBill oYF_PayMentBackBill = new YF_PayMentBackBill(); // oYF_PayMentBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oYF_PayMentBackBill.ShowDialog(); // break; // case "yf_paymentbackbilllist": // YF_PayMentBackBillList oYF_PayMentBackBillList = new YF_PayMentBackBillList(); // oYF_PayMentBackBillList.MdiParent = oMain; // oYF_PayMentBackBillList.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ³É±¾ÏµÍ³ //public void Zxxymk_CBXT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "gy_datain_hotwater": // //ȨÏÞ // Gy_DataIn_HotWater oGy_DataIn_HotWater = new Gy_DataIn_HotWater(); // oGy_DataIn_HotWater.MdiParent = oMain; // oGy_DataIn_HotWater.Show(); // break; // case "gy_datain_houseno1": // //ȨÏÞ // Gy_DataIn_HouseNo1 oGy_DataIn_HouseNo1 = new Gy_DataIn_HouseNo1(); // oGy_DataIn_HouseNo1.MdiParent = oMain; // oGy_DataIn_HouseNo1.Show(); // break; // case "gy_datain_houseno2": // //ȨÏÞ // Gy_DataIn_HouseNo2 oGy_DataIn_HouseNo2 = new Gy_DataIn_HouseNo2(); // oGy_DataIn_HouseNo2.MdiParent = oMain; // oGy_DataIn_HouseNo2.Show(); // break; // case "cb_itemmoneybill_tmplist": // //ȨÏÞ // CB_ItemMoneyBill_TmpList oCB_ItemMoneyBill_TmpList = new CB_ItemMoneyBill_TmpList(); // oCB_ItemMoneyBill_TmpList.MdiParent = oMain; // oCB_ItemMoneyBill_TmpList.Show(); // break; // case "cb_itemmoneybilllist": // //ȨÏÞ // CB_ItemMoneyBillList oCB_ItemMoneyBillList = new CB_ItemMoneyBillList(); // oCB_ItemMoneyBillList.MdiParent = oMain; // oCB_ItemMoneyBillList.Show(); // break; // case "cb_itemmoneybill": // // // CB_ItemMoneyBill oCB_ItemMoneyBill = new CB_ItemMoneyBill(); // oCB_ItemMoneyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCB_ItemMoneyBill.ShowDialog(); // break; // //========±ê×¼³É±¾ // case "cb_bomcost"://±ê×¼³É±¾ // //ȨÏÞ // CB_BOMCost oCB_BOMCost = new CB_BOMCost(); // oCB_BOMCost.MdiParent = oMain; // oCB_BOMCost.Show(); // break; // case "cb_stdbomcost"://±ê×¼³É±¾ // //ȨÏÞ // CB_StdBOMCost oCB_StdBOMCost = new CB_StdBOMCost(); // oCB_StdBOMCost.MdiParent = oMain; // oCB_StdBOMCost.Show(); // break; // case "cb_paymoneycostlist"://¹¤×ʺËËã // //ȨÏÞ // CB_PayMoneyCostList oCB_PayMoneyCostList = new CB_PayMoneyCostList(); // oCB_PayMoneyCostList.MdiParent = oMain; // oCB_PayMoneyCostList.Show(); // break; // case "cb_itemmoneycostlist"://·ÑÓúËËã // //ȨÏÞ // CB_ItemMoneyCostList oCB_ItemMoneyCostList = new CB_ItemMoneyCostList(); // oCB_ItemMoneyCostList.MdiParent = oMain; // oCB_ItemMoneyCostList.Show(); // break; // case "cb_accmateoutpricelist"://²ÄÁϳɱ¾ºËËã // //ȨÏÞ // CB_AccMateOutPriceList oCB_AccMateOutPriceList = new CB_AccMateOutPriceList(); // oCB_AccMateOutPriceList.MdiParent = oMain; // oCB_AccMateOutPriceList.Show(); // break; // case "cb_entrustmoneycostlist"://ίÍâ³É±¾ºËËã // //ȨÏÞ // CB_EntrustMoneyCostList oCB_EntrustMoneyCostList = new CB_EntrustMoneyCostList(); // oCB_EntrustMoneyCostList.MdiParent = oMain; // oCB_EntrustMoneyCostList.Show(); // break; // case "cb_initpaymoneycost":// // //ȨÏÞ // CB_InitPayMoneyCost oCB_InitPayMoneyCost = new CB_InitPayMoneyCost(); // oCB_InitPayMoneyCost.MdiParent = oMain; // oCB_InitPayMoneyCost.Show(); // break; // case "cb_initmatermoneycost":// // //ȨÏÞ // CB_InitMaterMoneyCost oCB_InitMaterMoneyCost = new CB_InitMaterMoneyCost(); // oCB_InitMaterMoneyCost.MdiParent = oMain; // oCB_InitMaterMoneyCost.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion #region ²Ö¿âϵͳ public void Zxxymk_CKXT(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //case "edi_bwm_envelopreclist": // //ȨÏÞ // EDI_BWM_EnvelopRecList oEDI_BWM_EnvelopRecList = new EDI_BWM_EnvelopRecList(); // oEDI_BWM_EnvelopRecList.MdiParent = oMain; // oEDI_BWM_EnvelopRecList.Show(); // break; //case "gy_edi_bwm_enveloprec_csv": // //ȨÏÞ // Gy_EDI_BWM_EnvelopRec_CSV oGy_EDI_BWM_EnvelopRec_CSV = new Gy_EDI_BWM_EnvelopRec_CSV(); // oGy_EDI_BWM_EnvelopRec_CSV.MdiParent = oMain; // oGy_EDI_BWM_EnvelopRec_CSV.Show(); // break; case "gy_matenumrelation": Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation(); oGy_MateNumRelation.MdiParent = oMain; oGy_MateNumRelation.Show(); break; //==================================½ðµû //========================================================== //case "sc_assemblybilllist": // //ȨÏÞ // Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList(); // oSc_AssemblyBillList.MdiParent = oMain; // oSc_AssemblyBillList.Show(); // 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 "xs_sedownstockbilllist": // //ȨÏÞ // Xs_SeDownStockBillList oXs_SeDownStockBillList = new Xs_SeDownStockBillList(); // oXs_SeDownStockBillList.MdiParent = oMain; // oXs_SeDownStockBillList.Show(); // break; //case "xs_sedownstockbill": // // // Xs_SeDownStockBill oXs_SeDownStockBill = new Xs_SeDownStockBill(); // oXs_SeDownStockBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeDownStockBill.ShowDialog(); // break; //case "kf_weightcheckdlg": // // // Kf_WeightCheckDlg oKf_WeightCheckDlg = new Kf_WeightCheckDlg(); // oKf_WeightCheckDlg.ShowDialog(); // break; //case "gy_traytype": // //ȨÏÞ // Gy_TrayType oGy_TrayType = new Gy_TrayType(); // oGy_TrayType.MdiParent = oMain; // oGy_TrayType.Show(); // break; //case "k3_stockplacelist": // //ȨÏÞ // K3_StockPlaceList oK3_StockPlaceList = new K3_StockPlaceList(); // oK3_StockPlaceList.MdiParent = oMain; // oK3_StockPlaceList.Show(); // break; //case "kf_mesledboard": // //ȨÏÞ // Kf_MESLedBoard oKf_MESLedBoard = new Kf_MESLedBoard(); // oKf_MESLedBoard.MdiParent = oMain; // oKf_MESLedBoard.Show(); // break; case "kf_icinventory_barcode": //ȨÏÞ Kf_ICInventory_BarCode oKf_ICInventory_BarCode = new Kf_ICInventory_BarCode(); oKf_ICInventory_BarCode.MdiParent = oMain; oKf_ICInventory_BarCode.Show(); break; //case "k3_seoutstockbilllist_fifo": // //ȨÏÞ // K3_SeOutStockBillList_FIFO oK3_SeOutStockBillList_FIFO = new K3_SeOutStockBillList_FIFO(); // oK3_SeOutStockBillList_FIFO.MdiParent = oMain; // oK3_SeOutStockBillList_FIFO.Show(); // break; //case "xs_sedownstockbilllist_fifo": // //ȨÏÞ // Xs_SeDownStockBillList_FIFO oXs_SeDownStockBillList_FIFO = new Xs_SeDownStockBillList_FIFO(); // oXs_SeDownStockBillList_FIFO.MdiParent = oMain; // oXs_SeDownStockBillList_FIFO.Show(); // break; //======================== // //case "k3_icmolist": // // // K3_ICMOList oK3_ICMOList = new K3_ICMOList(); // oK3_ICMOList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oK3_ICMOList.ShowDialog(); // break; //case "k3_poinstocklist": // // // K3_PoinStockList oK3_PoinStockList = new K3_PoinStockList(); // oK3_PoinStockList.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oK3_PoinStockList.ShowDialog(); // break; case "gy_barcodebilllist": //ȨÏÞ Gy_BarCodeBillList oGy_BarCodeBillList = new Gy_BarCodeBillList(); oGy_BarCodeBillList.MdiParent = oMain; oGy_BarCodeBillList.Show(); break; case "kf_barcodebackinforeport_materout": //ȨÏÞ Kf_BarCodeBackInfoReport_MaterOut oKf_BarCodeBackInfoReport_MaterOut = new Kf_BarCodeBackInfoReport_MaterOut(); oKf_BarCodeBackInfoReport_MaterOut.MdiParent = oMain; oKf_BarCodeBackInfoReport_MaterOut.Show(); break; case "kf_barcodebackinforeport_materout_m": //ȨÏÞ Kf_BarCodeBackInfoReport_MaterOut_M oKf_BarCodeBackInfoReport_MaterOut_M = new Kf_BarCodeBackInfoReport_MaterOut_M(); oKf_BarCodeBackInfoReport_MaterOut_M.MdiParent = oMain; oKf_BarCodeBackInfoReport_MaterOut_M.Show(); break; case "kf_barcodeoutinreport": //ȨÏÞ Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new Kf_BarCodeOutInReport(); oKf_BarCodeOutInReport.MdiParent = oMain; oKf_BarCodeOutInReport.Show(); break; //========================================================== case "kf_entrustcheckstockbilllist": //ȨÏÞ Kf_EntrustCheckStockBillList oKf_EntrustCheckStockBillList = new Kf_EntrustCheckStockBillList(); oKf_EntrustCheckStockBillList.MdiParent = oMain; oKf_EntrustCheckStockBillList.Show(); break; case "kf_entrustcheckstockbill": // Kf_EntrustCheckStockBill oKf_EntrustCheckStockBill = new Kf_EntrustCheckStockBill(); oKf_EntrustCheckStockBill.ShowDialog(); break; //==================================½ðµû //case "kf_entrustinbill_k3": // // // Kf_EntrustInBill_K3 oKf_EntrustInBill_K3 = new Kf_EntrustInBill_K3(); // oKf_EntrustInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_EntrustInBill_K3.ShowDialog(); // break; //case "kf_entrustinbilllist_k3": // //ȨÏÞ // Kf_EntrustInBillList_K3 oKf_EntrustInBillList_K3 = new Kf_EntrustInBillList_K3(); // oKf_EntrustInBillList_K3.MdiParent = oMain; // oKf_EntrustInBillList_K3.Show(); // break; //case "kf_entrustoutbill_k3": // // // Kf_EntrustOutBill_K3 oKf_EntrustOutBill_K3 = new Kf_EntrustOutBill_K3(); // oKf_EntrustOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_EntrustOutBill_K3.ShowDialog(); // break; //case "kf_entrustoutbilllist_k3": // //ȨÏÞ // Kf_EntrustOutBillList_K3 oKf_EntrustOutBillList_K3 = new Kf_EntrustOutBillList_K3(); // oKf_EntrustOutBillList_K3.MdiParent = oMain; // oKf_EntrustOutBillList_K3.Show(); // break; //case "kf_movestockbill_k3": // // // Kf_MoveStockBill_K3 oKf_MoveStockBill_K3 = new Kf_MoveStockBill_K3(); // oKf_MoveStockBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_MoveStockBill_K3.ShowDialog(); // break; //case "kf_movestockbilllist_k3": // //ȨÏÞ // Kf_MoveStockBillList_K3 oKf_MoveStockBillList_K3 = new Kf_MoveStockBillList_K3(); // oKf_MoveStockBillList_K3.MdiParent = oMain; // oKf_MoveStockBillList_K3.Show(); // break; //case "kf_productinbill_k3": // // // Kf_ProductInBill_K3 oKf_ProductInBill_K3 = new Kf_ProductInBill_K3(); // oKf_ProductInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_ProductInBill_K3.ShowDialog(); // break; //case "kf_productinbilllist_k3": // //ȨÏÞ // Kf_ProductInBillList_K3 oKf_ProductInBillList_K3 = new Kf_ProductInBillList_K3(); // oKf_ProductInBillList_K3.MdiParent = oMain; // oKf_ProductInBillList_K3.Show(); // break; //case "kf_otheroutbill_k3": // // // Kf_OtherOutBill_K3 oKf_OtherOutBill_K3 = new Kf_OtherOutBill_K3(); // oKf_OtherOutBill_K3.ShowDialog(); // break; //case "kf_otheroutbilllist_k3": // //ȨÏÞ // Kf_OtherOutBillList_K3 oKf_OtherOutBillList_K3 = new Kf_OtherOutBillList_K3(); // oKf_OtherOutBillList_K3.MdiParent = oMain; // oKf_OtherOutBillList_K3.Show(); // break; //case "kf_otherinbill_k3": // // // Kf_OtherInBill_K3 oKf_OtherInBill_K3 = new Kf_OtherInBill_K3(); // oKf_OtherInBill_K3.ShowDialog(); // break; //case "kf_otherinbilllist_k3": // //ȨÏÞ // Kf_OtherInBillList_K3 oKf_OtherInBillList_K3 = new Kf_OtherInBillList_K3(); // oKf_OtherInBillList_K3.MdiParent = oMain; // oKf_OtherInBillList_K3.Show(); // break; //case "kf_mateoutbill_k3": // // // Kf_MateOutBill_K3 oKf_MateOutBill_K3 = new Kf_MateOutBill_K3(); // oKf_MateOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_MateOutBill_K3.ShowDialog(); // break; //case "kf_mateoutbilllist_k3": // //ȨÏÞ // Kf_MateOutBillList_K3 oKf_MateOutBillList_K3 = new Kf_MateOutBillList_K3(); // oKf_MateOutBillList_K3.MdiParent = oMain; // oKf_MateOutBillList_K3.Show(); // break; //case "kf_selloutbill_k3": // // // Kf_SellOutBill_K3 oKf_SellOutBill_K3 = new Kf_SellOutBill_K3(); // oKf_SellOutBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_SellOutBill_K3.ShowDialog(); // break; //case "kf_selloutbilllist_k3": // //ȨÏÞ // Kf_SellOutBillList_K3 oKf_SellOutBillList_K3 = new Kf_SellOutBillList_K3(); // oKf_SellOutBillList_K3.MdiParent = oMain; // oKf_SellOutBillList_K3.Show(); // break; //case "kf_postockinbill_k3": // // // Kf_POStockInBill_K3 oKf_POStockInBill_K3 = new Kf_POStockInBill_K3(); // oKf_POStockInBill_K3.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_POStockInBill_K3.ShowDialog(); // break; case "sc_assemblybilllist": //ȨÏÞ Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList(); oSc_AssemblyBillList.MdiParent = oMain; oSc_AssemblyBillList.Show(); 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_postockinbilllist_k3": // //ȨÏÞ // Kf_POStockInBillList_K3 oKf_POStockInBillList_K3 = new Kf_POStockInBillList_K3(); // oKf_POStockInBillList_K3.MdiParent = oMain; // oKf_POStockInBillList_K3.Show(); // break; ////======================== //case "cg_poinstockbillquery_k3": // //ȨÏÞ // Cg_POInStockBillQuery_K3 oCg_POInStockBillQuery_K3 = new Cg_POInStockBillQuery_K3(); // oCg_POInStockBillQuery_K3.MdiParent = oMain; // oCg_POInStockBillQuery_K3.Show(); // break; //case "cg_pooutstockbillquery_k3": // //ȨÏÞ // Cg_POOutStockBillQuery_K3 oCg_POOutStockBillQuery_K3 = new Cg_POOutStockBillQuery_K3(); // oCg_POOutStockBillQuery_K3.MdiParent = oMain; // oCg_POOutStockBillQuery_K3.Show(); // break; //case "sc_icmobillquery_k3": // //ȨÏÞ // SC_ICMOBillQuery_K3 oSC_ICMOBillQuery_K3 = new SC_ICMOBillQuery_K3(); // oSC_ICMOBillQuery_K3.MdiParent = oMain; // oSC_ICMOBillQuery_K3.Show(); // break; //case "ww_entrustorderbillquery_k3": // //ȨÏÞ // WW_EntrustOrderBillQuery_K3 oWW_EntrustOrderBillQuery_K3 = new WW_EntrustOrderBillQuery_K3(); // oWW_EntrustOrderBillQuery_K3.MdiParent = oMain; // oWW_EntrustOrderBillQuery_K3.Show(); // break; //case "xs_seinstockbillquery_k3": // //ȨÏÞ // Xs_SeInStockBillQuery_K3 oXs_SeInStockBillQuery_K3 = new Xs_SeInStockBillQuery_K3(); // oXs_SeInStockBillQuery_K3.MdiParent = oMain; // oXs_SeInStockBillQuery_K3.Show(); // break; //case "xs_seoutstockbillquery_k3": // //ȨÏÞ // Xs_SeOutStockBillQuery_K3 oXs_SeOutStockBillQuery_K3 = new Xs_SeOutStockBillQuery_K3(); // oXs_SeOutStockBillQuery_K3.MdiParent = oMain; // oXs_SeOutStockBillQuery_K3.Show(); // break; ////========================================================== //case "sc_icmobilllist_k3": // //ȨÏÞ // Sc_ICMOBillList_K3 oSc_ICMOBillList_K3 = new Sc_ICMOBillList_K3(); // oSc_ICMOBillList_K3.MdiParent = oMain; // oSc_ICMOBillList_K3.Show(); // break; //case "sc_icmobill_k3": // // // Sc_ICMOBill_K3 oSc_ICMOBill_K3 = new Sc_ICMOBill_K3(); // oSc_ICMOBill_K3.ShowDialog(); // break; //===================================ίÍâ¹ÜÀí case "kf_initstockbill_ww": //ȨÏÞ Kf_InitStockBill_WW oKf_InitStockBill_WW = new Kf_InitStockBill_WW(); oKf_InitStockBill_WW.MdiParent = oMain; oKf_InitStockBill_WW.Show(); break; case "sc_cgkb": //ȨÏÞ Sc_CGKB oSc_CGKB = new Sc_CGKB(); oSc_CGKB.MdiParent = oMain; oSc_CGKB.Show(); break; case "sc_cjkb": //ȨÏÞ Sc_CJKB oSc_CJKB = new Sc_CJKB(); oSc_CJKB.MdiParent = oMain; oSc_CJKB.Show(); break; case "sc_qlkb": //ȨÏÞ Sc_QLKB oSc_QLKB = new Sc_QLKB(); oSc_QLKB.MdiParent = oMain; oSc_QLKB.Show(); break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion #region ´æ»õºËËã public void Zxxymk_CHHS(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion //#region ²É¹ºÏµÍ³ //public void Zxxymk_CGXT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // //========================== // case "cg_contractbilllist": // //ȨÏÞ // Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList(); // oCg_ContractBillList.MdiParent = oMain; // oCg_ContractBillList.Show(); // break; // case "cg_contractbill": // // // Cg_ContractBill oCg_ContractBill = new Cg_ContractBill(); // oCg_ContractBill.ShowDialog(); // break; // case "cg_porequestpricebilllist": // //ȨÏÞ // Cg_PORequestPriceBillList oCg_PORequestPriceBillList = new Cg_PORequestPriceBillList(); // oCg_PORequestPriceBillList.MdiParent = oMain; // oCg_PORequestPriceBillList.Show(); // break; // case "cg_porequestpricebill": // // // Cg_PORequestPriceBill oCg_PORequestPriceBill = new Cg_PORequestPriceBill(); // oCg_PORequestPriceBill.ShowDialog(); // break; // case "kf_postockinbilllist": // //ȨÏÞ // Kf_POStockInBillList oKf_POStockInBillList = new Kf_POStockInBillList(); // oKf_POStockInBillList.MdiParent = oMain; // oKf_POStockInBillList.Show(); // break; // case "kf_postockinbill": // // // Kf_POStockInBill oKf_POStockInBill = new Kf_POStockInBill(); // oKf_POStockInBill.ShowDialog(); // break; // case "cg_poorderbilllist": // //ȨÏÞ // Cg_POOrderBillList oCg_POOrderBillList = new Cg_POOrderBillList(); // oCg_POOrderBillList.MdiParent = oMain; // oCg_POOrderBillList.Show(); // break; // case "cg_poorderbill": // // // Cg_POOrderBill oCg_POOrderBill = new Cg_POOrderBill(); // oCg_POOrderBill.ShowDialog(); // break; // case "cg_poinstockbilllist": // //ȨÏÞ // Cg_POInStockBillList oCg_POInStockBillList = new Cg_POInStockBillList(); // oCg_POInStockBillList.MdiParent = oMain; // oCg_POInStockBillList.Show(); // break; // case "cg_poinstockbill": // // // Cg_POInStockBill oCg_POInStockBill = new Cg_POInStockBill(); // oCg_POInStockBill.ShowDialog(); // break; // case "cg_poinstockbackbilllist": // //ȨÏÞ // Cg_POInStockBackBillList oCg_POInStockBackBillList = new Cg_POInStockBackBillList(); // oCg_POInStockBackBillList.MdiParent = oMain; // oCg_POInStockBackBillList.Show(); // break; // case "cg_poinstockbackbill": // // // Cg_POInStockBackBill oCg_POInStockBackBill = new Cg_POInStockBackBill(); // oCg_POInStockBackBill.ShowDialog(); // break; // case "cg_porequestbilllist": // //ȨÏÞ // Cg_PORequestBillList oCg_PORequestBillList = new Cg_PORequestBillList(); // oCg_PORequestBillList.MdiParent = oMain; // oCg_PORequestBillList.Show(); // break; // case "cg_porequestbill": // // // Cg_PORequestBill oCg_PORequestBill = new Cg_PORequestBill(); // oCg_PORequestBill.ShowDialog(); // break; // case "cg_invoicebilllist": // //ȨÏÞ // Cg_InvoiceBillList oCg_InvoiceBillList = new Cg_InvoiceBillList(); // oCg_InvoiceBillList.MdiParent = oMain; // oCg_InvoiceBillList.Show(); // break; // case "cg_invoicebill": // // // Cg_InvoiceBill oCg_InvoiceBill = new Cg_InvoiceBill(); // oCg_InvoiceBill.ShowDialog(); // oCg_InvoiceBill.Dispose(); // break; // //case "cg_contractbilllist": // // //ȨÏÞ // // Cg_ContractBillList oCg_ContractBillList = new Cg_ContractBillList(); // // oCg_ContractBillList.MdiParent = oMain; // // oCg_ContractBillList.Show(); // // break; // //case "cg_contractbill": // // // // // Cg_ContractBill oCg_ContractBill = new Cg_ContractBill(); // // oCg_ContractBill.ShowDialog(); // // oCg_ContractBill.Dispose(); // // break; // case "cg_invoicespecbilllist": // //ȨÏÞ // Cg_InvoiceSpecBillList oCg_InvoiceSpecBillList = new Cg_InvoiceSpecBillList(); // oCg_InvoiceSpecBillList.MdiParent = oMain; // oCg_InvoiceSpecBillList.Show(); // break; // case "cg_invoicespecbill": // // // Cg_InvoiceSpecBill oCg_InvoiceSpecBill = new Cg_InvoiceSpecBill(); // oCg_InvoiceSpecBill.ShowDialog(); // break; // case "cg_cgdetailreport": // //ȨÏÞ // Cg_CgDetailReport oCg_CgDetailReport = new Cg_CgDetailReport(); // oCg_CgDetailReport.MdiParent = oMain; // oCg_CgDetailReport.Show(); // break; // case "cg_cgpoorderbilllist": // //ȨÏÞ // Cg_CgPOOrderBillList oCg_CgPOOrderBillList = new Cg_CgPOOrderBillList(); // oCg_CgPOOrderBillList.MdiParent = oMain; // oCg_CgPOOrderBillList.Show(); // break; // case "cg_cgpoorderprocreport": // //ȨÏÞ // Cg_CgPOOrderProcReport oCg_CgPOOrderProcReport = new Cg_CgPOOrderProcReport(); // oCg_CgPOOrderProcReport.MdiParent = oMain; // oCg_CgPOOrderProcReport.Show(); // break; // case "cg_cgpriceanalysereport": // //ȨÏÞ // Cg_CgPriceAnalyseReport oCg_CgPriceAnalyseReport = new Cg_CgPriceAnalyseReport(); // oCg_CgPriceAnalyseReport.MdiParent = oMain; // oCg_CgPriceAnalyseReport.Show(); // break; // case "cg_cgsumreport": // //ȨÏÞ // Cg_CgSumReport oCg_CgSumReport = new Cg_CgSumReport(); // oCg_CgSumReport.MdiParent = oMain; // oCg_CgSumReport.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ÏúÊÛϵͳ //public void Zxxymk_XSXT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "xs_sellplanexecutebill": // Xs_SellPlanExecuteBill oXs_SellPlanExecuteBill = new Xs_SellPlanExecuteBill(); // oXs_SellPlanExecuteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SellPlanExecuteBill.ModCaption = gnmc; // oXs_SellPlanExecuteBill.ShowDialog(); // break; // case "xs_sellplanexecutebilllist": // Xs_SellPlanExecuteBillList oXs_SellPlanExecuteBillList = new Xs_SellPlanExecuteBillList(); // oXs_SellPlanExecuteBillList.MdiParent = oMain; // oXs_SellPlanExecuteBillList.ModCaption = gnmc; // oXs_SellPlanExecuteBillList.Show(); // break; // //========================= // case "xs_seorderbilllist_k3": // //ȨÏÞ // Xs_SeOrderBillList_K3 oXs_SeOrderBillList_K3 = new Xs_SeOrderBillList_K3(); // oXs_SeOrderBillList_K3.MdiParent = oMain; // oXs_SeOrderBillList_K3.Show(); // break; // case "xs_seorderbill_k3": // // // Xs_SeOrderBill_K3 oXs_SeOrderBill_K3 = new Xs_SeOrderBill_K3(); // oXs_SeOrderBill_K3.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeOrderBill_K3.ShowDialog(); // break; // //======================================================== // case "kf_selloutbilllist": // //ȨÏÞ // Kf_SellOutBillList oKf_SellOutBillList = new Kf_SellOutBillList(); // oKf_SellOutBillList.MdiParent = oMain; // oKf_SellOutBillList.Show(); // break; // case "kf_selloutbill": // // // Kf_SellOutBill oKf_SellOutBill = new Kf_SellOutBill(); // oKf_SellOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_SellOutBill.ShowDialog(); // break; // case "xs_sellplanbilllist": // //ȨÏÞ // Xs_SellPlanBillList oXs_SellPlanBillList = new Xs_SellPlanBillList(); // oXs_SellPlanBillList.MdiParent = oMain; // oXs_SellPlanBillList.Show(); // break; // case "xs_sellplanbill": // // // Xs_SellPlanBill oXs_SellPlanBill = new Xs_SellPlanBill(); // oXs_SellPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SellPlanBill.ShowDialog(); // break; // case "xs_contractbilllist": // //ȨÏÞ // Xs_ContractBillList oXs_ContractBillList = new Xs_ContractBillList(); // oXs_ContractBillList.MdiParent = oMain; // oXs_ContractBillList.Show(); // break; // case "xs_contractbill": // // // Xs_ContractBill oXs_ContractBill = new Xs_ContractBill(); // oXs_ContractBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_ContractBill.ShowDialog(); // break; // case "xs_seorderbilllist": // //ȨÏÞ // Xs_SeOrderBillList oXs_SeOrderBillList = new Xs_SeOrderBillList(); // oXs_SeOrderBillList.MdiParent = oMain; // oXs_SeOrderBillList.Show(); // break; // case "xs_seorderbill": // // // Xs_SeOrderBill oXs_SeOrderBill = new Xs_SeOrderBill(); // oXs_SeOrderBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeOrderBill.ShowDialog(); // break; // case "xs_seoutstockbilllist": // //ȨÏÞ // Xs_SeOutStockBillList oXs_SeOutStockBillList = new Xs_SeOutStockBillList(); // oXs_SeOutStockBillList.MdiParent = oMain; // oXs_SeOutStockBillList.Show(); // break; // case "xs_seoutstockbill": // // // Xs_SeOutStockBill oXs_SeOutStockBill = new Xs_SeOutStockBill(); // oXs_SeOutStockBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeOutStockBill.ShowDialog(); // break; // case "xs_seoutstockbackbilllist": // //ȨÏÞ // Xs_SeOutStockBackBillList oXs_SeOutStockBackBillList = new Xs_SeOutStockBackBillList(); // oXs_SeOutStockBackBillList.MdiParent = oMain; // oXs_SeOutStockBackBillList.Show(); // break; // case "xs_seoutstockbackbill": // // // Xs_SeOutStockBackBill oXs_SeOutStockBackBill = new Xs_SeOutStockBackBill(); // oXs_SeOutStockBackBill.ShowDialog(); // break; // case "xs_invoicebilllist": // //ȨÏÞ // Xs_InvoiceBillList oXs_InvoiceBillList = new Xs_InvoiceBillList(); // oXs_InvoiceBillList.MdiParent = oMain; // oXs_InvoiceBillList.Show(); // break; // case "xs_invoicebill": // // // Xs_InvoiceBill oXs_InvoiceBill = new Xs_InvoiceBill(); // oXs_InvoiceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_InvoiceBill.ShowDialog(); // break; // case "xs_invoicespecbilllist": // //ȨÏÞ // Xs_InvoiceSpecBillList oXs_InvoiceSpecBillList = new Xs_InvoiceSpecBillList(); // oXs_InvoiceSpecBillList.MdiParent = oMain; // oXs_InvoiceSpecBillList.Show(); // break; // case "xs_invoicespecbill": // // // Xs_InvoiceSpecBill oXs_InvoiceSpecBill = new Xs_InvoiceSpecBill(); // oXs_InvoiceSpecBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_InvoiceSpecBill.ShowDialog(); // break; // //===================================================== // case "a3_seorderbilllist": // A3_SeOrderBillList oA3_SeOrderBillList = new A3_SeOrderBillList(); // oA3_SeOrderBillList.MdiParent = oMain; // oA3_SeOrderBillList.ModCaption = gnmc; // oA3_SeOrderBillList.Show(); // break; // case "a3_selloutbilllist": // A3_SellOutBillList oA3_SellOutBillList = new A3_SellOutBillList(); // oA3_SellOutBillList.MdiParent = oMain; // oA3_SellOutBillList.ModCaption = gnmc; // oA3_SellOutBillList.Show(); // break; // //========================== // case "xs_selloutbill_cp_teechart": // Xs_SellOutBill_CP_TeeChart oXs_SellOutBill_CP_TeeChart = new Xs_SellOutBill_CP_TeeChart(); // oXs_SellOutBill_CP_TeeChart.MdiParent = oMain; // oXs_SellOutBill_CP_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_CP_TeeChart.Show(); // break; // case "xs_selloutbill_cus_teechart": // Xs_SellOutBill_Cus_TeeChart oXs_SellOutBill_Cus_TeeChart = new Xs_SellOutBill_Cus_TeeChart(); // oXs_SellOutBill_Cus_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Cus_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Cus_TeeChart.Show(); // break; // case "xs_selloutbill_mx_teechart": // Xs_SellOutBill_Mx_TeeChart oXs_SellOutBill_Mx_TeeChart = new Xs_SellOutBill_Mx_TeeChart(); // oXs_SellOutBill_Mx_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Mx_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Mx_TeeChart.Show(); // break; // case "xs_selloutbill_quyu_teechart": // Xs_SellOutBill_Quyu_TeeChart oXs_SellOutBill_Quyu_TeeChart = new Xs_SellOutBill_Quyu_TeeChart(); // oXs_SellOutBill_Quyu_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Quyu_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Quyu_TeeChart.Show(); // break; // case "xs_selloutbill_type_teechart": // Xs_SellOutBill_Type_TeeChart oXs_SellOutBill_Type_TeeChart = new Xs_SellOutBill_Type_TeeChart(); // oXs_SellOutBill_Type_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Type_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Type_TeeChart.Show(); // break; // case "xs_contactbal2_k3": // Xs_ContactBal2_K3 oXs_ContactBal2_K3 = new Xs_ContactBal2_K3(); // oXs_ContactBal2_K3.MdiParent = oMain; // oXs_ContactBal2_K3.ModCaption = gnmc; // oXs_ContactBal2_K3.Show(); // break; // case "xs_contactbal_k3": // Xs_ContactBal_K3 oXs_ContactBal_K3 = new Xs_ContactBal_K3(); // oXs_ContactBal_K3.MdiParent = oMain; // oXs_ContactBal_K3.ModCaption = gnmc; // oXs_ContactBal_K3.Show(); // break; // case "xs_selloutbill_cp2_teechart": // Xs_SellOutBill_CP2_TeeChart oXs_SellOutBill_CP2_TeeChart = new Xs_SellOutBill_CP2_TeeChart(); // oXs_SellOutBill_CP2_TeeChart.MdiParent = oMain; // oXs_SellOutBill_CP2_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_CP2_TeeChart.Show(); // break; // case "xs_selloutbill_cus2_teechart": // Xs_SellOutBill_Cus2_TeeChart oXs_SellOutBill_Cus2_TeeChart = new Xs_SellOutBill_Cus2_TeeChart(); // oXs_SellOutBill_Cus2_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Cus2_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Cus2_TeeChart.Show(); // break; // case "xs_selloutbill_mx2_teechart": // Xs_SellOutBill_Mx2_TeeChart oXs_SellOutBill_Mx2_TeeChart = new Xs_SellOutBill_Mx2_TeeChart(); // oXs_SellOutBill_Mx2_TeeChart.MdiParent = oMain; // oXs_SellOutBill_Mx2_TeeChart.ModCaption = gnmc; // oXs_SellOutBill_Mx2_TeeChart.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ÈËʹÜÀí //public void Zxxymk_HRGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "hr_empchangebilllist": // //ȨÏÞ // HR_EmpChangeBillList oHR_EmpChangeBillList = new HR_EmpChangeBillList(); // oHR_EmpChangeBillList.MdiParent = oMain; // oHR_EmpChangeBillList.Show(); // break; // case "hr_empchangebill": // // // HR_EmpChangeBill oHR_EmpChangeBill = new HR_EmpChangeBill(); // oHR_EmpChangeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oHR_EmpChangeBill.ShowDialog(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ÊÛºó¹ÜÀí //public void Zxxymk_SHXT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "crm_getneedcheckcusappealdisposebilllist": // Crm_GetNeedCheckCusAppealDisposeBillList oCrm_GetNeedCheckCusAppealDisposeBillList = new Crm_GetNeedCheckCusAppealDisposeBillList(); // oCrm_GetNeedCheckCusAppealDisposeBillList.MdiParent = oMain; // //oCrm_GetNeedCheckCusAppealDisposeBillList.ModCaption = gnmc; // oCrm_GetNeedCheckCusAppealDisposeBillList.Show(); // break; // case "crm_cusappealdisposebilllist": // //ȨÏÞ // Crm_CusAppealDisposeBillList oCrm_CusAppealDisposeBillList = new Crm_CusAppealDisposeBillList(); // oCrm_CusAppealDisposeBillList.MdiParent = oMain; // oCrm_CusAppealDisposeBillList.Show(); // break; // case "crm_cusappealdisposebill": // // // Crm_CusAppealDisposeBill oCrm_CusAppealDisposeBill = new Crm_CusAppealDisposeBill(); // oCrm_CusAppealDisposeBill.ShowDialog(); // break; // case "sec_productrepairbilllist": // //ȨÏÞ // Sec_ProductRepairBillList oSec_ProductRepairBillList = new Sec_ProductRepairBillList(); // oSec_ProductRepairBillList.MdiParent = oMain; // oSec_ProductRepairBillList.Show(); // break; // case "sec_productrepairbill": // // // Sec_ProductRepairBill oSec_ProductRepairBill = new Sec_ProductRepairBill(); // oSec_ProductRepairBill.ShowDialog(); // break; // case "crm_cusappealbill": // Crm_CusAppealBill oCrm_CusAppealBill = new Crm_CusAppealBill(); // oCrm_CusAppealBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusAppealBill.ModCaption = gnmc; // oCrm_CusAppealBill.ShowDialog(); // break; // case "crm_cusappealbilllist": // Crm_CusAppealBillList oCrm_CusAppealBillList = new Crm_CusAppealBillList(); // oCrm_CusAppealBillList.MdiParent = oMain; // oCrm_CusAppealBillList.ModCaption = gnmc; // oCrm_CusAppealBillList.Show(); // break; // case "crm_cusservicebill": // Crm_CusServiceBill oCrm_CusServiceBill = new Crm_CusServiceBill(); // oCrm_CusServiceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusServiceBill.ModCaption = gnmc; // oCrm_CusServiceBill.ShowDialog(); // break; // case "crm_cusservicebilllist": // Crm_CusServiceBillList oCrm_CusServiceBillList = new Crm_CusServiceBillList(); // oCrm_CusServiceBillList.MdiParent = oMain; // oCrm_CusServiceBillList.ModCaption = gnmc; // oCrm_CusServiceBillList.Show(); // break; // case "pro_designbluerequestbill": // Pro_DesignBlueRequestBill oPro_DesignBlueRequestBill = new Pro_DesignBlueRequestBill(); // oPro_DesignBlueRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_DesignBlueRequestBill.ModCaption = gnmc; // oPro_DesignBlueRequestBill.ShowDialog(); // break; // case "pro_designbluerequestbilllist": // Pro_DesignBlueRequestBillList oPro_DesignBlueRequestBillList = new Pro_DesignBlueRequestBillList(); // oPro_DesignBlueRequestBillList.MdiParent = oMain; // oPro_DesignBlueRequestBillList.ModCaption = gnmc; // oPro_DesignBlueRequestBillList.Show(); // break; // case "pro_getneedcheckdesignbluerequestbill": // Pro_GetNeedCheckDesignBlueRequestBill oPro_GetNeedCheckDesignBlueRequestBill = new Pro_GetNeedCheckDesignBlueRequestBill(); // oPro_GetNeedCheckDesignBlueRequestBill.MdiParent = oMain; // //oPro_GetNeedCheckDesignBlueRequestBill.ModCaption = gnmc; // oPro_GetNeedCheckDesignBlueRequestBill.Show(); // break; // case "pro_projectcheckbill": // Pro_ProjectCheckBill oPro_ProjectCheckBill = new Pro_ProjectCheckBill(); // oPro_ProjectCheckBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectCheckBill.ModCaption = gnmc; // oPro_ProjectCheckBill.ShowDialog(); // break; // case "pro_projectcheckbilllist": // Pro_ProjectCheckBillList oPro_ProjectCheckBillList = new Pro_ProjectCheckBillList(); // oPro_ProjectCheckBillList.MdiParent = oMain; // oPro_ProjectCheckBillList.ModCaption = gnmc; // oPro_ProjectCheckBillList.Show(); // break; // case "pro_projectrequestbill": // Pro_ProjectRequestBill oPro_ProjectRequestBill = new Pro_ProjectRequestBill(); // oPro_ProjectRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectRequestBill.ModCaption = gnmc; // oPro_ProjectRequestBill.ShowDialog(); // break; // case "pro_projectrequestbilllist": // Pro_ProjectRequestBillList oPro_ProjectRequestBillList = new Pro_ProjectRequestBillList(); // oPro_ProjectRequestBillList.MdiParent = oMain; // oPro_ProjectRequestBillList.ModCaption = gnmc; // oPro_ProjectRequestBillList.Show(); // break; // case "sec_servicebilllist"://·þÎñµ¥ // //ȨÏÞ // Sec_ServiceBillList oSec_ServiceBillList = new Sec_ServiceBillList(); // oSec_ServiceBillList.MdiParent = oMain; // oSec_ServiceBillList.Show(); // break; // case "sec_servicebill": // // // Sec_ServiceBill oSec_ServiceBill = new Sec_ServiceBill(); // oSec_ServiceBill.ShowDialog(); // break; // case "sec_servicesendworkbilllist"://·þÎñÅɹ¤µ¥ // //ȨÏÞ // Sec_ServiceSendWorkBillList oSec_ServiceSendWorkBillList = new Sec_ServiceSendWorkBillList(); // oSec_ServiceSendWorkBillList.MdiParent = oMain; // oSec_ServiceSendWorkBillList.Show(); // break; // case "sec_servicesendworkbill": // // // Sec_ServiceSendWorkBill oSec_ServiceSendWorkBill = new Sec_ServiceSendWorkBill(); // oSec_ServiceSendWorkBill.ShowDialog(); // break; // case "sec_servicebalbill": // Sec_ServiceBalBill oSec_ServiceBalBill = new Sec_ServiceBalBill(); // oSec_ServiceBalBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSec_ServiceBalBill.ShowDialog(); // break; // case "sec_servicebalbilllist": // Sec_ServiceBalBillList oSec_ServiceBalBillList = new Sec_ServiceBalBillList(); // oSec_ServiceBalBillList.MdiParent = oMain; // oSec_ServiceBalBillList.Show(); // break; // // // case "sec_servicebilling": // Sec_ServiceBilling oSec_ServiceBilling = new Sec_ServiceBilling(); // oSec_ServiceBilling.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSec_ServiceBilling.ShowDialog(); // break; // case "sec_servicebillinglist": // Sec_ServiceBillingList oSec_ServiceBillingList = new Sec_ServiceBillingList(); // oSec_ServiceBillingList.MdiParent = oMain; // oSec_ServiceBillingList.Show(); // break; // // // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion #region ¼Æ»®¹ÜÀí public void Zxxymk_JHGL(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //=========================K3 //case "k3_routingbill": // K3_RoutingBill oK3_RoutingBill = new K3_RoutingBill(); // oK3_RoutingBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oK3_RoutingBill.ModCaption = gnmc; // oK3_RoutingBill.ShowDialog(); // break; //case "k3_routingbilllist": // K3_RoutingBillList oK3_RoutingBillList = new K3_RoutingBillList(); // oK3_RoutingBillList.MdiParent = oMain; // oK3_RoutingBillList.Show(); // break; //case "gy_icbombill_k3": // Gy_ICBomBill_K3 oGy_ICBomBill_K3 = new Gy_ICBomBill_K3(); // oGy_ICBomBill_K3.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oGy_ICBomBill_K3.ModCaption = gnmc; // oGy_ICBomBill_K3.ShowDialog(); // break; //case "gy_icbombilllist_k3": // Gy_ICBomBillList_K3 oGy_ICBomBillList_K3 = new Gy_ICBomBillList_K3(); // oGy_ICBomBillList_K3.MdiParent = oMain; // oGy_ICBomBillList_K3.Show(); // break; //case "sc_icbombillmuilist_k3": // Sc_ICBomBillMuiList_K3 oSc_ICBomBillMuiList_K3 = new Sc_ICBomBillMuiList_K3(); // oSc_ICBomBillMuiList_K3.MdiParent = oMain; // oSc_ICBomBillMuiList_K3.Show(); // break; case "gy_group": Gy_Group oGy_Group = new Gy_Group(); oGy_Group.MdiParent = oMain; oGy_Group.Show(); break; case "gy_process": Gy_Process oGy_Process = new Gy_Process(); oGy_Process.MdiParent = oMain; oGy_Process.Show(); break; case "k3_source": Gy_Source oGy_Source = new Gy_Source(); oGy_Source.MdiParent = oMain; oGy_Source.Show(); break; case "k3_workcenter": Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter(); oGy_WorkCenter.MdiParent = oMain; oGy_WorkCenter.Show(); break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message); } } #endregion //#region ³µ¼ä¹ÜÀí //public void Zxxymk_CJGL(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // //--------------------------- // case "sc_processplanchangelist": // //ȨÏÞ // Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList(); // oSc_ProcessPlanChangeList.MdiParent = oMain; // oSc_ProcessPlanChangeList.Show(); // break; // case "sc_processplanchange": // // // Sc_ProcessPlanChange oSc_ProcessPlanChange = new Sc_ProcessPlanChange(); // oSc_ProcessPlanChange.ShowDialog(); // break; // case "kf_procinbill": // Kf_ProcInBill oKf_ProcInBill = new Kf_ProcInBill(); // oKf_ProcInBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_ProcInBill.ModCaption = gnmc; // oKf_ProcInBill.ShowDialog(); // break; // case "kf_procinbilllist": // Kf_ProcInBillList oKf_ProcInBillList = new Kf_ProcInBillList(); // oKf_ProcInBillList.MdiParent = oMain; // oKf_ProcInBillList.ModCaption = gnmc; // oKf_ProcInBillList.Show(); // break; // case "kf_procoutbill": // Kf_ProcOutBill oKf_ProcOutBill = new Kf_ProcOutBill(); // oKf_ProcOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oKf_ProcOutBill.ModCaption = gnmc; // oKf_ProcOutBill.ShowDialog(); // break; // case "kf_procoutbilllist": // Kf_ProcOutBillList oKf_ProcOutBillList = new Kf_ProcOutBillList(); // oKf_ProcOutBillList.MdiParent = oMain; // oKf_ProcOutBillList.ModCaption = gnmc; // oKf_ProcOutBillList.Show(); // break; // case "sc_procprodmovebill": // Sc_ProcProdMoveBill oSc_ProcProdMoveBill = new Sc_ProcProdMoveBill(); // oSc_ProcProdMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcProdMoveBill.ModCaption = gnmc; // oSc_ProcProdMoveBill.ShowDialog(); // break; // case "sc_procprodmovebilllist": // Sc_ProcProdMoveBillList oSc_ProcProdMoveBillList = new Sc_ProcProdMoveBillList(); // oSc_ProcProdMoveBillList.MdiParent = oMain; // oSc_ProcProdMoveBillList.ModCaption = gnmc; // oSc_ProcProdMoveBillList.Show(); // break; // case "sc_processmovebill": // Sc_ProcessMoveBill oSc_ProcessMoveBill = new Sc_ProcessMoveBill(); // oSc_ProcessMoveBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcessMoveBill.ModCaption = gnmc; // oSc_ProcessMoveBill.ShowDialog(); // break; // case "sc_processmovebilllist": // Sc_ProcessMoveBillList oSc_ProcessMoveBillList = new Sc_ProcessMoveBillList(); // oSc_ProcessMoveBillList.MdiParent = oMain; // oSc_ProcessMoveBillList.ModCaption = gnmc; // oSc_ProcessMoveBillList.Show(); // break; // case "sc_processsendwork": // Sc_ProcessSendWork oSc_ProcessSendWork = new Sc_ProcessSendWork(); // oSc_ProcessSendWork.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcessSendWork.ModCaption = gnmc; // oSc_ProcessSendWork.ShowDialog(); // break; // case "sc_processsendworklist": // Sc_ProcessSendWorkList oSc_ProcessSendWorkList = new Sc_ProcessSendWorkList(); // oSc_ProcessSendWorkList.MdiParent = oMain; // oSc_ProcessSendWorkList.ModCaption = gnmc; // oSc_ProcessSendWorkList.Show(); // break; // //======================== // case "sc_processplan": // Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan(); // oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcessPlan.ModCaption = gnmc; // oSc_ProcessPlan.ShowDialog(); // break; // case "sc_processplanlist": // Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList(); // oSc_ProcessPlanList.MdiParent = oMain; // oSc_ProcessPlanList.ModCaption = gnmc; // oSc_ProcessPlanList.Show(); // break; // case "sc_processreport": // Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport(); // oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcessReport.ModCaption = gnmc; // oSc_ProcessReport.ShowDialog(); // break; // case "sc_processreportlist": // Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList(); // oSc_ProcessReportList.MdiParent = oMain; // oSc_ProcessReportList.ModCaption = gnmc; // oSc_ProcessReportList.Show(); // break; // case "sc_assemblybilllist": // //ȨÏÞ // Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList(); // oSc_AssemblyBillList.MdiParent = oMain; // oSc_AssemblyBillList.Show(); // 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 "sc_processbackplan": // Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan(); // oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_ProcessBackPlan.ShowDialog(); // break; // case "sc_processbackplanlist": // Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList(); // oSc_ProcessBackPlanList.MdiParent = oMain; // oSc_ProcessBackPlanList.Show(); // break; // case "sc_packdoublebill": // Sc_PackDoubleBill oSc_PackDoubleBill = new Sc_PackDoubleBill(); // oSc_PackDoubleBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_PackDoubleBill.ModCaption = gnmc; // oSc_PackDoubleBill.ShowDialog(); // break; // case "sc_packdoublebilllist": // Sc_PackDoubleBillList oSc_PackDoubleBillList = new Sc_PackDoubleBillList(); // oSc_PackDoubleBillList.MdiParent = oMain; // oSc_PackDoubleBillList.ModCaption = gnmc; // oSc_PackDoubleBillList.Show(); // break; // case "sc_packsplitbill": // Sc_PackSplitBill oSc_PackSplitBill = new Sc_PackSplitBill(); // oSc_PackSplitBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_PackSplitBill.ModCaption = gnmc; // oSc_PackSplitBill.ShowDialog(); // break; // case "sc_packsplitbilllist": // Sc_PackSplitBillList oSc_PackSplitBillList = new Sc_PackSplitBillList(); // oSc_PackSplitBillList.MdiParent = oMain; // oSc_PackSplitBillList.ModCaption = gnmc; // oSc_PackSplitBillList.Show(); // break; // case "sc_packunionbill": // Sc_PackUnionBill oSc_PackUnionBill = new Sc_PackUnionBill(); // oSc_PackUnionBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oSc_PackUnionBill.ModCaption = gnmc; // oSc_PackUnionBill.ShowDialog(); // break; // case "sc_packunionbilllist": // Sc_PackUnionBillList oSc_PackUnionBillList = new Sc_PackUnionBillList(); // oSc_PackUnionBillList.MdiParent = oMain; // oSc_PackUnionBillList.ModCaption = gnmc; // oSc_PackUnionBillList.Show(); // break; // //======================±¨±í // case "sc_monthsource": // //ȨÏÞ // Sc_MonthSource oSc_MonthSource = new Sc_MonthSource(); // oSc_MonthSource.MdiParent = oMain; // oSc_MonthSource.Show(); // break; // case "sc_workprocreport": // //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport(); // //oSc_WorkProcReport.MdiParent = oMain; // //oSc_WorkProcReport.ModCaption = gnmc; // //oSc_WorkProcReport.Show(); // break; // case "sc_workbillreport": // //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport(); // //oSc_WorkBillReport.MdiParent = oMain; // //oSc_WorkBillReport.ModCaption = gnmc; // //oSc_WorkBillReport.Show(); // case "sc_procprogressreport": // Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport(); // oSc_ProcProgressReport.MdiParent = oMain; // oSc_ProcProgressReport.ModCaption = gnmc; // oSc_ProcProgressReport.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ÐÅϢƽ̨ //public void Zxxymk_XXPT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "crm_workmonthplanbill": // Crm_WorkMonthPlanBill oCrm_WorkMonthPlanBill = new Crm_WorkMonthPlanBill(); // oCrm_WorkMonthPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkMonthPlanBill.ModCaption = gnmc; // oCrm_WorkMonthPlanBill.ShowDialog(); // break; // case "crm_workmonthplanbilllist": // Crm_WorkMonthPlanBillList oCrm_WorkMonthPlanBillList = new Crm_WorkMonthPlanBillList(); // oCrm_WorkMonthPlanBillList.MdiParent = oMain; // oCrm_WorkMonthPlanBillList.ModCaption = gnmc; // oCrm_WorkMonthPlanBillList.Show(); // break; // case "crm_worknotebill": // Crm_WorkNoteBill oCrm_WorkNoteBill = new Crm_WorkNoteBill(); // oCrm_WorkNoteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkNoteBill.ModCaption = gnmc; // oCrm_WorkNoteBill.ShowDialog(); // break; // case "crm_worknotebilllist": // Crm_WorkNoteBillList oCrm_WorkNoteBillList = new Crm_WorkNoteBillList(); // oCrm_WorkNoteBillList.MdiParent = oMain; // oCrm_WorkNoteBillList.ModCaption = gnmc; // oCrm_WorkNoteBillList.Show(); // break; // case "crm_workplanbill": // Crm_WorkPlanBill oCrm_WorkPlanBill = new Crm_WorkPlanBill(); // oCrm_WorkPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkPlanBill.ModCaption = gnmc; // oCrm_WorkPlanBill.ShowDialog(); // break; // case "crm_workplanbilllist": // Crm_WorkPlanBillList oCrm_WorkPlanBillList = new Crm_WorkPlanBillList(); // oCrm_WorkPlanBillList.MdiParent = oMain; // oCrm_WorkPlanBillList.ModCaption = gnmc; // oCrm_WorkPlanBillList.Show(); // break; // //case "oa_empmessagebill": // // OA_EmpMessageBill oOA_EmpMessageBill = new OA_EmpMessageBill(); // // oOA_EmpMessageBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // // oOA_EmpMessageBill.ModCaption = gnmc; // // oOA_EmpMessageBill.ShowDialog(); // // break; // //case "oa_empmessagebilllist": // // OA_EmpMessageBillList oOA_EmpMessageBillList = new OA_EmpMessageBillList(); // // oOA_EmpMessageBillList.MdiParent = oMain; // // oOA_EmpMessageBillList.ModCaption = gnmc; // // oOA_EmpMessageBillList.Show(); // // break; // case "oa_worklinkbill": // OA_WorkLinkBill oOA_WorkLinkBill = new OA_WorkLinkBill(); // oOA_WorkLinkBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // //oOA_WorkLinkBill.ModCaption = gnmc; // oOA_WorkLinkBill.ShowDialog(); // break; // case "oa_worklinkbilllist": // OA_WorkLinkBillList oOA_WorkLinkBillList = new OA_WorkLinkBillList(); // oOA_WorkLinkBillList.MdiParent = oMain; // //oOA_WorkLinkBillList.ModCaption = gnmc; // oOA_WorkLinkBillList.Show(); // break; // case "oa_meetnotifybill"://»áÒé֪ͨ // OA_MeetNotifyBill oOA_MeetNotifyBill = new OA_MeetNotifyBill(); // oOA_MeetNotifyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_MeetNotifyBill.ShowDialog(); // break; // case "oa_meetnotifybilllist": // OA_MeetNotifyBillList oOA_MeetNotifyBillList = new OA_MeetNotifyBillList(); // oOA_MeetNotifyBillList.MdiParent = oMain; // oOA_MeetNotifyBillList.Show(); // break; // // // case "oa_informbill"://֪ͨÎļþ // OA_InformBill oOA_InformBill = new OA_InformBill(); // oOA_InformBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_InformBill.ShowDialog(); // break; // case "oa_informbilllist": // OA_InformBillList oOA_InformBillList = new OA_InformBillList(); // oOA_InformBillList.MdiParent = oMain; // oOA_InformBillList.Show(); // break; // // // case "oa_knowledge"://½¡¿µÐ¡ÖªÊ¶ // OA_Knowledge oOA_Knowledge = new OA_Knowledge(); // oOA_Knowledge.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_Knowledge.ShowDialog(); // break; // case "oa_knowledgelist": // OA_KnowledgeList oOA_KnowledgeList = new OA_KnowledgeList(); // oOA_KnowledgeList.MdiParent = oMain; // oOA_KnowledgeList.Show(); // break; // case "oa_comfilebill":// // OA_ComFileBill oOA_ComFileBill = new OA_ComFileBill(); // oOA_ComFileBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_ComFileBill.ShowDialog(); // break; // case "oa_comfilebilllist": // OA_ComFileBillList oOA_ComFileBillList = new OA_ComFileBillList(); // oOA_ComFileBillList.MdiParent = oMain; // oOA_ComFileBillList.Show(); // break; // case "oa_errmsgbackbill"://Òì³£·´À¡µ¥ // OA_ErrMsgBackBill oOA_ErrMsgBackBill = new OA_ErrMsgBackBill(); // oOA_ErrMsgBackBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_ErrMsgBackBill.ShowDialog(); // break; // case "oa_errmsgbackbilllist": // OA_ErrMsgBackBillList oOA_ErrMsgBackBillList = new OA_ErrMsgBackBillList(); // oOA_ErrMsgBackBillList.MdiParent = oMain; // oOA_ErrMsgBackBillList.Show(); // break; // // // case "oa_manageremail"://×ܾ­ÀíÐÅÏä // OA_ManagerEmail oOA_ManagerEmail = new OA_ManagerEmail(); // oOA_ManagerEmail.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_ManagerEmail.ShowDialog(); // break; // case "oa_manageremaillist": // OA_ManagerEmailList oOA_ManagerEmailList = new OA_ManagerEmailList(); // oOA_ManagerEmailList.MdiParent = oMain; // oOA_ManagerEmailList.Show(); // break; // // // case "oa_new"://ÆóÒµÐÂÎÅ // OA_New oOA_New = new OA_New(); // oOA_New.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oOA_New.ShowDialog(); // break; // case "oa_newlist": // OA_NewList oOA_NewList = new OA_NewList(); // oOA_NewList.MdiParent = oMain; // oOA_NewList.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion //#region ¹¤×Êϵͳ //public void Zxxymk_GZXT(string gnsy, string gnmc, Form oMain) //{ // if (gnsy.Length == 0) // return; // try // { // switch (gnsy.ToLower()) // { // case "pay_subsidychangebill": // // // Pay_SubsidyChangeBill oPay_SubsidyChangeBill = new Pay_SubsidyChangeBill(); // oPay_SubsidyChangeBill.ShowDialog(); // break; // case "pay_subsidychangebilllist": // //ȨÏÞ // Pay_SubsidyChangeBillList oPay_SubsidyChangeBillList = new Pay_SubsidyChangeBillList(); // oPay_SubsidyChangeBillList.MdiParent = oMain; // oPay_SubsidyChangeBillList.Show(); // break; // case "gy_dataintmp_dusubsidyitem": // //ȨÏÞ // Gy_DataInTmp_DuSubsidyItem oGy_DataInTmp_DuSubsidyItem = new Gy_DataInTmp_DuSubsidyItem(); // oGy_DataInTmp_DuSubsidyItem.MdiParent = oMain; // oGy_DataInTmp_DuSubsidyItem.Show(); // break; // case "pay_dusubsidyitembilllist": // //ȨÏÞ // Pay_DuSubsidyItemBillList oPay_DuSubsidyItemBillList = new Pay_DuSubsidyItemBillList(); // oPay_DuSubsidyItemBillList.MdiParent = oMain; // oPay_DuSubsidyItemBillList.Show(); // break; // case "pay_dusubsidyitembill": // // // Pay_DuSubsidyItemBill oPay_DuSubsidyItemBill = new Pay_DuSubsidyItemBill(); // oPay_DuSubsidyItemBill.ShowDialog(); // break; // case "pay_outapplybilllist": // //ȨÏÞ // Pay_OutApplyBillList oPay_OutApplyBillList = new Pay_OutApplyBillList(); // oPay_OutApplyBillList.MdiParent = oMain; // oPay_OutApplyBillList.Show(); // break; // case "pay_outapplybill": // // // Pay_OutApplyBill oPay_OutApplyBill = new Pay_OutApplyBill(); // oPay_OutApplyBill.ShowDialog(); // break; // case "pay_procpricerequestbilllist": // //ȨÏÞ // Pay_ProcPriceRequestBillList oPay_ProcPriceRequestBillList = new Pay_ProcPriceRequestBillList(); // oPay_ProcPriceRequestBillList.MdiParent = oMain; // oPay_ProcPriceRequestBillList.Show(); // break; // case "pay_procpricerequestbill": // // // Pay_ProcPriceRequestBill oPay_ProcPriceRequestBill = new Pay_ProcPriceRequestBill(); // oPay_ProcPriceRequestBill.ShowDialog(); // break; // //case "pay_exambalbilllist": // // //ȨÏÞ // // Pay_ExamBalBillList oPay_ExamBalBillList = new Pay_ExamBalBillList(); // // oPay_ExamBalBillList.MdiParent = oMain; // // oPay_ExamBalBillList.Show(); // // break; // //case "pay_exambalbill": // // // // // Pay_ExamBalBill oPay_ExamBalBill = new Pay_ExamBalBill(); // // oPay_ExamBalBill.ShowDialog(); // // break; // case "pay_worktimesbilllist": // //ȨÏÞ // Pay_WorkTimesBillList oPay_WorkTimesBillList = new Pay_WorkTimesBillList(); // oPay_WorkTimesBillList.MdiParent = oMain; // oPay_WorkTimesBillList.Show(); // break; // case "pay_worktimesbill": // // // Pay_WorkTimesBill oPay_WorkTimesBill = new Pay_WorkTimesBill(); // oPay_WorkTimesBill.ShowDialog(); // break; // case "pay_paymentbilllist": // //ȨÏÞ // Pay_PayMentBillList oPay_PayMentBillList = new Pay_PayMentBillList(); // oPay_PayMentBillList.MdiParent = oMain; // oPay_PayMentBillList.Show(); // break; // case "pay_paymentbill": // // // Pay_PayMentBill oPay_PayMentBill = new Pay_PayMentBill(); // oPay_PayMentBill.MdiParent = oMain; // oPay_PayMentBill.Show(); // break; // case "pay_groupbalbilllist": // //ȨÏÞ // Pay_GroupBalBillList oPay_GroupBalBillList = new Pay_GroupBalBillList(); // oPay_GroupBalBillList.MdiParent = oMain; // oPay_GroupBalBillList.Show(); // break; // case "pay_groupbalbill": // // // Pay_GroupBalBill oPay_GroupBalBill = new Pay_GroupBalBill(); // oPay_GroupBalBill.ShowDialog(); // break; // case "pay_errworktimesrequestbilllist": // //ȨÏÞ // Pay_ErrWorkTimesRequestBillList oPay_ErrWorkTimesRequestBillList = new Pay_ErrWorkTimesRequestBillList(); // oPay_ErrWorkTimesRequestBillList.MdiParent = oMain; // oPay_ErrWorkTimesRequestBillList.Show(); // break; // case "pay_errworktimesrequestbill": // // // Pay_ErrWorkTimesRequestBill oPay_ErrWorkTimesRequestBill = new Pay_ErrWorkTimesRequestBill(); // oPay_ErrWorkTimesRequestBill.ShowDialog(); // break; // case "pay_getneedcheckerrworktimessendbilllist": // Pay_GetNeedCheckErrWorkTimesSendBillList oPay_GetNeedCheckErrWorkTimesSendBillList = new Pay_GetNeedCheckErrWorkTimesSendBillList(); // oPay_GetNeedCheckErrWorkTimesSendBillList.MdiParent = oMain; // //oPay_GetNeedCheckErrWorkTimesSendBillList.ModCaption = gnmc; // oPay_GetNeedCheckErrWorkTimesSendBillList.Show(); // break; // case "pay_errworktimessendbilllist": // //ȨÏÞ // Pay_ErrWorkTimesSendBillList oPay_ErrWorkTimesSendBillList = new Pay_ErrWorkTimesSendBillList(); // oPay_ErrWorkTimesSendBillList.MdiParent = oMain; // oPay_ErrWorkTimesSendBillList.Show(); // break; // case "pay_errworktimessendbill": // // // Pay_ErrWorkTimesSendBill oPay_ErrWorkTimesSendBill = new Pay_ErrWorkTimesSendBill(); // oPay_ErrWorkTimesSendBill.ShowDialog(); // break; // case "pay_singlebalbilllist": // //ȨÏÞ // Pay_SingleBalBillList oPay_SingleBalBillList = new Pay_SingleBalBillList(); // oPay_SingleBalBillList.MdiParent = oMain; // oPay_SingleBalBillList.Show(); // break; // case "pay_singlebalbill": // // // Pay_SingleBalBill oPay_SingleBalBill = new Pay_SingleBalBill(); // oPay_SingleBalBill.ShowDialog(); // break; // case "pay_otherbalbilllist": // //ȨÏÞ // Pay_OtherBalBillList oPay_OtherBalBillList = new Pay_OtherBalBillList(); // oPay_OtherBalBillList.MdiParent = oMain; // oPay_OtherBalBillList.Show(); // break; // case "pay_otherbalbill": // // // Pay_OtherBalBill oPay_OtherBalBill = new Pay_OtherBalBill(); // oPay_OtherBalBill.ShowDialog(); // break; // case "pay_overapplybill": // // // Pay_OverApplyBill oPay_OverApplyBill = new Pay_OverApplyBill(); // oPay_OverApplyBill.ShowDialog(); // break; // case "pay_overapplybilllist": // //ȨÏÞ // Pay_OverApplyBillList oPay_OverApplyBillList = new Pay_OverApplyBillList(); // oPay_OverApplyBillList.MdiParent = oMain; // oPay_OverApplyBillList.Show(); // break; // case "hr_empchangebilllist": // //ȨÏÞ // HR_EmpChangeBillList oHR_EmpChangeBillList = new HR_EmpChangeBillList(); // oHR_EmpChangeBillList.MdiParent = oMain; // oHR_EmpChangeBillList.Show(); // break; // case "hr_empchangebill": // // // HR_EmpChangeBill oHR_EmpChangeBill = new HR_EmpChangeBill(); // oHR_EmpChangeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oHR_EmpChangeBill.ShowDialog(); // break; // case "pay_periodinfoset": // //ȨÏÞ // Pay_PeriodInfoSet oPay_PeriodInfoSet = new Pay_PeriodInfoSet(); // oPay_PeriodInfoSet.MdiParent = oMain; // oPay_PeriodInfoSet.Show(); // break; // //==============================================================±¨±í·ÖÎö // case "pay_prodworkqtysumreport": // //ȨÏÞ // Pay_ProdWorkQtySumReport oPay_ProdWorkQtySumReport = new Pay_ProdWorkQtySumReport(); // oPay_ProdWorkQtySumReport.MdiParent = oMain; // oPay_ProdWorkQtySumReport.Show(); // break; // case "pay_prodworkqtyentryreport": // //ȨÏÞ // Pay_ProdWorkQtyEntryReport oPay_ProdWorkQtyEntryReport = new Pay_ProdWorkQtyEntryReport(); // oPay_ProdWorkQtyEntryReport.MdiParent = oMain; // oPay_ProdWorkQtyEntryReport.Show(); // break; // case "pay_empworkqtyentryreport": // //ȨÏÞ // Pay_EmpWorkQtyEntryReport oPay_EmpWorkQtyEntryReport = new Pay_EmpWorkQtyEntryReport(); // oPay_EmpWorkQtyEntryReport.MdiParent = oMain; // oPay_EmpWorkQtyEntryReport.Show(); // break; // case "pay_paymentdeptsendlist": // //ȨÏÞ // Pay_PayMentDeptSendList oPay_PayMentDeptSendList = new Pay_PayMentDeptSendList(); // oPay_PayMentDeptSendList.MdiParent = oMain; // oPay_PayMentDeptSendList.Show(); // break; // case "pay_paymentdeptyearreport": // //ȨÏÞ // Pay_PayMentDeptYearReport oPay_PayMentDeptYearReport = new Pay_PayMentDeptYearReport(); // oPay_PayMentDeptYearReport.MdiParent = oMain; // oPay_PayMentDeptYearReport.Show(); // break; // case "pay_paymentprintreport": // //ȨÏÞ // Pay_PayMentPrintReport oPay_PayMentPrintReport = new Pay_PayMentPrintReport(); // oPay_PayMentPrintReport.MdiParent = oMain; // oPay_PayMentPrintReport.Show(); // break; // case "pay_paymentsendlist": // //ȨÏÞ // Pay_PayMentSendList oPay_PayMentSendList = new Pay_PayMentSendList(); // oPay_PayMentSendList.MdiParent = oMain; // oPay_PayMentSendList.Show(); // break; // case "pay_paymentyearreport": // //ȨÏÞ // Pay_PayMentYearReport oPay_PayMentYearReport = new Pay_PayMentYearReport(); // oPay_PayMentYearReport.MdiParent = oMain; // oPay_PayMentYearReport.Show(); // break; // case "pay_worktimeslist": // //ȨÏÞ // Pay_WorkTimesList oPay_WorkTimesList = new Pay_WorkTimesList(); // oPay_WorkTimesList.MdiParent = oMain; // oPay_WorkTimesList.Show(); // break; // case "pay_emppaymentsumreport": // //ȨÏÞ // Pay_EmpPayMentSumReport oPay_EmpPayMentSumReport = new Pay_EmpPayMentSumReport(); // oPay_EmpPayMentSumReport.MdiParent = oMain; // oPay_EmpPayMentSumReport.Show(); // break; // default: // break; // } // } // catch (Exception e) // { // MessageBox.Show(e.Message); // } //} //#endregion #region »ù´¡ÉèÖà public void Zxxymk_JCSJ(string gnsy,string gnmc, Form oMain) { Form sFrm; if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { case "gy_procpricelist": //ȨÏÞ Gy_ProcPriceList oGy_ProcPriceList = new Gy_ProcPriceList(); oGy_ProcPriceList.MdiParent = oMain; oGy_ProcPriceList.Show(); break; case "gy_classtimeprjgroup": Gy_ClassTimePrjGroup oGy_ClassTimePrjGroup = new Gy_ClassTimePrjGroup(); oGy_ClassTimePrjGroup.MdiParent = oMain; oGy_ClassTimePrjGroup.Show(); break; case "gy_matenumrelation": Gy_MateNumRelation oGy_MateNumRelation = new Gy_MateNumRelation(); oGy_MateNumRelation.MdiParent = oMain; oGy_MateNumRelation.Show(); break; case "gy_procpricerela": Gy_ProcPriceRela oGy_ProcPriceRela = new Gy_ProcPriceRela(); oGy_ProcPriceRela.MdiParent = oMain; oGy_ProcPriceRela.Show(); break; case "gy_procpricerelagroup": Gy_ProcPriceRelaGroup oGy_ProcPriceRelaGroup = new Gy_ProcPriceRelaGroup(); oGy_ProcPriceRelaGroup.MdiParent = oMain; oGy_ProcPriceRelaGroup.Show(); break; case "gy_stockplacegroup": Gy_StockPlaceGroup oGy_StockPlaceGroup = new Gy_StockPlaceGroup(); oGy_StockPlaceGroup.MdiParent = oMain; oGy_StockPlaceGroup.Show(); break; case "gy_stockplace": Gy_StockPlace oGy_StockPlace = new Gy_StockPlace(); oGy_StockPlace.MdiParent = oMain; oGy_StockPlace.Show(); break; case "gy_holiday": Gy_Holiday oGy_Holiday = new Gy_Holiday(); oGy_Holiday.MdiParent = oMain; oGy_Holiday.Show(); break; case "gy_productspec": Gy_ProductSpec oGy_ProductSpec = new Gy_ProductSpec(); oGy_ProductSpec.MdiParent = oMain; oGy_ProductSpec.Show(); break; case "gy_shifts": Gy_Shifts oGy_Shifts = new Gy_Shifts(); oGy_Shifts.MdiParent = oMain; oGy_Shifts.Show(); break; case "gy_iccard": Gy_ICCard oGy_ICCard = new Gy_ICCard(); oGy_ICCard.MdiParent = oMain; oGy_ICCard.Show(); break; case "gy_carefor": Gy_CareFor oGy_CareFor = new Gy_CareFor(); oGy_CareFor.MdiParent = oMain; oGy_CareFor.Show(); break; case "gy_subsidyitem": Gy_SubsidyItem oGy_SubsidyItem = new Gy_SubsidyItem(); oGy_SubsidyItem.MdiParent = oMain; oGy_SubsidyItem.Show(); break; case "gy_deductitem": Gy_DeductItem oGy_DeductItem = new Gy_DeductItem(); oGy_DeductItem.MdiParent = oMain; oGy_DeductItem.Show(); break; case "gy_matertrait": Gy_MaterTrait oGy_MaterTrait = new Gy_MaterTrait(); oGy_MaterTrait.MdiParent = oMain; oGy_MaterTrait.Show(); break; case "gy_evaluatestatus": Gy_EvaluateStatus oGy_EvaluateStatus = new Gy_EvaluateStatus(); oGy_EvaluateStatus.MdiParent = oMain; oGy_EvaluateStatus.Show(); break; case "gy_suptype": Gy_SupType oGy_SupType = new Gy_SupType(); oGy_SupType.MdiParent = oMain; oGy_SupType.Show(); break; case "gy_supstatus": Gy_SupStatus oGy_SupStatus = new Gy_SupStatus(); oGy_SupStatus.MdiParent = oMain; oGy_SupStatus.Show(); break; case "gy_supsort": Gy_SupSort oGy_SupSort = new Gy_SupSort(); oGy_SupSort.MdiParent = oMain; oGy_SupSort.Show(); break; case "gy_comkind": Gy_ComKind oGy_ComKind = new Gy_ComKind(); oGy_ComKind.MdiParent = oMain; oGy_ComKind.Show(); break; case "gy_comtype": Gy_ComType oGy_ComType = new Gy_ComType(); oGy_ComType.MdiParent = oMain; oGy_ComType.Show(); break; case "gy_comsort": Gy_ComSort oGy_ComSort = new Gy_ComSort(); oGy_ComSort.MdiParent = oMain; oGy_ComSort.Show(); break; case "gy_comscope": Gy_ComScope oGy_ComScope = new Gy_ComScope(); oGy_ComScope.MdiParent = oMain; oGy_ComScope.Show(); break; case "gy_sectype": Gy_SecType oGy_SecType = new Gy_SecType(); oGy_SecType.MdiParent = oMain; oGy_SecType.Show(); break; case "gy_expensestatus": Gy_ExpenseStatus oGy_ExpenseStatus = new Gy_ExpenseStatus(); oGy_ExpenseStatus.MdiParent = oMain; oGy_ExpenseStatus.Show(); break; case "gy_papersort": Gy_PaperSort oGy_PaperSort = new Gy_PaperSort(); oGy_PaperSort.MdiParent = oMain; oGy_PaperSort.Show(); break; case "gy_project": Gy_Project oGy_Project = new Gy_Project(); oGy_Project.MdiParent = oMain; oGy_Project.Show(); break; case "gy_proccomm": Gy_ProcComm oGy_ProcComm = new Gy_ProcComm(); oGy_ProcComm.MdiParent = oMain; oGy_ProcComm.Show(); break; case "gy_repaircheck": Gy_RepairCheck oGy_RepairCheck = new Gy_RepairCheck(); oGy_RepairCheck.MdiParent = oMain; oGy_RepairCheck.Show(); break; case "gy_dorm": Gy_Dorm oGy_Dorm = new Gy_Dorm(); oGy_Dorm.MdiParent = oMain; oGy_Dorm.Show(); break; case "gy_equipment": Gy_EquipMent oGy_EquipMent = new Gy_EquipMent(); oGy_EquipMent.MdiParent = oMain; oGy_EquipMent.Show(); break; case "gy_energy": Gy_Energy oGy_Energy = new Gy_Energy(); oGy_Energy.MdiParent = oMain; oGy_Energy.Show(); break; case "gy_model": Gy_Model oGy_Model = new Gy_Model(); oGy_Model.MdiParent = oMain; oGy_Model.Show(); break; case "gy_costcenter": Gy_CostCenter oGy_CostCenter = new Gy_CostCenter(); oGy_CostCenter.MdiParent = oMain; oGy_CostCenter.Show(); break; case "gy_maintain": Gy_Maintain oGy_Maintain = new Gy_Maintain(); oGy_Maintain.MdiParent = oMain; oGy_Maintain.Show(); break; case "gy_safety": Gy_Safety oGy_Safety = new Gy_Safety(); oGy_Safety.MdiParent = oMain; oGy_Safety.Show(); break; case "gy_dusubsidyitem": Gy_DuSubsidyItem oGy_DuSubsidyItem = new Gy_DuSubsidyItem(); oGy_DuSubsidyItem.MdiParent = oMain; oGy_DuSubsidyItem.Show(); break; case "gy_workpaytype": Gy_WorkPayType oGy_WorkPayType = new Gy_WorkPayType(); oGy_WorkPayType.MdiParent = oMain; oGy_WorkPayType.Show(); break; case "gy_worktype": Gy_WorkType oGy_WorkType = new Gy_WorkType(); oGy_WorkType.MdiParent = oMain; oGy_WorkType.Show(); break; case "gy_trade": Gy_Trade oGy_Trade = new Gy_Trade(); oGy_Trade.MdiParent = oMain; oGy_Trade.Show(); break; case "gy_archivesfloor": Gy_ArchivesFloor oGy_ArchivesFloor = new Gy_ArchivesFloor(); oGy_ArchivesFloor.MdiParent = oMain; oGy_ArchivesFloor.Show(); break; case "gy_archivesark": Gy_ArchivesArk oGy_ArchivesArk = new Gy_ArchivesArk(); oGy_ArchivesArk.MdiParent = oMain; oGy_ArchivesArk.Show(); break; case "gy_property": Gy_Property oGy_Property = new Gy_Property(); oGy_Property.MdiParent = oMain; oGy_Property.Show(); break; case "gy_propertytype": Gy_PropertyType oGy_PropertyType = new Gy_PropertyType(); oGy_PropertyType.MdiParent = oMain; oGy_PropertyType.Show(); break; case "gy_port": Gy_Port oGy_Port = new Gy_Port(); oGy_Port.MdiParent = oMain; oGy_Port.Show(); break; case "gy_conktype": Gy_ConkType oGy_ConkType = new Gy_ConkType(); oGy_ConkType.MdiParent = oMain; oGy_ConkType.Show(); break; case "gy_conkreason": Gy_ConkReason oGy_ConkReason = new Gy_ConkReason(); oGy_ConkReason.MdiParent = oMain; oGy_ConkReason.Show(); break; case "gy_prodtype": Gy_ProdType oGy_ProdType = new Gy_ProdType(); oGy_ProdType.MdiParent = oMain; oGy_ProdType.Show(); break; case "gy_repair": Gy_Repair oGy_Repair = new Gy_Repair(); oGy_Repair.MdiParent = oMain; oGy_Repair.Show(); break; case "gy_repairtype": Gy_RepairType oGy_RepairType = new Gy_RepairType(); oGy_RepairType.MdiParent = oMain; oGy_RepairType.Show(); break; case "gy_stockinstyle": Gy_StockInStyle oGy_StockInStyle = new Gy_StockInStyle(); oGy_StockInStyle.MdiParent = oMain; oGy_StockInStyle.Show(); break; case "gy_stockoutstyle": Gy_StockOutStyle oGy_StockOutStyle = new Gy_StockOutStyle(); oGy_StockOutStyle.MdiParent = oMain; oGy_StockOutStyle.Show(); break; case "gy_postockstyle": Gy_PoStockStyle oGy_PoStockStyle = new Gy_PoStockStyle(); oGy_PoStockStyle.MdiParent = oMain; oGy_PoStockStyle.Show(); break; case "gy_suptarget": Gy_SupTarget oGy_SupTarget = new Gy_SupTarget(); oGy_SupTarget.MdiParent = oMain; oGy_SupTarget.Show(); break; case "gy_bank": Gy_Bank oGy_Bank = new Gy_Bank(); oGy_Bank.MdiParent = oMain; oGy_Bank.Show(); break; case "gy_duty": Gy_Duty oGy_Duty = new Gy_Duty(); oGy_Duty.MdiParent = oMain; oGy_Duty.Show(); break; case "gy_material": Gy_Material oGy_Material = new Gy_Material(); oGy_Material.MdiParent = oMain; oGy_Material.Show(); break; case "gy_supplier": Gy_Supplier oGy_Supplier = new Gy_Supplier(); oGy_Supplier.MdiParent = oMain; oGy_Supplier.Show(); break; case "gy_customer": Gy_Customer oGy_Customer = new Gy_Customer(); oGy_Customer.MdiParent = oMain; oGy_Customer.Show(); break; case "gy_areaset": Gy_AreaSet oGy_AreaSet = new Gy_AreaSet(); oGy_AreaSet.ModName = gnmc; oGy_AreaSet.MdiParent = oMain; oGy_AreaSet.Show(); break; case "gy_custype": Gy_CusType oGy_CusType = new Gy_CusType(); oGy_CusType.MdiParent = oMain; oGy_CusType.Show(); break; case "gy_post": Gy_Post oGy_Post = new Gy_Post(); oGy_Post.MdiParent = oMain; oGy_Post.Show(); break; case "gy_warehouse": Gy_Warehouse oGy_Warehouse = new Gy_Warehouse(); oGy_Warehouse.MdiParent = oMain; oGy_Warehouse.Show(); break; case "gy_sellstyle": Gy_SellStyle oGy_SellStyle = new Gy_SellStyle(); oGy_SellStyle.MdiParent = oMain; oGy_SellStyle.Show(); break; case "gy_currency": Gy_Currency oGy_Currency = new Gy_Currency(); oGy_Currency.MdiParent = oMain; oGy_Currency.Show(); break; case "gy_settlestyle": Gy_SettleStyle oGy_SettleStyle = new Gy_SettleStyle(); oGy_SettleStyle.MdiParent = oMain; oGy_SettleStyle.Show(); break; case "gy_unit": Gy_Unit oGy_Unit = new Gy_Unit(); oGy_Unit.MdiParent = oMain; oGy_Unit.Show(); break; case "gy_unitgroup": Gy_UnitGroup oGy_UnitGroup = new Gy_UnitGroup(); oGy_UnitGroup.MdiParent = oMain; oGy_UnitGroup.Show(); break; case "gy_orderlev": Gy_OrderLev oGy_OrderLev = new Gy_OrderLev(); oGy_OrderLev.MdiParent = oMain; oGy_OrderLev.Show(); break; case "gy_worktimes": //Gy_WorkTimes oGy_WorkTimes = new Gy_WorkTimes(); //oGy_WorkTimes.MdiParent = oMain; //oGy_WorkTimes.Show(); break; case "gy_employee": Gy_Employee oGy_Employee = new Gy_Employee(); oGy_Employee.MdiParent = oMain; oGy_Employee.Show(); break; case "gy_matepricesuplist": Gy_MatePriceSupList oGy_MatePriceSupList = new Gy_MatePriceSupList(); oGy_MatePriceSupList.MdiParent = oMain; oGy_MatePriceSupList.Show(); break; case "gy_matepricecuslist": Gy_MatePriceCusList oGy_MatePriceCusList = new Gy_MatePriceCusList(); oGy_MatePriceCusList.MdiParent = oMain; oGy_MatePriceCusList.Show(); break; case "gy_workcentersourcebilllist": Gy_WorkCenterSourceBillList oGy_WorkCenterSourceBillList = new Gy_WorkCenterSourceBillList(); oGy_WorkCenterSourceBillList.MdiParent = oMain; oGy_WorkCenterSourceBillList.Show(); break; //case "gy_routingbilllist": // Gy_RoutingBillList oGy_RoutingBillList = new Gy_RoutingBillList(); // oGy_RoutingBillList.MdiParent = oMain; // oGy_RoutingBillList.Show(); // break; //case "gy_routingbilll": // Gy_RoutingBill oGy_RoutingBill = new Gy_RoutingBill(); // oGy_RoutingBill.ShowDialog(); // break; case "xt_userrelationsupplierlist": //ȨÏÞ Xt_UserRelationSupplierList oXt_UserRelationSupplierList = new Xt_UserRelationSupplierList(); oXt_UserRelationSupplierList.MdiParent = oMain; oXt_UserRelationSupplierList.Show(); break; case "xt_userrelationsupplier": // Xt_UserRelationSupplier oXt_UserRelationSupplier = new Xt_UserRelationSupplier(); oXt_UserRelationSupplier.ShowDialog(); break; case "gy_cusfrom": Gy_CusFrom oGy_CusFrom = new Gy_CusFrom(); oGy_CusFrom.MdiParent = oMain; oGy_CusFrom.Show(); break; case "gy_campaigntype": Gy_CampaignType oGy_CampaignType = new Gy_CampaignType(); oGy_CampaignType.MdiParent = oMain; oGy_CampaignType.Show(); break; case "gy_infofrom": Gy_InfoFrom oGy_InfoFrom = new Gy_InfoFrom(); oGy_InfoFrom.MdiParent = oMain; oGy_InfoFrom.Show(); break; case "gy_selltool": Gy_SellTool oGy_SellTool = new Gy_SellTool(); oGy_SellTool.MdiParent = oMain; oGy_SellTool.Show(); break; case "gy_selltype": Gy_SellType oGy_SellType = new Gy_SellType(); oGy_SellType.MdiParent = oMain; oGy_SellType.Show(); break; case "gy_cuslevel": Gy_CusLevel oGy_CusLevel = new Gy_CusLevel(); oGy_CusLevel.MdiParent = oMain; oGy_CusLevel.Show(); break; case "gy_cusimport": Gy_CusImport oGy_CusImport = new Gy_CusImport(); oGy_CusImport.MdiParent = oMain; oGy_CusImport.Show(); break; case "gy_sellstep": Gy_SellStep oGy_SellStep = new Gy_SellStep(); oGy_SellStep.MdiParent = oMain; oGy_SellStep.Show(); break; case "gy_appealtype": Gy_AppealType oGy_AppealType = new Gy_AppealType(); oGy_AppealType.MdiParent = oMain; oGy_AppealType.Show(); break; case "gy_appeal": Gy_Appeal oGy_Appeal = new Gy_Appeal(); oGy_Appeal.MdiParent = oMain; oGy_Appeal.Show(); break; case "gy_infotype": Gy_InfoType oGy_InfoType = new Gy_InfoType(); oGy_InfoType.MdiParent = oMain; oGy_InfoType.Show(); break; case "gy_cusstatus": Gy_CusStatus oGy_CusStatus = new Gy_CusStatus(); oGy_CusStatus.MdiParent = oMain; oGy_CusStatus.Show(); break; case "gy_disposeway": Gy_DisposeWay oGy_DisposeWay = new Gy_DisposeWay(); oGy_DisposeWay.MdiParent = oMain; oGy_DisposeWay.Show(); break; case "gy_projectstep": Gy_ProjectStep oGy_ProjectStep = new Gy_ProjectStep(); oGy_ProjectStep.MdiParent = oMain; oGy_ProjectStep.Show(); break; case "gy_usermaterrelation": Gy_UserMaterRelation oGy_UserMaterRelation = new Gy_UserMaterRelation(); oGy_UserMaterRelation.ShowDialog(); break; case "gy_usermaterrelationlist": Gy_UserMaterRelationList oGy_UserMaterRelationList = new Gy_UserMaterRelationList(); oGy_UserMaterRelationList.MdiParent = oMain; oGy_UserMaterRelationList.Show(); break; case "gy_usercustomerrelation": Gy_UserCustomerRelation oGy_UserCustomerRelation = new Gy_UserCustomerRelation(); oGy_UserCustomerRelation.ShowDialog(); break; case "gy_usercustomerrelationlist": Gy_UserCustomerRelationList oGy_UserCustomerRelationList = new Gy_UserCustomerRelationList(); oGy_UserCustomerRelationList.MdiParent = oMain; oGy_UserCustomerRelationList.Show(); break; case "gy_userdeptrelation": Gy_UserDeptRelation oGy_UserDeptRelation = new Gy_UserDeptRelation(); oGy_UserDeptRelation.ShowDialog(); break; case "gy_userdeptrelationlist": Gy_UserDeptRelationList oGy_UserDeptRelationList = new Gy_UserDeptRelationList(); oGy_UserDeptRelationList.MdiParent = oMain; oGy_UserDeptRelationList.Show(); break; case "gy_usergrouprelation": Gy_UserGroupRelation oGy_UserGroupRelation = new Gy_UserGroupRelation(); oGy_UserGroupRelation.ShowDialog(); break; case "gy_usergrouprelationlist": Gy_UserGroupRelationList oGy_UserGroupRelationList = new Gy_UserGroupRelationList(); oGy_UserGroupRelationList.MdiParent = oMain; oGy_UserGroupRelationList.Show(); break; case "gy_userstockrelation": Gy_UserStockRelation oGy_UserStockRelation = new Gy_UserStockRelation(); oGy_UserStockRelation.ShowDialog(); break; case "gy_userstockrelationlist": Gy_UserStockRelationList oGy_UserStockRelationList = new Gy_UserStockRelationList(); oGy_UserStockRelationList.MdiParent = oMain; oGy_UserStockRelationList.Show(); break; case "gy_qcresult2": Gy_QCResult2 oGy_QCResult2 = new Gy_QCResult2(); oGy_QCResult2.MdiParent = oMain; oGy_QCResult2.Show(); break; case "gy_qcresult": Gy_QCResult oGy_QCResult = new Gy_QCResult(); oGy_QCResult.MdiParent = oMain; oGy_QCResult.Show(); break; //============================ //case "a3_currency": // A3_Currency oA3_Currency = new A3_Currency(); // oA3_Currency.MdiParent = oMain; // oA3_Currency.Show(); // break; //case "a3_customer": // A3_Customer oA3_Customer = new A3_Customer(); // oA3_Customer.MdiParent = oMain; // oA3_Customer.Show(); // break; //case "a3_department": // A3_Department oA3_Department = new A3_Department(); // oA3_Department.MdiParent = oMain; // oA3_Department.Show(); // break; //case "a3_employee": // A3_Employee oA3_Employee = new A3_Employee(); // oA3_Employee.MdiParent = oMain; // oA3_Employee.Show(); // break; //case "a3_material": // A3_Material oA3_Material = new A3_Material(); // oA3_Material.MdiParent = oMain; // oA3_Material.Show(); // break; //case "a3_supplier": // A3_Supplier oA3_Supplier = new A3_Supplier(); // oA3_Supplier.MdiParent = oMain; // oA3_Supplier.Show(); // break; //case "a3_unit": // A3_Unit oA3_Unit = new A3_Unit(); // oA3_Unit.MdiParent = oMain; // oA3_Unit.Show(); // break; //case "a3_warehouse": // A3_WareHouse oA3_WareHouse = new A3_WareHouse(); // oA3_WareHouse.MdiParent = oMain; // oA3_WareHouse.Show(); // break; ////============================================== //case "k3_wwmaterial": // K3_WWMaterial oK3_WWMaterial = new K3_WWMaterial(); // oK3_WWMaterial.MdiParent = oMain; // oK3_WWMaterial.Show(); // break; //case "k3_warehouse": // K3_Warehouse oK3_Warehouse = new K3_Warehouse(); // oK3_Warehouse.MdiParent = oMain; // oK3_Warehouse.Show(); // break; //case "k3_customer": // K3_Customer oK3_Customer = new K3_Customer(); // oK3_Customer.MdiParent = oMain; // oK3_Customer.Show(); // break; //case "k3_unit": // K3_Unit oK3_Unit = new K3_Unit(); // oK3_Unit.MdiParent = oMain; // oK3_Unit.Show(); // break; //case "k3_material": // K3_Material oK3_Material = new K3_Material(); // oK3_Material.MdiParent = oMain; // oK3_Material.Show(); // break; //case "k3_supplier": // K3_Supplier oK3_Supplier = new K3_Supplier(); // oK3_Supplier.MdiParent = oMain; // oK3_Supplier.Show(); // break; //case "k3_department": // K3_Department oK3_Department = new K3_Department(); // oK3_Department.MdiParent = oMain; // oK3_Department.Show(); // break; //case "k3_currency": // K3_Currency oK3_Currency = new K3_Currency(); // oK3_Currency.MdiParent = oMain; // oK3_Currency.Show(); // break; //case "k3_employee": // K3_Employee oK3_Employee = new K3_Employee(); // oK3_Employee.MdiParent = oMain; // oK3_Employee.Show(); // break; //case "k3_settlestyle": // K3_SettleStyle oK3_SettleStyle = new K3_SettleStyle(); // oK3_SettleStyle.MdiParent = oMain; // oK3_SettleStyle.Show(); // break; //case "k3_sellstyle": // K3_SellStyle oK3_SellStyle = new K3_SellStyle(); // oK3_SellStyle.MdiParent = oMain; // oK3_SellStyle.Show(); // break; //case "k3_prjgroup_extendlist": // K3_PrjGroup_ExtendList oK3_PrjGroup_ExtendList = new K3_PrjGroup_ExtendList(); // oK3_PrjGroup_ExtendList.MdiParent = oMain; // oK3_PrjGroup_ExtendList.Show(); // break; //=================================== case "gy_routinggroup": Gy_RoutingGroup oGy_RoutingGroup = new Gy_RoutingGroup(); oGy_RoutingGroup.MdiParent = oMain; oGy_RoutingGroup.Show(); break; case "gy_department": Gy_Department oGy_Department = new Gy_Department(); oGy_Department.MdiParent = oMain; oGy_Department.Show(); break; case "gy_group": Gy_Group oGy_Group = new Gy_Group(); oGy_Group.MdiParent = oMain; oGy_Group.Show(); break; case "gy_process": Gy_Process oGy_Process = new Gy_Process(); oGy_Process.MdiParent = oMain; oGy_Process.Show(); break; case "gy_source": Gy_Source oGy_Source = new Gy_Source(); oGy_Source.MdiParent = oMain; oGy_Source.Show(); break; case "gy_workcenter": Gy_WorkCenter oGy_WorkCenter = new Gy_WorkCenter(); oGy_WorkCenter.MdiParent = oMain; oGy_WorkCenter.Show(); break; case "gy_badreason": Gy_BadReason oGy_BadReason = new Gy_BadReason(); oGy_BadReason.MdiParent = oMain; oGy_BadReason.Show(); break; case "gy_errtype": Gy_ErrType oGy_ErrType = new Gy_ErrType(); oGy_ErrType.MdiParent = oMain; oGy_ErrType.Show(); break; case "gy_scrapreason": Gy_ScrapReason oGy_ScrapReason = new Gy_ScrapReason(); oGy_ScrapReason.MdiParent = oMain; oGy_ScrapReason.Show(); break; case "gy_procmul": Gy_ProcMul oGy_ProcMul = new Gy_ProcMul(); oGy_ProcMul.MdiParent = oMain; oGy_ProcMul.Show(); break; case "gy_collect": Gy_Collect oGy_Collect = new Gy_Collect(); oGy_Collect.MdiParent = oMain; oGy_Collect.Show(); break; case "gy_housetype": Gy_HouseType oGy_HouseType = new Gy_HouseType(); oGy_HouseType.MdiParent = oMain; oGy_HouseType.Show(); break; case "gy_building": Gy_Building oGy_Building = new Gy_Building(); oGy_Building.MdiParent = oMain; oGy_Building.Show(); break; case "gy_room": Gy_Room oGy_Room = new Gy_Room(); oGy_Room.MdiParent = oMain; oGy_Room.Show(); break; case "gy_itemmoney": Gy_ItemMoney oGy_ItemMoney = new Gy_ItemMoney(); oGy_ItemMoney.MdiParent = oMain; oGy_ItemMoney.Show(); break; case "xt_mainmenuset": Xt_MainMenuSet oXt_MainMenuSet = new Xt_MainMenuSet(); oXt_MainMenuSet.MdiParent = oMain; oXt_MainMenuSet.Show(); break; case "gy_classtimeprjsub": Gy_ClassTimePrjSub oGy_ClassTimePrjSub = new Gy_ClassTimePrjSub(); oGy_ClassTimePrjSub.MdiParent = oMain; oGy_ClassTimePrjSub.Show(); break; case "gy_classtimeprj": Gy_ClassTimePrj oGy_ClassTimePrj = new Gy_ClassTimePrj(); oGy_ClassTimePrj.MdiParent = oMain; oGy_ClassTimePrj.Show(); break; case "": // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message, "Ìáʾ"); } } #endregion #region ͳ¼Æ±¨±í public void Zxxymk_TJBB(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //case "sc_icmoworkcenter_teechart": // Sc_ICMOWorkCenter_TeeChart oSc_ICMOWorkCenter_TeeChart = new Sc_ICMOWorkCenter_TeeChart(); // oSc_ICMOWorkCenter_TeeChart.MdiParent = oMain; // oSc_ICMOWorkCenter_TeeChart.ModCaption = gnmc; // oSc_ICMOWorkCenter_TeeChart.Show(); // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message, "Ìáʾ"); } } #endregion #region ±¨±í·ÖÎö public void Zxxymk_BBFX(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { //case "kf_icinventorylist_k3": // KF_ICInventoryList_K3 oKF_ICInventoryList_K3 = new KF_ICInventoryList_K3(); // oKF_ICInventoryList_K3.MdiParent = oMain; // oKF_ICInventoryList_K3.Show(); // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message, "Ìáʾ"); } } #endregion #region ϵͳ¹ÜÀí public void Zxxymk_XTGL(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { case "oa_empmessagebillmod": OA_EmpMessageBillMod oOA_EmpMessageBillMod = new OA_EmpMessageBillMod(); oOA_EmpMessageBillMod.MdiParent = oMain; oOA_EmpMessageBillMod.Show(); break; case "oa_empmessagebillmodlist": OA_EmpMessageBillModList oOA_EmpMessageBillModList = new OA_EmpMessageBillModList(); oOA_EmpMessageBillModList.MdiParent = oMain; oOA_EmpMessageBillModList.Show(); break; case "oa_fieldtochange": OA_FieldToChange oOA_FieldToChange = new OA_FieldToChange(); oOA_FieldToChange.MdiParent = oMain; oOA_FieldToChange.Show(); break; case "oa_fieldtochangelist": OA_FieldToChangeList oOA_FieldToChangeList = new OA_FieldToChangeList(); oOA_FieldToChangeList.MdiParent = oMain; oOA_FieldToChangeList.Show(); break; case "xt_user": BLL.Xt_User oXt_User = new BLL.Xt_User(); oXt_User.ShowDialog(); break; case "xt_accountperiod": BLL.Xt_AccountPeriod oXt_AccountPeriod=new BLL.Xt_AccountPeriod(); oXt_AccountPeriod.MdiParent = oMain; oXt_AccountPeriod.Show(); break; case "xt_systemlog": BLL.Xt_SystemLog oXt_SystemLog = new BLL.Xt_SystemLog(); oXt_SystemLog.MdiParent = oMain; oXt_SystemLog.Show(); break; case "xt_xtgnb": BLL.Xt_Xtgnb oXt_Xtgnb = new BLL.Xt_Xtgnb(); oXt_Xtgnb.MdiParent = oMain; oXt_Xtgnb.Show(); break; case "gy_dataintmp": Gy_DataInTmp oGy_DataInTmp = new Gy_DataInTmp(); oGy_DataInTmp.MdiParent = oMain; oGy_DataInTmp.Show(); break; //case "gy_datain_hotwater": // Gy_DataIn_HotWater oGy_DataIn_HotWater = new Gy_DataIn_HotWater(); // oGy_DataIn_HotWater.MdiParent = oMain; // oGy_DataIn_HotWater.Show(); // break; //case "gy_datain_haiyan": // Gy_DataIn_HaiYan oGy_DataIn_HaiYan = new Gy_DataIn_HaiYan(); // oGy_DataIn_HaiYan.MdiParent = oMain; // oGy_DataIn_HaiYan.Show(); // break; //case "gy_datain_routingbill": // Gy_DataIn_RoutingBill oGy_DataIn_RoutingBill = new Gy_DataIn_RoutingBill(); // oGy_DataIn_RoutingBill.MdiParent = oMain; // oGy_DataIn_RoutingBill.Show(); // break; case "gy_datain_processprice": Gy_DataIn_ProcessPrice oGy_DataIn_ProcessPrice = new Gy_DataIn_ProcessPrice(); oGy_DataIn_ProcessPrice.MdiParent = oMain; oGy_DataIn_ProcessPrice.Show(); break; case "gy_datain_group": Gy_DataIn_Group oGy_DataIn_Group = new Gy_DataIn_Group(); oGy_DataIn_Group.MdiParent = oMain; oGy_DataIn_Group.Show(); break; case "gy_datain_procmul": Gy_DataIn_ProcMul oGy_DataIn_ProcMul = new Gy_DataIn_ProcMul(); oGy_DataIn_ProcMul.MdiParent = oMain; oGy_DataIn_ProcMul.Show(); break; case "gy_datain_source": Gy_DataIn_Source oGy_DataIn_Source = new Gy_DataIn_Source(); oGy_DataIn_Source.MdiParent = oMain; oGy_DataIn_Source.Show(); break; case "gy_datain_workcenter": Gy_DataIn_WorkCenter oGy_DataIn_WorkCenter = new Gy_DataIn_WorkCenter(); oGy_DataIn_WorkCenter.MdiParent = oMain; oGy_DataIn_WorkCenter.Show(); break; case "xt_checkitem": Xt_CheckItem oXt_CheckItem = new Xt_CheckItem(); oXt_CheckItem.MdiParent = oMain; oXt_CheckItem.Show(); break; case "xt_billtype": Xt_BillType oXt_BillType = new Xt_BillType(); oXt_BillType.MdiParent = oMain; oXt_BillType.Show(); break; case "xt_checkflow": Xt_CheckFlow oXt_CheckFlow = new Xt_CheckFlow(); oXt_CheckFlow.ShowDialog(); break; case "xt_checkflowlist": Xt_CheckFlowList oXt_CheckFlowList = new Xt_CheckFlowList(); oXt_CheckFlowList.MdiParent = oMain; oXt_CheckFlowList.Show(); break; case "xt_checkuserright": Xt_CheckUserRight oXt_CheckUserRight = new Xt_CheckUserRight(); oXt_CheckUserRight.MdiParent = oMain; oXt_CheckUserRight.Show(); break; case "xt_billsourceset": Xt_BillSourceSet oXt_BillSourceSet = new Xt_BillSourceSet(); oXt_BillSourceSet.MdiParent = oMain; oXt_BillSourceSet.Show(); break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message, "Ìáʾ"); } } #endregion #region ¹«Óà public void Zxxymk_Public(string gnsy, string gnmc, Form oMain) { if (gnsy.Length == 0) return; try { switch (gnsy.ToLower()) { case "oa_empmessagebillmod": OA_EmpMessageBillMod oOA_EmpMessageBillMod = new OA_EmpMessageBillMod(); oOA_EmpMessageBillMod.MdiParent = oMain; oOA_EmpMessageBillMod.Show(); break; case "oa_empmessagebillmodlist": OA_EmpMessageBillModList oOA_EmpMessageBillModList = new OA_EmpMessageBillModList(); oOA_EmpMessageBillModList.MdiParent = oMain; oOA_EmpMessageBillModList.Show(); break; case "oa_fieldtochange": OA_FieldToChange oOA_FieldToChange = new OA_FieldToChange(); oOA_FieldToChange.MdiParent = oMain; oOA_FieldToChange.Show(); break; case "oa_fieldtochangelist": OA_FieldToChangeList oOA_FieldToChangeList = new OA_FieldToChangeList(); oOA_FieldToChangeList.MdiParent = oMain; oOA_FieldToChangeList.Show(); break; case "xt_user": BLL.Xt_User oXt_User = new BLL.Xt_User(); oXt_User.ShowDialog(); break; case "xt_accountperiod": BLL.Xt_AccountPeriod oXt_AccountPeriod = new BLL.Xt_AccountPeriod(); oXt_AccountPeriod.MdiParent = oMain; oXt_AccountPeriod.Show(); break; case "xt_systemlog": BLL.Xt_SystemLog oXt_SystemLog = new BLL.Xt_SystemLog(); oXt_SystemLog.MdiParent = oMain; oXt_SystemLog.Show(); break; case "xt_xtgnb": BLL.Xt_Xtgnb oXt_Xtgnb = new BLL.Xt_Xtgnb(); oXt_Xtgnb.MdiParent = oMain; oXt_Xtgnb.Show(); break; case "gy_dataintmp": Gy_DataInTmp oGy_DataInTmp = new Gy_DataInTmp(); oGy_DataInTmp.MdiParent = oMain; oGy_DataInTmp.Show(); break; //case "gy_datain_hotwater": // Gy_DataIn_HotWater oGy_DataIn_HotWater = new Gy_DataIn_HotWater(); // oGy_DataIn_HotWater.MdiParent = oMain; // oGy_DataIn_HotWater.Show(); // break; //case "gy_datain_haiyan": // Gy_DataIn_HaiYan oGy_DataIn_HaiYan = new Gy_DataIn_HaiYan(); // oGy_DataIn_HaiYan.MdiParent = oMain; // oGy_DataIn_HaiYan.Show(); // break; case "gy_datain_processprice": Gy_DataIn_ProcessPrice oGy_DataIn_ProcessPrice = new Gy_DataIn_ProcessPrice(); oGy_DataIn_ProcessPrice.MdiParent = oMain; oGy_DataIn_ProcessPrice.Show(); break; case "xt_checkitem": Xt_CheckItem oXt_CheckItem = new Xt_CheckItem(); oXt_CheckItem.MdiParent = oMain; oXt_CheckItem.Show(); break; case "xt_billtype": Xt_BillType oXt_BillType = new Xt_BillType(); oXt_BillType.MdiParent = oMain; oXt_BillType.Show(); break; case "xt_checkflow": Xt_CheckFlow oXt_CheckFlow = new Xt_CheckFlow(); oXt_CheckFlow.ShowDialog(); break; case "xt_checkflowlist": Xt_CheckFlowList oXt_CheckFlowList = new Xt_CheckFlowList(); oXt_CheckFlowList.MdiParent = oMain; oXt_CheckFlowList.Show(); break; case "xt_checkuserright": Xt_CheckUserRight oXt_CheckUserRight = new Xt_CheckUserRight(); oXt_CheckUserRight.MdiParent = oMain; oXt_CheckUserRight.Show(); break; case "xt_billsourceset": Xt_BillSourceSet oXt_BillSourceSet = new Xt_BillSourceSet(); oXt_BillSourceSet.MdiParent = oMain; oXt_BillSourceSet.Show(); break; //case "crm_complainbackvisitbill": // Crm_ComplainBackVisitBill oCrm_ComplainBackVisitBill = new Crm_ComplainBackVisitBill(); // oCrm_ComplainBackVisitBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ComplainBackVisitBill.ModCaption = gnmc; // oCrm_ComplainBackVisitBill.ShowDialog(); // break; //case "crm_complainbackvisitbilllist": // Crm_ComplainBackVisitBillList oCrm_ComplainBackVisitBillList = new Crm_ComplainBackVisitBillList(); // oCrm_ComplainBackVisitBillList.MdiParent = oMain; // oCrm_ComplainBackVisitBillList.ModCaption = gnmc; // oCrm_ComplainBackVisitBillList.Show(); // break; //case "xs_sellplanexecutebill": // Xs_SellPlanExecuteBill oXs_SellPlanExecuteBill = new Xs_SellPlanExecuteBill(); // oXs_SellPlanExecuteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SellPlanExecuteBill.ModCaption = gnmc; // oXs_SellPlanExecuteBill.ShowDialog(); // break; //case "xs_sellplanexecutebilllist": // Xs_SellPlanExecuteBillList oXs_SellPlanExecuteBillList = new Xs_SellPlanExecuteBillList(); // oXs_SellPlanExecuteBillList.MdiParent = oMain; // oXs_SellPlanExecuteBillList.ModCaption = gnmc; // oXs_SellPlanExecuteBillList.Show(); // break; //case "crm_marketinfobill": // Crm_MarketInfoBill oCrm_MarketInfoBill = new Crm_MarketInfoBill(); // oCrm_MarketInfoBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_MarketInfoBill.ModCaption = gnmc; // oCrm_MarketInfoBill.ShowDialog(); // break; //case "crm_marketinfobilllist": // Crm_MarketInfoBillList oCrm_MarketInfoBillList = new Crm_MarketInfoBillList(); // oCrm_MarketInfoBillList.MdiParent = oMain; // oCrm_MarketInfoBillList.ModCaption = gnmc; // oCrm_MarketInfoBillList.Show(); // break; //case "xs_getneedcheckseprodplanbilllist": // Xs_GetNeedCheckSeProdPlanBillList oXs_GetNeedCheckSeProdPlanBillList = new Xs_GetNeedCheckSeProdPlanBillList(); // oXs_GetNeedCheckSeProdPlanBillList.MdiParent = oMain; // oXs_GetNeedCheckSeProdPlanBillList.ModCaption = gnmc; // oXs_GetNeedCheckSeProdPlanBillList.Show(); // break; //case "a3_getneedcheckseorderbilllist": // A3_GetNeedCheckSeOrderBillList oA3_GetNeedCheckSeOrderBillList = new A3_GetNeedCheckSeOrderBillList(); // oA3_GetNeedCheckSeOrderBillList.MdiParent = oMain; // oA3_GetNeedCheckSeOrderBillList.ModCaption = gnmc; // oA3_GetNeedCheckSeOrderBillList.Show(); // break; //case "a3_getneedcheckselloutbilllist": // A3_GetNeedCheckSellOutBillList oA3_GetNeedCheckSellOutBillList = new A3_GetNeedCheckSellOutBillList(); // oA3_GetNeedCheckSellOutBillList.MdiParent = oMain; // oA3_GetNeedCheckSellOutBillList.ModCaption = gnmc; // oA3_GetNeedCheckSellOutBillList.Show(); // break; //case "crm_campaignbill": // Crm_CampaignBill oCrm_CampaignBill = new Crm_CampaignBill(); // oCrm_CampaignBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CampaignBill.ModCaption = gnmc; // oCrm_CampaignBill.ShowDialog(); // break; //case "crm_campaignbilllist": // Crm_CampaignBillList oCrm_CampaignBillList = new Crm_CampaignBillList(); // oCrm_CampaignBillList.MdiParent = oMain; // oCrm_CampaignBillList.ModCaption = gnmc; // oCrm_CampaignBillList.Show(); // break; //case "crm_counterworkerbill": // Crm_CounterWorkerBill oCrm_CounterWorkerBill = new Crm_CounterWorkerBill(); // oCrm_CounterWorkerBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CounterWorkerBill.ModCaption = gnmc; // oCrm_CounterWorkerBill.ShowDialog(); // break; //case "crm_counterworkerbilllist": // Crm_CounterWorkerBillList oCrm_CounterWorkerBillList = new Crm_CounterWorkerBillList(); // oCrm_CounterWorkerBillList.MdiParent = oMain; // oCrm_CounterWorkerBillList.ModCaption = gnmc; // oCrm_CounterWorkerBillList.Show(); // break; //case "crm_cuscommemoratebill": // Crm_CusCommemorateBill oCrm_CusCommemorateBill = new Crm_CusCommemorateBill(); // oCrm_CusCommemorateBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusCommemorateBill.ModCaption = gnmc; // oCrm_CusCommemorateBill.ShowDialog(); // break; //case "crm_cuscommemoratebilllist": // Crm_CusCommemorateBillList oCrm_CusCommemorateBillList = new Crm_CusCommemorateBillList(); // oCrm_CusCommemorateBillList.MdiParent = oMain; // oCrm_CusCommemorateBillList.ModCaption = gnmc; // oCrm_CusCommemorateBillList.Show(); // break; //case "crm_linkmanbill": // Crm_LinkManBill oCrm_LinkManBill = new Crm_LinkManBill(); // oCrm_LinkManBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_LinkManBill.ModCaption = gnmc; // oCrm_LinkManBill.ShowDialog(); // break; //case "crm_linkmanbilllist": // Crm_LinkManBillList oCrm_LinkManBillList = new Crm_LinkManBillList(); // oCrm_LinkManBillList.MdiParent = oMain; // oCrm_LinkManBillList.ModCaption = gnmc; // oCrm_LinkManBillList.Show(); // break; //case "crm_linknotebill": // Crm_LinkNoteBill oCrm_LinkNoteBill = new Crm_LinkNoteBill(); // oCrm_LinkNoteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_LinkNoteBill.ModCaption = gnmc; // oCrm_LinkNoteBill.ShowDialog(); // break; //case "crm_linknotebilllist": // Crm_LinkNoteBillList oCrm_LinkNoteBillList = new Crm_LinkNoteBillList(); // oCrm_LinkNoteBillList.MdiParent = oMain; // oCrm_LinkNoteBillList.ModCaption = gnmc; // oCrm_LinkNoteBillList.Show(); // break; //case "crm_sellchancebill": // Crm_SellChanceBill oCrm_SellChanceBill = new Crm_SellChanceBill(); // oCrm_SellChanceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellChanceBill.ModCaption = gnmc; // oCrm_SellChanceBill.ShowDialog(); // break; //case "crm_sellchancebilllist": // Crm_SellChanceBillList oCrm_SellChanceBillList = new Crm_SellChanceBillList(); // oCrm_SellChanceBillList.MdiParent = oMain; // oCrm_SellChanceBillList.ModCaption = gnmc; // oCrm_SellChanceBillList.Show(); // break; //case "crm_sellchancechangebill": // Crm_SellChanceChangeBill oCrm_SellChanceChangeBill = new Crm_SellChanceChangeBill(); // oCrm_SellChanceChangeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellChanceChangeBill.ModCaption = gnmc; // oCrm_SellChanceChangeBill.ShowDialog(); // break; //case "crm_sellchancechangebilllist": // Crm_SellChanceChangeBillList oCrm_SellChanceChangeBillList = new Crm_SellChanceChangeBillList(); // oCrm_SellChanceChangeBillList.MdiParent = oMain; // oCrm_SellChanceChangeBillList.ModCaption = gnmc; // oCrm_SellChanceChangeBillList.Show(); // break; //case "crm_cusappealbill": // Crm_CusAppealBill oCrm_CusAppealBill = new Crm_CusAppealBill(); // oCrm_CusAppealBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusAppealBill.ModCaption = gnmc; // oCrm_CusAppealBill.ShowDialog(); // break; //case "crm_cusappealbilllist": // Crm_CusAppealBillList oCrm_CusAppealBillList = new Crm_CusAppealBillList(); // oCrm_CusAppealBillList.MdiParent = oMain; // oCrm_CusAppealBillList.ModCaption = gnmc; // oCrm_CusAppealBillList.Show(); // break; //case "crm_cusservicebill": // Crm_CusServiceBill oCrm_CusServiceBill = new Crm_CusServiceBill(); // oCrm_CusServiceBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusServiceBill.ModCaption = gnmc; // oCrm_CusServiceBill.ShowDialog(); // break; //case "crm_cusservicebilllist": // Crm_CusServiceBillList oCrm_CusServiceBillList = new Crm_CusServiceBillList(); // oCrm_CusServiceBillList.MdiParent = oMain; // oCrm_CusServiceBillList.ModCaption = gnmc; // oCrm_CusServiceBillList.Show(); // break; //case "crm_worknotebill": // Crm_WorkNoteBill oCrm_WorkNoteBill = new Crm_WorkNoteBill(); // oCrm_WorkNoteBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkNoteBill.ModCaption = gnmc; // oCrm_WorkNoteBill.ShowDialog(); // break; //case "crm_worknotebilllist": // Crm_WorkNoteBillList oCrm_WorkNoteBillList = new Crm_WorkNoteBillList(); // oCrm_WorkNoteBillList.MdiParent = oMain; // oCrm_WorkNoteBillList.ModCaption = gnmc; // oCrm_WorkNoteBillList.Show(); // break; //case "crm_workplanbill": // Crm_WorkPlanBill oCrm_WorkPlanBill = new Crm_WorkPlanBill(); // oCrm_WorkPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_WorkPlanBill.ModCaption = gnmc; // oCrm_WorkPlanBill.ShowDialog(); // break; //case "crm_workplanbilllist": // Crm_WorkPlanBillList oCrm_WorkPlanBillList = new Crm_WorkPlanBillList(); // oCrm_WorkPlanBillList.MdiParent = oMain; // oCrm_WorkPlanBillList.ModCaption = gnmc; // oCrm_WorkPlanBillList.Show(); // break; //case "crm_marketsurveybill": // Crm_MarketSurveyBill oCrm_MarketSurveyBill = new Crm_MarketSurveyBill(); // oCrm_MarketSurveyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_MarketSurveyBill.ShowDialog(); // break; //case "crm_marketsurveybilllist": // Crm_MarketSurveyBillList oCrm_MarketSurveyBillList = new Crm_MarketSurveyBillList(); // oCrm_MarketSurveyBillList.MdiParent = oMain; // oCrm_MarketSurveyBillList.Show(); // break; //case "crm_cluebill"://ÏßË÷ // Crm_ClueBill oCrm_ClueBill = new Crm_ClueBill(); // oCrm_ClueBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ClueBill.ShowDialog(); // break; //case "crm_cluebilllist": // Crm_ClueBillList oCrm_ClueBillList = new Crm_ClueBillList(); // oCrm_ClueBillList.MdiParent = oMain; // oCrm_ClueBillList.Show(); // break; //case "crm_sellcampaignbill"://ÓªÏú»î¶¯ // Crm_SellCampaignBill oCrm_SellCampaignBill = new Crm_SellCampaignBill(); // oCrm_SellCampaignBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_SellCampaignBill.ShowDialog(); // break; //case "crm_sellcampaignbilllist": // Crm_SellCampaignBillList oCrm_SellCampaignBillList = new Crm_SellCampaignBillList(); // oCrm_SellCampaignBillList.MdiParent = oMain; // oCrm_SellCampaignBillList.Show(); // break; ////=================================================== //case "pro_designbluerequestbill": // Pro_DesignBlueRequestBill oPro_DesignBlueRequestBill = new Pro_DesignBlueRequestBill(); // oPro_DesignBlueRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_DesignBlueRequestBill.ModCaption = gnmc; // oPro_DesignBlueRequestBill.ShowDialog(); // break; //case "pro_designbluerequestbilllist": // Pro_DesignBlueRequestBillList oPro_DesignBlueRequestBillList = new Pro_DesignBlueRequestBillList(); // oPro_DesignBlueRequestBillList.MdiParent = oMain; // oPro_DesignBlueRequestBillList.ModCaption = gnmc; // oPro_DesignBlueRequestBillList.Show(); // break; //case "pro_getneedcheckdesignbluerequestbill": // Pro_GetNeedCheckDesignBlueRequestBill oPro_GetNeedCheckDesignBlueRequestBill = new Pro_GetNeedCheckDesignBlueRequestBill(); // oPro_GetNeedCheckDesignBlueRequestBill.MdiParent = oMain; // //oPro_GetNeedCheckDesignBlueRequestBill.ModCaption = gnmc; // oPro_GetNeedCheckDesignBlueRequestBill.Show(); // break; //case "pro_projectcheckbill": // Pro_ProjectCheckBill oPro_ProjectCheckBill = new Pro_ProjectCheckBill(); // oPro_ProjectCheckBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectCheckBill.ModCaption = gnmc; // oPro_ProjectCheckBill.ShowDialog(); // break; //case "pro_projectcheckbilllist": // Pro_ProjectCheckBillList oPro_ProjectCheckBillList = new Pro_ProjectCheckBillList(); // oPro_ProjectCheckBillList.MdiParent = oMain; // oPro_ProjectCheckBillList.ModCaption = gnmc; // oPro_ProjectCheckBillList.Show(); // break; //case "pro_projectrequestbill": // Pro_ProjectRequestBill oPro_ProjectRequestBill = new Pro_ProjectRequestBill(); // oPro_ProjectRequestBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oPro_ProjectRequestBill.ModCaption = gnmc; // oPro_ProjectRequestBill.ShowDialog(); // break; //case "pro_projectrequestbilllist": // Pro_ProjectRequestBillList oPro_ProjectRequestBillList = new Pro_ProjectRequestBillList(); // oPro_ProjectRequestBillList.MdiParent = oMain; // oPro_ProjectRequestBillList.ModCaption = gnmc; // oPro_ProjectRequestBillList.Show(); // break; //case "xs_sequotationbill": // Xs_SeQuotationBill oXs_SeQuotationBill = new Xs_SeQuotationBill(); // oXs_SeQuotationBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeQuotationBill.ModCaption = gnmc; // oXs_SeQuotationBill.ShowDialog(); // break; //case "xs_sequotationbilllist": // Xs_SeQuotationBillList oXs_SeQuotationBillList = new Xs_SeQuotationBillList(); // oXs_SeQuotationBillList.MdiParent = oMain; // oXs_SeQuotationBillList.ModCaption = gnmc; // oXs_SeQuotationBillList.Show(); // break; //case "xs_sesamplebill": // Xs_SeSampleBill oXs_SeSampleBill = new Xs_SeSampleBill(); // oXs_SeSampleBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeSampleBill.ModCaption = gnmc; // oXs_SeSampleBill.ShowDialog(); // break; //case "xs_sesamplebilllist": // Xs_SeSampleBillList oXs_SeSampleBillList = new Xs_SeSampleBillList(); // oXs_SeSampleBillList.MdiParent = oMain; // oXs_SeSampleBillList.ModCaption = gnmc; // oXs_SeSampleBillList.Show(); // break; //case "xs_seprodplanbill": // Xs_SeProdPlanBill oXs_SeProdPlanBill = new Xs_SeProdPlanBill(); // oXs_SeProdPlanBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oXs_SeProdPlanBill.ModCaption = gnmc; // oXs_SeProdPlanBill.ShowDialog(); // break; //case "xs_seprodplanbilllist": // Xs_SeProdPlanBillList oXs_SeProdPlanBillList = new Xs_SeProdPlanBillList(); // oXs_SeProdPlanBillList.MdiParent = oMain; // oXs_SeProdPlanBillList.ModCaption = gnmc; // oXs_SeProdPlanBillList.Show(); // break; //case "a3_seorderbilllist": // A3_SeOrderBillList oA3_SeOrderBillList = new A3_SeOrderBillList(); // oA3_SeOrderBillList.MdiParent = oMain; // oA3_SeOrderBillList.ModCaption = gnmc; // oA3_SeOrderBillList.Show(); // break; //case "a3_seoutbilllist": // A3_SellOutBillList oA3_SellOutBillList = new A3_SellOutBillList(); // oA3_SellOutBillList.MdiParent = oMain; // oA3_SellOutBillList.ModCaption = gnmc; // oA3_SellOutBillList.Show(); // break; //case "gy_customer": // Gy_Customer oGy_Customer = new Gy_Customer(); // oGy_Customer.MdiParent = oMain; // oGy_Customer.Show(); // break; //case "crm_customerfile": // Crm_CustomerFile oCrm_CustomerFile = new Crm_CustomerFile(); // oCrm_CustomerFile.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CustomerFile.ModCaption = gnmc; // oCrm_CustomerFile.ShowDialog(); // break; //case "crm_customerfilelist": // Crm_CustomerFileList oCrm_CustomerFileList = new Crm_CustomerFileList(); // oCrm_CustomerFileList.MdiParent = oMain; // oCrm_CustomerFileList.ModCaption = gnmc; // oCrm_CustomerFileList.Show(); // break; //case "crm_productfile": // Crm_ProductFile oCrm_ProductFile = new Crm_ProductFile(); // oCrm_ProductFile.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_ProductFile.ModCaption = gnmc; // oCrm_ProductFile.ShowDialog(); // break; //case "crm_productfilelist": // Crm_ProductFileList oCrm_ProductFileList = new Crm_ProductFileList(); // oCrm_ProductFileList.MdiParent = oMain; // oCrm_ProductFileList.ModCaption = gnmc; // oCrm_ProductFileList.Show(); // break; //case "crm_cusservicesurveybill": // Crm_CusServiceSurveyBill oCrm_CusServiceSurveyBill = new Crm_CusServiceSurveyBill(); // oCrm_CusServiceSurveyBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusServiceSurveyBill.ModCaption = gnmc; // oCrm_CusServiceSurveyBill.ShowDialog(); // break; //case "crm_cusservicesurveybilllist": // Crm_CusServiceSurveyBillList oCrm_CusServiceSurveyBillList = new Crm_CusServiceSurveyBillList(); // oCrm_CusServiceSurveyBillList.MdiParent = oMain; // oCrm_CusServiceSurveyBillList.ModCaption = gnmc; // oCrm_CusServiceSurveyBillList.Show(); // break; //case "crm_cuscareforbill": // Crm_CusCareForBill oCrm_CusCareForBill = new Crm_CusCareForBill(); // oCrm_CusCareForBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oCrm_CusCareForBill.ModCaption = gnmc; // oCrm_CusCareForBill.ShowDialog(); // break; //case "crm_cuscareforbilllist": // Crm_CusCareForBillList oCrm_CusCareForBillList = new Crm_CusCareForBillList(); // oCrm_CusCareForBillList.MdiParent = oMain; // oCrm_CusCareForBillList.ModCaption = gnmc; // oCrm_CusCareForBillList.Show(); // break; //case "gy_dataintmp_dusubsidyitem": // //ȨÏÞ // Gy_DataInTmp_DuSubsidyItem oGy_DataInTmp_DuSubsidyItem = new Gy_DataInTmp_DuSubsidyItem(); // oGy_DataInTmp_DuSubsidyItem.MdiParent = oMain; // oGy_DataInTmp_DuSubsidyItem.Show(); // break; //case "pay_dusubsidyitembilllist": // //ȨÏÞ // Pay_DuSubsidyItemBillList oPay_DuSubsidyItemBillList = new Pay_DuSubsidyItemBillList(); // oPay_DuSubsidyItemBillList.MdiParent = oMain; // oPay_DuSubsidyItemBillList.Show(); // break; //case "pay_dusubsidyitembill": // // // Pay_DuSubsidyItemBill oPay_DuSubsidyItemBill = new Pay_DuSubsidyItemBill(); // oPay_DuSubsidyItemBill.ShowDialog(); // break; //case "pay_outapplybilllist": // //ȨÏÞ // Pay_OutApplyBillList oPay_OutApplyBillList = new Pay_OutApplyBillList(); // oPay_OutApplyBillList.MdiParent = oMain; // oPay_OutApplyBillList.Show(); // break; //case "pay_outapplybill": // // // Pay_OutApplyBill oPay_OutApplyBill = new Pay_OutApplyBill(); // oPay_OutApplyBill.ShowDialog(); // break; //case "pay_procpricerequestbilllist": // //ȨÏÞ // Pay_ProcPriceRequestBillList oPay_ProcPriceRequestBillList = new Pay_ProcPriceRequestBillList(); // oPay_ProcPriceRequestBillList.MdiParent = oMain; // oPay_ProcPriceRequestBillList.Show(); // break; //case "pay_procpricerequestbill": // // // Pay_ProcPriceRequestBill oPay_ProcPriceRequestBill = new Pay_ProcPriceRequestBill(); // oPay_ProcPriceRequestBill.ShowDialog(); // break; //case "pay_exambalbilllist": // //ȨÏÞ // Pay_ExamBalBillList oPay_ExamBalBillList = new Pay_ExamBalBillList(); // oPay_ExamBalBillList.MdiParent = oMain; // oPay_ExamBalBillList.Show(); // break; //case "pay_exambalbill": // // // Pay_ExamBalBill oPay_ExamBalBill = new Pay_ExamBalBill(); // oPay_ExamBalBill.ShowDialog(); // break; //case "pay_worktimesbilllist": // //ȨÏÞ // Pay_WorkTimesBillList oPay_WorkTimesBillList = new Pay_WorkTimesBillList(); // oPay_WorkTimesBillList.MdiParent = oMain; // oPay_WorkTimesBillList.Show(); // break; //case "pay_worktimesbill": // // // Pay_WorkTimesBill oPay_WorkTimesBill = new Pay_WorkTimesBill(); // oPay_WorkTimesBill.ShowDialog(); // break; //case "pay_paymentbilllist": // //ȨÏÞ // Pay_PayMentBillList oPay_PayMentBillList = new Pay_PayMentBillList(); // oPay_PayMentBillList.MdiParent = oMain; // oPay_PayMentBillList.Show(); // break; //case "pay_paymentbill": // // // Pay_PayMentBill oPay_PayMentBill = new Pay_PayMentBill(); // oPay_PayMentBill.MdiParent = oMain; // oPay_PayMentBill.Show(); // break; //case "pay_groupbalbilllist": // //ȨÏÞ // Pay_GroupBalBillList oPay_GroupBalBillList = new Pay_GroupBalBillList(); // oPay_GroupBalBillList.MdiParent = oMain; // oPay_GroupBalBillList.Show(); // break; //case "pay_groupbalbill": // // // Pay_GroupBalBill oPay_GroupBalBill = new Pay_GroupBalBill(); // oPay_GroupBalBill.ShowDialog(); // break; //case "pay_errworktimesrequestbilllist": // //ȨÏÞ // Pay_ErrWorkTimesRequestBillList oPay_ErrWorkTimesRequestBillList = new Pay_ErrWorkTimesRequestBillList(); // oPay_ErrWorkTimesRequestBillList.MdiParent = oMain; // oPay_ErrWorkTimesRequestBillList.Show(); // break; //case "pay_errworktimesrequestbill": // // // Pay_ErrWorkTimesRequestBill oPay_ErrWorkTimesRequestBill = new Pay_ErrWorkTimesRequestBill(); // oPay_ErrWorkTimesRequestBill.ShowDialog(); // break; //case "pay_getneedcheckerrworktimessendbilllist": // Pay_GetNeedCheckErrWorkTimesSendBillList oPay_GetNeedCheckErrWorkTimesSendBillList = new Pay_GetNeedCheckErrWorkTimesSendBillList(); // oPay_GetNeedCheckErrWorkTimesSendBillList.MdiParent = oMain; // //oPay_GetNeedCheckErrWorkTimesSendBillList.ModCaption = gnmc; // oPay_GetNeedCheckErrWorkTimesSendBillList.Show(); // break; //case "pay_errworktimessendbilllist": // //ȨÏÞ // Pay_ErrWorkTimesSendBillList oPay_ErrWorkTimesSendBillList = new Pay_ErrWorkTimesSendBillList(); // oPay_ErrWorkTimesSendBillList.MdiParent = oMain; // oPay_ErrWorkTimesSendBillList.Show(); // break; //case "pay_errworktimessendbill": // // // Pay_ErrWorkTimesSendBill oPay_ErrWorkTimesSendBill = new Pay_ErrWorkTimesSendBill(); // oPay_ErrWorkTimesSendBill.ShowDialog(); // break; //case "pay_singlebalbilllist": // //ȨÏÞ // Pay_SingleBalBillList oPay_SingleBalBillList = new Pay_SingleBalBillList(); // oPay_SingleBalBillList.MdiParent = oMain; // oPay_SingleBalBillList.Show(); // break; //case "pay_singlebalbill": // // // Pay_SingleBalBill oPay_SingleBalBill = new Pay_SingleBalBill(); // oPay_SingleBalBill.ShowDialog(); // break; //case "pay_otherbalbilllist": // //ȨÏÞ // Pay_OtherBalBillList oPay_OtherBalBillList = new Pay_OtherBalBillList(); // oPay_OtherBalBillList.MdiParent = oMain; // oPay_OtherBalBillList.Show(); // break; //case "pay_otherbalbill": // // // Pay_OtherBalBill oPay_OtherBalBill = new Pay_OtherBalBill(); // oPay_OtherBalBill.ShowDialog(); // break; //case "pay_overapplybill": // // // Pay_OverApplyBill oPay_OverApplyBill = new Pay_OverApplyBill(); // oPay_OverApplyBill.ShowDialog(); // break; //case "pay_overapplybilllist": // //ȨÏÞ // Pay_OverApplyBillList oPay_OverApplyBillList = new Pay_OverApplyBillList(); // oPay_OverApplyBillList.MdiParent = oMain; // oPay_OverApplyBillList.Show(); // break; //case "hr_empchangebilllist": // //ȨÏÞ // HR_EmpChangeBillList oHR_EmpChangeBillList = new HR_EmpChangeBillList(); // oHR_EmpChangeBillList.MdiParent = oMain; // oHR_EmpChangeBillList.Show(); // break; //case "hr_empchangebill": // // // HR_EmpChangeBill oHR_EmpChangeBill = new HR_EmpChangeBill(); // oHR_EmpChangeBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; // oHR_EmpChangeBill.ShowDialog(); // break; case "pay_periodinfoset": //ȨÏÞ Pay_PeriodInfoSet oPay_PeriodInfoSet = new Pay_PeriodInfoSet(); oPay_PeriodInfoSet.MdiParent = oMain; oPay_PeriodInfoSet.Show(); break; //==============================================================±¨±í·ÖÎö //case "pay_prodworkqtysumreport": // //ȨÏÞ // Pay_ProdWorkQtySumReport oPay_ProdWorkQtySumReport = new Pay_ProdWorkQtySumReport(); // oPay_ProdWorkQtySumReport.MdiParent = oMain; // oPay_ProdWorkQtySumReport.Show(); // break; //case "pay_prodworkqtyentryreport": // //ȨÏÞ // Pay_ProdWorkQtyEntryReport oPay_ProdWorkQtyEntryReport = new Pay_ProdWorkQtyEntryReport(); // oPay_ProdWorkQtyEntryReport.MdiParent = oMain; // oPay_ProdWorkQtyEntryReport.Show(); // break; //case "pay_empworkqtyentryreport": // //ȨÏÞ // Pay_EmpWorkQtyEntryReport oPay_EmpWorkQtyEntryReport = new Pay_EmpWorkQtyEntryReport(); // oPay_EmpWorkQtyEntryReport.MdiParent = oMain; // oPay_EmpWorkQtyEntryReport.Show(); // break; //case "pay_paymentdeptsendlist": // //ȨÏÞ // Pay_PayMentDeptSendList oPay_PayMentDeptSendList = new Pay_PayMentDeptSendList(); // oPay_PayMentDeptSendList.MdiParent = oMain; // oPay_PayMentDeptSendList.Show(); // break; //case "pay_paymentdeptyearreport": // //ȨÏÞ // Pay_PayMentDeptYearReport oPay_PayMentDeptYearReport = new Pay_PayMentDeptYearReport(); // oPay_PayMentDeptYearReport.MdiParent = oMain; // oPay_PayMentDeptYearReport.Show(); // break; //case "pay_paymentprintreport": // //ȨÏÞ // Pay_PayMentPrintReport oPay_PayMentPrintReport = new Pay_PayMentPrintReport(); // oPay_PayMentPrintReport.MdiParent = oMain; // oPay_PayMentPrintReport.Show(); // break; //case "pay_paymentsendlist": // //ȨÏÞ // Pay_PayMentSendList oPay_PayMentSendList = new Pay_PayMentSendList(); // oPay_PayMentSendList.MdiParent = oMain; // oPay_PayMentSendList.Show(); // break; //case "pay_paymentyearreport": // //ȨÏÞ // Pay_PayMentYearReport oPay_PayMentYearReport = new Pay_PayMentYearReport(); // oPay_PayMentYearReport.MdiParent = oMain; // oPay_PayMentYearReport.Show(); // break; //case "pay_worktimeslist": // //ȨÏÞ // Pay_WorkTimesList oPay_WorkTimesList = new Pay_WorkTimesList(); // oPay_WorkTimesList.MdiParent = oMain; // oPay_WorkTimesList.Show(); // break; //case "pay_emppaymentsumreport": // //ȨÏÞ // Pay_EmpPayMentSumReport oPay_EmpPayMentSumReport = new Pay_EmpPayMentSumReport(); // oPay_EmpPayMentSumReport.MdiParent = oMain; // oPay_EmpPayMentSumReport.Show(); // break; default: break; } } catch (Exception e) { MessageBox.Show(e.Message, "Ìáʾ"); } } #endregion } }