private void changePasswordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form fc           = Application.OpenForms["FrmUserManagement"];
            Form fcParentMenu = Application.OpenForms["FrmMainScreen"];

            if (fc != null)
            {
                fc.Focus();
            }
            else
            {
                FrmPasswordChange f1 = new FrmPasswordChange();
                f1.MdiParent = fcParentMenu;
                f1.Show();
            }
        }
Beispiel #2
0
        void mnuChangePassword_Click(object sender, EventArgs e)
        {
            Form fc           = Application.OpenForms["FrmPasswordChange"];
            Form fcParentMenu = Application.OpenForms["FrmMainScreen"];

            if (fc != null)
            {
                fc.Focus();
            }
            else
            {
                FrmPasswordChange f1 = new FrmPasswordChange();
                f1.MdiParent = fcParentMenu;
                f1.Show();
            }
        }