private void DoctorAppointmentExecute()
 {
     try
     {
         DoctorAppointment doctorAppointmentWindow = new DoctorAppointment();
         patientChoice.Close();
         doctorAppointmentWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Ejemplo n.º 2
0
        private void DoctorAppointmentExecute()
        {
            try
            {
                DoctorAppointment view = new DoctorAppointment();
                medicalDeparmentsViewByPatient.Close();
                view.ShowDialog();
            }

            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }