Esempio n. 1
0
 private void ДобавитьКнигуToolStripMenuItem_Click(object sender, EventArgs e)
 {
     f4.Owner        = this;
     f4.publications = publications;
     this.Hide();
     f4.ShowDialog();
     this.Show();
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
        private void AddBookClick(object sender, RoutedEventArgs e)
        {
            AddBook addBook = new AddBook();

            addBook.ShowDialog();
        }
Esempio n. 4
0
        private void btnAddBooks_Click(object sender, EventArgs e)
        {
            AddBook ab = new AddBook();

            ab.ShowDialog();
        }