public override void Call(int aId, string aBm, string aMc) { #region 系统管理 //模块管理 if (string.Compare(aBm, "xtgl-mkgl", true) == 0) { FrmMKGL c = new FrmMKGL(); tp.Controls.Clear(); tp.Controls.Add(c); return; } #endregion ClsMsgBox.Jg(aId + "," + aBm + "," + aMc + Environment.NewLine + "此功能正在实现中"); }
public override void Call(int aId, string aBm, string aMc) { tp.Controls.Clear(); #region //配置管理 if (string.Compare(aBm, "xtgl-config", true) == 0) { FrmConfig c = new FrmConfig(); tp.Controls.Add(c); return; } #endregion #region 系统管理 //模块管理 if (string.Compare(aBm, "xtgl-mkgl", true) == 0) { FrmMKGL c = new FrmMKGL(); tp.Controls.Add(c); return; } #endregion #region 进销存 if (string.Compare(aBm, "jxc-jhdlr", true) == 0) { FrmJhdLB c = new FrmJhdLB(); c.Dock = DockStyle.Left; tp.Controls.Add(c); return; } #endregion #region 项管理 //选项管理 if (string.Compare(aBm, "xtgl-xxgl", true) == 0) { FrmOptionLBLB c = new FrmOptionLBLB(); tp.Controls.Add(c); return; } #endregion #region 机构管理 //机构管理 if (string.Compare(aBm, "xtgl-jggl", true) == 0) { FrmJGGL c = new FrmJGGL(); tp.Controls.Add(c); return; } #endregion #region 角色管理 //角色管理 if (string.Compare(aBm, "xtgl-jsgl", true) == 0) { FrmRolesLB c = new FrmRolesLB(); tp.Controls.Add(c); return; } #endregion #region 员工管理 //员工管理 if (string.Compare(aBm, "yggl", true) == 0) { FrmYgLB c = new FrmYgLB(); tp.Controls.Add(c); return; } #endregion #region //员工管理 if (string.Compare(aBm, "xtgl-yggl", true) == 0) { FrmYuanGongLB c = new FrmYuanGongLB(); c.Dock = DockStyle.Fill; tp.Controls.Add(c); return; } #endregion #region 实验 //实验模块 if (string.Compare(aBm, "shiyan", true) == 0) { FrmPractice d = new FrmPractice(); tp.Controls.Clear(); tp.Controls.Add(d); return; } #endregion ClsMsgBox.Jg(aId + "," + aBm + "," + aMc + Environment.NewLine + "此功能正在实现中…"); }