Esempio n. 1
0
 private void посмотретьКнигиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (bookList == null)
     {
         ViewBookList ViewList = new ViewBookList();
         ViewList.MdiParent       = this;
         ViewList.FormBorderStyle = FormBorderStyle.FixedDialog;
         ViewList.FormClosed     += ViewList_FormClosed;
         ViewList.Show();
     }
 }
Esempio n. 2
0
 private void ViewList_FormClosed(object sender, FormClosedEventArgs e)
 {
     bookList = null;
 }