/// <summary> /// 加载首页 /// </summary> private void loadHome() { splitContainerEx_Body.SplitterWidth = 6; UUCHomeManage ucHome = new UUCHomeManage(); //首页 ucHome.ID = "STR_" + SYSModel.clsSysConfig.STR_CS_MEMU_HOMEMANAGE; ucHome.Name = SYSModel.clsSysConfig.STR_CS_MEMU_HOMEMANAGE; ucHome.Dock = DockStyle.Fill; panel_Content.Controls.Add(ucHome);// panel_Main.Controls.Add(ucHome); ucHome.BringToFront(); SYSModel.clsSysConfig.STR_CURR_MAINMEMU = "CL_RepairBusiness"; childmemu(null, "首页", SYSModel.clsSysConfig.STR_CS_MEMU_HOMEMANAGE, "", SYSModel.clsSysConfig.STR_CURR_MAINMEMU, ""); if (!this.panel_LeftMenu.Controls.ContainsKey(SYSModel.clsSysConfig.STR_CURR_MAINMEMU)) { HXCPcClient.UCMainLayOut.UCLeftMenu UCLeftMenu = new HXCPcClient.UCMainLayOut.UCLeftMenu(); //系统管理 UCLeftMenu.Name = SYSModel.clsSysConfig.STR_CURR_MAINMEMU; UCLeftMenu.FunID = SYSModel.clsSysConfig.STR_CURR_MAINMEMU; UCLeftMenu.Dock = DockStyle.Fill; UCLeftMenu.menuName = "维修业务"; UCLeftMenu.Tag = UCLeftMenu.menuName; UCLeftMenu.FmMain = this; UCLeftMenu.Focus(); panel_LeftMenu.Controls.Add(UCLeftMenu); UCLeftMenu.BringToFront(); SYSModel.clsSysConfig.STR_CURR_MAINMEMU = UCLeftMenu.FunID; ucMenuBar1.MenuButtonStatus();//三级菜单选中时 一级菜单的选中状态 } else { (panel_LeftMenu.Controls.Find("CL_RepairBusiness", false)[0] as HXCPcClient.UCMainLayOut.UCLeftMenu).BringToFront(); } }