コード例 #1
0
        private void UserControlPatientPro_Load(object sender, EventArgs e)
        {
            panelNew.Enabled = false;
            cdh = new CalbayogHospitalSystemEntities();

            patientBindingSource.DataSource = cdh.Patients.ToList();
        }
コード例 #2
0
        private void UserControlPrescription_Load(object sender, EventArgs e)
        {
            panelAddPres.Enabled = false;
            cdh = new CalbayogHospitalSystemEntities();

            prescriptionBindingSource.DataSource = cdh.Prescriptions.ToList();
        }
コード例 #3
0
 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();
 }