Exemplo n.º 1
0
 private void Button_Click_15(object sender, RoutedEventArgs e)
 {
     bob.CHGenre(CB_Name.Text, CB_Author.Text, CB2_Genre.SelectedIndex + 1);
     MessageBox.Show("Жанр успішно змінено!");
     CB_Genre.Text     = GenreFromIndex(CB2_Genre.SelectedIndex + 1);
     data2.ItemsSource = null;
     data2.ItemsSource = bob.getList();
     CountGenres();
     Reload();
 }