예제 #1
0
 public static DoctorEditAppointmentWindow GetInstance(Appointment appointmentToEdit)
 {
     if (instance == null)
     {
         instance = new DoctorEditAppointmentWindow(appointmentToEdit);
     }
     return(instance);
 }
예제 #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) => instance = null;