public static EditAppointmentPage getInstance(Patient patient) { if (instance == null) { instance = new EditAppointmentPage(patient); } return(instance); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { instance = null; }