Esempio n. 1
0
        /// <summary>
        /// 获取Pacs质控科室信息
        /// </summary>
        /// <param name="where"></param>
        /// <param name="ClassName"></param>
        public void Get_Pacs_Quality_DeptInfor(string where, string ClassName)
        {
            BDeptDataDict bDeptDtDic = new BDeptDataDict();
            DataTable     dt         = bDeptDtDic.GetList(" DATA_TYPE='" + where + "'");

            if (dt != null)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    DataRow             DR      = dt.Rows[i];
                    SIS.comm.DockButton dButton = GetNewButton(DR["DATA_NAME"].ToString(), ClassName, "");
                    this.p_Three.Controls.Add(dButton);
                }
            }
        }
Esempio n. 2
0
 private void NewButton(System.Data.DataRow dr, Panel p, ref int y)
 {
     SIS.comm.DockButton dButton = GetNewButton(dr["MODEL_NAME"].ToString(), dr["MODEL_PLACE"].ToString(), dr["MODEL_ID"].ToString());
     p.Controls.Add(dButton);
 }