private void btnShowCurrentAppointments_Click(object sender, EventArgs e) { CURRENT_APP_VIEW = CURRENT_APP_VIEW.CURRENT; try { selectedCurrentPatientAppointments = eClinicalsController.GetAllCurrentDateAppointmentsByPatientID(patient.PatientID); frmPatientRecordTabs.dgViewAppointments_ViewAppointments.DataSource = selectedCurrentPatientAppointments; } catch (Exception ex) { Status(ex.Message + " Select Current Appoinitment", Color.Red); } showSummaryButton(false); }
private void btnShowAllAppointments_Click(object sender, EventArgs e) { CURRENT_APP_VIEW = CURRENT_APP_VIEW.ALL; selectedPatientAppointments = eClinicalsController.GetAllAppointmentsByPatientID(patient.PatientID); frmPatientRecordTabs.dgViewAppointments_ViewAppointments.DataSource = selectedPatientAppointments; }