private void mnChangepassword_Click(object sender, EventArgs e) { frmChangePassword = new frmChangePassword(); frmChangePassword.ShowDialog(); }
/// <summary> /// Event raise when user click change password button /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bntChangePass_Click(object sender, EventArgs e) { //open form change password frmChangePassword = new frmChangePassword(); frmChangePassword.ShowDialog(); }