示例#1
0
 public AddOrEditBookForm(BooksForm booksForm, int bookId)
 {
     InitializeComponent();
     _parentForm = booksForm;
     _bookId     = bookId;
     isEditForm  = true;
     InitializeBookDetails(bookId);
 }
示例#2
0
 public AddOrEditBookForm(BooksForm booksForm)
 {
     InitializeComponent();
     _parentForm = booksForm;
 }
示例#3
0
        private void button1_Click(object sender, EventArgs e)
        {
            BooksForm books = new BooksForm();

            books.ShowDialog();
        }