예제 #1
0
 private void FormDoctorPanel_Load(object sender, EventArgs e)
 {
     doctor          = doctorController.GetDoctor(memberDoctor);
     lblWelcome.Text = string.Format("Hoşgeldiniz {0} {1}", doctor.DoctorFirstName, doctor.DoctortLastName);
     pnlTodaysAppointments.Visible    = true;
     pnlCompletedAppointments.Visible = false;
     cmbExaminationStatus.DataSource  = Enum.GetValues(typeof(EnumExaminationStatus));
     CreateSession(DateTime.Today);
     pnlPatientStatus.Visible   = false;
     cmbDiagnosis.DataSource    = examinationController.GetAllDiognosis();
     cmbDiagnosis.DisplayMember = "DiagnosisName";
     cmbDiagnosis.ValueMember   = "DiagnosisId";
 }