Пример #1
0
        private void FrmJkks_Load(object sender, EventArgs e)
        {
            this.Text     = title;
            this.Location = Pp;
            if (isVisibe)
            {
                this.Width = 500;
            }
            else
            {
                this.Width = 355;
            }
            Jkbm.HeaderText = colNames[2];
            Jkmc.HeaderText = colNames[3];


            this.remark.Visible = isVisibe;
            //dt = AppServer.getdzxx(LocationCode);
            dt = AppServer.sjcx(LocationCode, "");
            SelectTodgv();
            //this.txtText.Text = searchName;
            txtText.Focus();
        }
Пример #2
0
        private void FrmKsdy_Load(object sender, EventArgs e)
        {
            this.Text                = "科室对照";
            ucDictComp1.owerForm     = this;
            ucDictComp1.LocationCode = "ks";
            //ucDictComp1.SectionCodeService = "ZZ244";
            //ucDictComp1.SectionCodeHosp = "KSXX001";
            //ucDictComp1.dt = AppServer.sjcx("RC038", "");
            ucDictComp1.dt    = AppServer.getdzxx("ks");
            ucDictComp1.type  = "RC038";
            ucDictComp1.title = "科室选择";
            //ucDictComp1.SectionNameService = "科室编码";
            //ucDictComp1.SectionNameHosp = "科室编码";

            List <string> list = new List <string>();

            list.Add("院内科室编码");
            list.Add("院内科室名称");
            list.Add("对应国家科室编码");
            list.Add("对应国家科室名称");
            ucDictComp1.columnNames = list;

            this.ucDictComp1.InitForm();
        }