コード例 #1
0
 private void DoctorAppointmentExecute()
 {
     try
     {
         DoctorAppointment doctorAppointmentWindow = new DoctorAppointment();
         patientChoice.Close();
         doctorAppointmentWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
コード例 #2
0
        private void DoctorAppointmentExecute()
        {
            try
            {
                DoctorAppointment view = new DoctorAppointment();
                medicalDeparmentsViewByPatient.Close();
                view.ShowDialog();
            }

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