private void UserControlPatientPro_Load(object sender, EventArgs e)
        {
            panelNew.Enabled = false;
            cdh = new CalbayogHospitalSystemEntities();

            patientBindingSource.DataSource = cdh.Patients.ToList();
        }
        private void UserControlPrescription_Load(object sender, EventArgs e)
        {
            panelAddPres.Enabled = false;
            cdh = new CalbayogHospitalSystemEntities();

            prescriptionBindingSource.DataSource = cdh.Prescriptions.ToList();
        }
 private void UserControlDiagnosis_Load(object sender, EventArgs e)
 {
     panelAdd.Enabled = false;
     cdh = new CalbayogHospitalSystemEntities();
     diagnoseBindingSource.DataSource = cdh.Diagnoses.ToList();
 }
示例#4
0
 private void UserControlID_Load(object sender, EventArgs e)
 {
     cdh = new CalbayogHospitalSystemEntities();
     patientBindingSource.DataSource = cdh.Patients.ToList();
 }