Example #1
0
 private void 用户管理ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_frmUser == null || _frmUser.IsDisposed)
     {
         _frmUser = new FrmUser();
         _frmUser.Show();
     }
     else
     {
         _frmUser.Focus();
         _frmUser.WindowState = FormWindowState.Normal;
         _frmUser.Show();
     }
 }
Example #2
0
        private void btnUser_Click(object sender, EventArgs e)
        {
            FrmUser user = new FrmUser();

            user.Show();
        }