Ejemplo n.º 1
0
 private void EditBookbutton_Click(object sender, RoutedEventArgs e)
 {
     if (DataGridBook.SelectedItems.Count > 0)
     {
         Books            books            = (Books)DataGridBook.SelectedItems[0];
         AddingBookWindow addingBookWindow = new AddingBookWindow(books);
         addingBookWindow.Show();
     }
 }
Ejemplo n.º 2
0
        private void AddintBookButton_Click(object sender, RoutedEventArgs e)
        {
            AddingBookWindow addingBookWindow = new AddingBookWindow();

            addingBookWindow.Show();
        }