/// <summary> /// Добавить книгу /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripButton4_Click(object sender, EventArgs e) { AddBook addBook = new AddBook(); addBook.MdiParent = this.MdiParent; addBook.Show(); }
void addBook_FormClosed(object sender, EventArgs e) { add = null; Book.Save(); Giving.Save(); Student.Save(); }
private void BtnAddForm_Click(object sender, EventArgs e) { this.Hide(); AddBook addBook = new AddBook(); addBook.Show(); }
private void 添加书籍_Click(object sender, EventArgs e) { AddBook subForm = new AddBook(); subForm.Owner = this; subForm.Show(); }
private void добавитьНовуюToolStripMenuItem_Click(object sender, EventArgs e) { if (add == null) { AddBook addBook = new AddBook(); addBook.MdiParent = this; addBook.FormClosed += new FormClosedEventHandler(addBook_FormClosed); addBook.Show(); } }
private void btn_Add_Click(object sender, EventArgs e) { if (Properties.Settings.Default.Status) { AddBook bookForm = new AddBook(this, lbCode); bookForm.ShowDialog(); } else { LoginForm loginForm = new LoginForm(); loginForm.ShowDialog(); } showAllData(); }
private void AddBookClick(object sender, RoutedEventArgs e) { AddBook addBook = new AddBook(); addBook.ShowDialog(); }
private void btnAddBooks_Click(object sender, EventArgs e) { AddBook ab = new AddBook(); ab.ShowDialog(); }