Exemplo n.º 1
0
 private void btnBook_Click(object sender, EventArgs e)
 {
     if (ob_FrmBook == null || ob_FrmBook.IsDisposed)
     {
         ob_FrmBook = new FrmBook();
         ob_FrmBook.Show();
     }
     else
     {
         ob_FrmBook.Activate();
     }
 }
Exemplo n.º 2
0
 private void btnBook_Click(object sender, EventArgs e)
 {
     if (ob_FrmBook == null || ob_FrmBook.IsDisposed)
     {
         ob_FrmBook = new FrmBook();
         ob_FrmBook.Show();
     }
     else
     {
         ob_FrmBook.Activate();
     }
 }