Beispiel #1
0
        private void UCOutAndInpRecord_Load(object sender, EventArgs e)
        {
            if (nurseRecordBiz == null)
            {
                nurseRecordBiz = new NurseRecordBiz();
            }
            //设置标题
            DataTable dt = MethodSet.GetHospitalInfo();

            if (null != dt && dt.Rows.Count > 0)
            {
                this.lbl_title1.Text = dt.Rows[0]["NAME"].ToString();
                this.lbl_title2.Text = dt.Rows[0]["SUBNAME"].ToString();
            }
            RefreshData();
        }
        private void SetTitlelbl()
        {
            ///设置标题栏
            DataTable dtHos = MethodSet.GetHospitalInfo();

            lbl_title1.Text  = dtHos.Rows[0]["Name"].ToString();
            lbl_title2.Text  = dtHos.Rows[0]["SubName"].ToString();
            lbl_nameTxt.Text = MethodSet.CurrentInPatient.Name;
            DataTable patientInfo = PublicSet.MethodSet.GetPatientInfoForThreeMeasureTable(MethodSet.CurrentInPatient.NoOfFirstPage);

            if (patientInfo.Rows.Count > 0)
            {
                lbl_departmentTxt.Text = patientInfo.Rows[0]["dept_name"].ToString();
                lbl_bedNoTxt.Text      = patientInfo.Rows[0]["outbed"].ToString();
            }
            lbl_inpNoTxt.Text = MethodSet.CurrentInPatient.RecordNoOfHospital;
        }