Exemple #1
0
 private void btnHae_Click(object sender, RoutedEventArgs e)
 {
     dgBooks.DataContext = BookShop.GetTestBooks();
 }
Exemple #2
0
 private void btnGetTestBooks_Click(object sender, RoutedEventArgs e)
 {
     //haetaan testikirjoja, UI-testi
     books = BookShop.GetTestBooks();
     dgBooks.DataContext = books;
 }