private void showManageAppointmentPage()
 {
     if (this.SelectedAppointment != null)
     {
         var manageApptFrm = new ManageAppointmentPage(this.SelectedAppointment)
         {
             ReadOnly = true
         };
         manageApptFrm.ShowDialog();
     }
 }
 public LabTestPage(ManageAppointmentPage appointmentPage)
 {
     InitializeComponent();
     this.appointmentPage = appointmentPage;
     this.testTypes       = new List <TestType>();
 }