コード例 #1
0
ファイル: FrmAfterSs.cs プロジェクト: yendux/BlueCloudHIS1.2
        public FrmAfterSs(HIS.Model.SS_APPLY _ssapplypat, int _employeeid)
        {
            InitializeComponent();
            ssApplyPat = _ssapplypat;
            PatientControl patient = new PatientControl();

            employeeid = _employeeid;
            this.inPatientPanel1.InPaitent = patient.SetData(ssApplyPat.Zy_Patlist);
            GetData();
            InitData();
        }
コード例 #2
0
 private void listView1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (tabSsPlist.SelectedIndex == 0)
     {
         if (listView1.SelectedItems.Count > 0)
         {
             PatientControl patient = new PatientControl();
             this.inPatientPanel1.InPaitent = patient.SetData(ssapplypat.Zy_Patlist);
         }
     }
     else
     {
         if (listView2.SelectedItems.Count > 0)
         {
             PatientControl patient = new PatientControl();
             this.inPatientPanel1.InPaitent = patient.SetData(ssapplypat.Zy_Patlist);
         }
     }
 }
コード例 #3
0
        public FrmSsArrange(HIS.Model.SS_APPLY _ssapplypat, int _userid)
        {
            InitializeComponent();
            ssApplyPat = _ssapplypat;
            userid     = _userid;
            arrangeop  = new HIS.SS_BLL.SsArrange();
            PatientControl patient = new PatientControl();

            this.inPatientPanel1.InPaitent = patient.SetData(ssApplyPat.Zy_Patlist);
            GetData();
            nurses = HIS.SS_BLL.BaseInfo.GetNurse();
            beds   = HIS.SS_BLL.BaseInfo.GetSsRoom();
            txtWash_Nurse.SetSelectionCardDataSource(nurses);
            txtWash_Nurse1.SetSelectionCardDataSource(nurses);
            txtWash_Nurse2.SetSelectionCardDataSource(nurses);
            txtTourNurse.SetSelectionCardDataSource(nurses);
            txtTourNurse1.SetSelectionCardDataSource(nurses);
            txtTourNurse2.SetSelectionCardDataSource(nurses);
            txtRoom.SetSelectionCardDataSource(beds);
        }