示例#1
0
 public frmRegSearch(InitReg initReg, IModel iWorkList, IModel iArchives, Hashtable ht)
 {
     InitializeComponent();
     this.iWorkList            = iWorkList;
     this.iArchives            = iArchives;
     this.initReg              = initReg;
     this.ht                   = ht;
     regPacs                   = new RegCls_Pacs();
     regUPE                    = new RegCls_UPE();
     regJW                     = new RegCls_JW();
     regHT                     = new RegCls_HT();
     this.sqlHis               = this.GetHisWhereStr();
     this.sqlPacs              = this.GetPacsWhereStr();
     this.txt_PatientId.Text   = GetParamByHt(ht, "PATIENT_ID");
     this.txt_PatientName.Text = GetParamByHt(ht, "PATIENT_NAME");
     bindData.BindPatientSource(this.cmb_PatientSource);
     if (GetParamByHt(ht, "PATIENT_SOURCE") == "")
     {
         this.cmb_PatientSource.SelectedIndex = -1;
     }
     else
     {
         this.cmb_PatientSource.SelectedValue = GetParamByHt(ht, "PATIENT_SOURCE");
     }
 }
示例#2
0
 public BindData()
 {
     this.regHT   = new RegCls_HT();
     this.regJW   = new RegCls_JW();
     this.regPacs = new RegCls_Pacs();
     this.regUPE  = new RegCls_UPE();
 }