Пример #1
0
        private void addbook_Click(object sender, RoutedEventArgs e)
        {
            ModifyBook addBookForm = new ModifyBook(user);

            addBookForm.Show();
            this.Hide();
        }
Пример #2
0
        private void editButton_Click(object sender, RoutedEventArgs e)
        {
            ModifyBook modify = new ModifyBook(user);

            modify.book = book;
            modify.populateFields();
            modify.Show();
            this.Hide();
        }