示例#1
0
 public static PatientFeedback GetInstance(Patient patient)
 {
     if (instance == null)
     {
         instance = new PatientFeedback(patient);
     }
     return(instance);
 }
示例#2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     instance = null;
 }
 private void feedbackButton_Click(object sender, RoutedEventArgs e)
 {
     PatientFeedback.GetInstance(_loggedInPatient).Show();
 }