/// <summary> /// 设定放射科科室管理左边导航条 /// </summary> private void BuildStructPacsDeptManage() { frmDockForm tsl = new frmDockForm(); tsl.DockHandler.GetPersistStringCallback = null; tsl.DockHandler.PersistString = "科室管理"; tsl.Name = "科室管理"; tsl.Tag = "frmDeptManage"; tsl.Text = "科室管理"; tsl.p = this.p_Sub; DockForm df = new DockForm(); df.frmDock = tsl; df.isShow = false; this.frmDockList.Add(df); }
/// <summary> /// 动态夹杂着子系统模块,超声科 /// </summary> private void BuildStruct()//动态加载子系统模块 { if (GetConfig.SystemType.ToUpper() == "REGISTER") { BuildStructPacs(); } else { BSystemFun BSysFun = new BSystemFun(); MSystemFun MsysFun = new MSystemFun(); DataTable dt = new DataTable(); SIS_Model.MUser muser = (SIS_Model.MUser)iUser; switch (muser.DOCTOR_ROLE) { case "1": dt = BSysFun.GetList(" MODEL_CLASS='1' AND UP_MODEL_ID=0 AND MODEL_NAME ='检查登记' ORDER BY SORT_FLAG "); break; case "2": dt = BSysFun.GetList(" MODEL_CLASS='1' AND UP_MODEL_ID=0 ORDER BY SORT_FLAG "); break; } if (dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { frmDockForm tsl = new frmDockForm(); tsl.DockHandler.GetPersistStringCallback = null; tsl.DockHandler.PersistString = dt.Rows[i]["MODEL_ID"].ToString(); tsl.Name = dt.Rows[i]["MODEL_ID"].ToString();//将目录ID设置为名称 tsl.Tag = "SIS.comm.ToolboxPanel"; tsl.Text = dt.Rows[i]["MODEL_NAME"].ToString(); if (dt.Rows[i]["IMAGE_ADDRESS"].ToString() != "") { tsl.Icon = new Icon(Application.StartupPath + "\\images\\" + dt.Rows[i]["IMAGE_ADDRESS"].ToString()); } tsl.p = this.p_Sub; DockForm df = new DockForm(); df.frmDock = tsl; df.isShow = false; this.frmDockList.Add(df); } } } }
/// <summary> /// 质控管理系统左边导航条 /// </summary> private void BuildStructPacsQualityControl() { frmDockForm tsl = new frmDockForm(); tsl.DockHandler.GetPersistStringCallback = null; tsl.DockHandler.PersistString = "科室资料"; tsl.Name = "科室资料"; tsl.Tag = "QualityControl_PACS_Information"; tsl.Text = "科室资料"; tsl.p = this.p_Sub; DockForm df = new DockForm(); df.frmDock = tsl; df.isShow = false; this.frmDockList.Add(df); frmDockForm ts2 = new frmDockForm(); ts2.DockHandler.GetPersistStringCallback = null; ts2.DockHandler.PersistString = "质控统计"; ts2.Name = "质控统计"; ts2.Tag = "QualityControl_PACS_Total"; ts2.Text = "质控统计"; ts2.p = this.p_Sub; df = new DockForm(); df.frmDock = ts2; df.isShow = false; this.frmDockList.Add(df); frmDockForm ts3 = new frmDockForm(); ts3.DockHandler.GetPersistStringCallback = null; ts3.DockHandler.PersistString = "质控管理文档"; ts3.Name = "质控管理文档"; ts3.Tag = "QualityControl_PACS_Office"; ts3.Text = "质控管理文档"; ts3.p = this.p_Sub; df = new DockForm(); df.frmDock = ts3; df.isShow = false; this.frmDockList.Add(df); }