コード例 #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();
     }
 }
コード例 #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();
     }
 }