Exemplo n.º 1
0
 private void 查询信息ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmChouchamoshi == null)
     {
         frmChouchamoshi             = new frmChouchamoshi(is_AdminIS);
         frmChouchamoshi.FormClosed += new FormClosedEventHandler(FrmOMS_FormClosed);
     }
     if (frmChouchamoshi == null)
     {
         frmChouchamoshi = new frmChouchamoshi(is_AdminIS);
     }
     frmChouchamoshi.Show(this.dockPanel2);
 }
Exemplo n.º 2
0
 void FrmOMS_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (sender is frmInputCenter)
     {
         frmInputCenter = null;
     }
     if (sender is frmChouchamoshi)
     {
         frmChouchamoshi = null;
     }
     if (sender is frmKaoshimoshi)
     {
         frmKaoshimoshi = null;
     }
 }