Esempio n. 1
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            if (is_AdminIS == false)
            {
                MessageBox.Show("权限不够");
            }
            var form = new frmInputCenter();

            if (form.ShowDialog() == DialogResult.OK)
            {
            }
        }
Esempio n. 2
0
 private void 库录入ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (frmInputCenter == null)
     {
         frmInputCenter             = new frmInputCenter();
         frmInputCenter.FormClosed += new FormClosedEventHandler(FrmOMS_FormClosed);
     }
     if (frmInputCenter == null)
     {
         frmInputCenter = new frmInputCenter();
     }
     frmInputCenter.Show(this.dockPanel2);
 }
Esempio n. 3
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;
     }
 }