コード例 #1
0
 private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
 {
     if (BanLe == null || BanLe.IsDisposed)
     {
         BanLe = new frmBanLe();
         BanLe.Show();
     }
     else
     {
         BanLe.Activate();
     }
 }
コード例 #2
0
 private void dataGridView_DoubleClick(object sender, EventArgs e)
 {
     if (BanLe == null || BanLe.IsDisposed)
     {
         BanLe = new frmBanLe(ctrl);
         BanLe.Show();
     }
     else
     {
         BanLe.Activate();
     }
 }