Example #1
0
        //public LabPatientBill()
        //{
        //    InitializeComponent();

        //}
        public LabPatientBill(object lp1, object la1) //:this()
        {
            InitializeComponent();
            lp = (LabPatient)lp1;
            la = (LabAppointment)la1;
            //setPatientDetails();
        }
Example #2
0
 private void fillUpdateFormData(LabPatient details)
 {
     txtLPAgeUpdate.Text            = details.Age.ToString();
     txtLPEmailUpdate.Text          = details.Email;
     txtLPNameUpdate.Text           = details.Name;
     txtLPPhoneUpdate.Text          = details.Phone;
     cmbLPGenderUpdate.SelectedItem = details.Gender;
 }
Example #3
0
 public Form2()
 {
     InitializeComponent();
     dbr                  = new DBRetrieve();
     labPatient           = new LabPatient();
     labappmnt            = new LabAppointment();
     manipulateLabAppmnt  = new LabAppointment();
     manipulateLabPatient = new LabPatient();
 }
Example #4
0
        public TestDetailsEntry()
        {
            InitializeComponent();
            labpatient = new LabPatient();
            dbr        = new DBRetrieve();
            validation = new Validation();
            bloodtest  = new BloodTest();
            labtest    = new LabTest();

            txt_Panel1 = new Dictionary <string, string> {
                { "Field", "" }, { "DType", "" }, { "Error_lbl", "" }, { "Value", "" }
            };
            txt_Panel2 = new Dictionary <string, string> {
                { "Field", "" }, { "DType", "" }, { "Error_lbl", "" }, { "Value", "" }
            };
            txt_Panel3 = new Dictionary <string, string> {
                { "Field", "" }, { "DType", "" }, { "Error_lbl", "" }, { "Value", "" }
            };

            //updatingTest = new Dictionary<string, string> { { "field_num", "" } };
        }