public Edit_Category(Register_new_books rnb) { InitializeComponent(); fillCategory(); this.rnbinstance = rnb; //editCategory(); }
private void buttonEditType_Click(object sender, EventArgs e) { Register_new_books rnb = this; comboControl.bookID = labelBookID.Text;; comboControl.bookName = textBoxBookName.Text; comboControl.ISBN = textBoxISBN.Text; comboControl.printYear = textBoxPrintedYear.Text; comboControl.descrip = textBoxBookDescription.Text; new Edit_Book_Type(rnb).Show(); }
private void buttonAddPublisher_Click(object sender, EventArgs e) { Register_new_books rnb = this; String bookID = labelBookID.Text; String bookN = textBoxBookName.Text; String isbn = textBoxISBN.Text; String pYear = textBoxPrintedYear.Text; String descrip = textBoxBookDescription.Text; comboControl.bookID = bookID; comboControl.bookName = bookN; comboControl.ISBN = isbn; comboControl.printYear = pYear; comboControl.descrip = descrip; //MessageBox.Show(comboControl.bookName); new Add_New_Publisher(rnb).Show(); }
public Add_New_Author(Register_new_books rnb) { InitializeComponent(); this.rnbinstance = rnb; }
private void buttonAddType_Click(object sender, EventArgs e) { Register_new_books rnb = this; new Add_New_Book_Type(rnb).Show(); }
public Edit_Book_Type(Register_new_books rnb) { InitializeComponent(); fillCategory(); this.rnbinstance = rnb; }
public Add_New_Category(Register_new_books rnb) { this.rnbinstance = rnb; InitializeComponent(); }