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