コード例 #1
0
 public Edit_Category(Register_new_books rnb)
 {
     InitializeComponent();
     fillCategory();
     this.rnbinstance = rnb;
     //editCategory();
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
 public Add_New_Author(Register_new_books rnb)
 {
     InitializeComponent();
     this.rnbinstance = rnb;
 }
コード例 #5
0
        private void buttonAddType_Click(object sender, EventArgs e)
        {
            Register_new_books rnb = this;

            new Add_New_Book_Type(rnb).Show();
        }
コード例 #6
0
 public Edit_Book_Type(Register_new_books rnb)
 {
     InitializeComponent();
     fillCategory();
     this.rnbinstance = rnb;
 }
コード例 #7
0
 public Add_New_Category(Register_new_books rnb)
 {
     this.rnbinstance = rnb;
     InitializeComponent();
 }