예제 #1
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     db.Dispose();
     db = new ModelContainer();
     this.patientDataGrid.ItemsSource = db.Patients.ToList();
 }
예제 #2
0
 public CreatePatient(PatientList win)
 {
     InitializeComponent();
     patientListWin = win;
     this.db        = win.db;
 }