private void btnChangePass_Click(object sender, EventArgs e) { frmChangePass frmChangePass = new frmChangePass(); frmChangePass.MdiParent = this; frmChangePass.Show(); }
private void mnuChangePass_Click(object sender, EventArgs e) { Form t = Application.OpenForms["frmChangePass"]; if (t == null) { frmChangePass m = new frmChangePass(); m.MdiParent = this; m.Show(); } }
private void btnChangePass_Click(object sender, EventArgs e) { var cp = new frmChangePass(); cp.Show(); }