示例#1
0
 private void dodajobecnosc_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         Uzytkownik usr   = (Uzytkownik)uczen2.SelectedItem;
         int        czy   = obecnosc.SelectedIndex;
         string     datav = data2.SelectedDate.Value.ToShortDateString();
         DBhelp.DodajObecnosc(usr.id, czy, datav);
         dziennik.ItemsSource = DBhelp.ObecnosciKlasa(1);
     }
     catch (NullReferenceException exception)
     {
     }
 }
示例#2
0
 private void OnLoadTable(object sender, RoutedEventArgs e)
 {
     dziennik.ItemsSource = DBhelp.ObecnosciKlasa(1);
 }
示例#3
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     dziennik.ItemsSource = DBhelp.ObecnosciKlasa(2);
 }
 private void OnLoadTable(object sender, RoutedEventArgs e)
 {
     oceny.ItemsSource     = DBhelp.OcenyPrzedmioty(1);
     obecnosci.ItemsSource = DBhelp.ObecnosciKlasa(1);
 }
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     oceny.ItemsSource     = DBhelp.OcenyPrzedmioty(2);
     obecnosci.ItemsSource = DBhelp.ObecnosciKlasa(2);
 }