private void ButtonSubclass_Click(object sender, EventArgs e) { //AllBooks.BookList.Remove(bookInQuestion); AreYouSureDeleteBook areYouSureDeleteBook = new AreYouSureDeleteBook(bookInQuestion); areYouSureDeleteBook.Show(); //Form1.addBookForm.Hide(); //Form1. //this.Hide(); }