Beispiel #1
0
 private void UpdateListViewGuardian()
 {
     guardians = DbOperations.GetAllGuardians();
     listViewGuardian.Items.Refresh();
     listViewGuardian.ItemsSource = guardians;
 }
Beispiel #2
0
 private void BtnSearchGuardian_Click(object sender, RoutedEventArgs e)
 {
     guardians = DbOperations.GetGuardian(txtLastNameGuardian.Text);
     listViewGuardian.Items.Refresh();
     listViewGuardian.ItemsSource = guardians;
 }
 private void GetAttendances()
 {
     attendances = DbOperations.Getabscenceasguardian();
     ListView.Items.Refresh();
     ListView.ItemsSource = attendances;
 }