Exemple #1
0
 private void buttonReset_Click(object sender, EventArgs e)
 {
     Security.ChangePassword changePassword = new Security.ChangePassword(username, true);
     changePassword.ShowDialog();
 }
Exemple #2
0
 private void changePasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Security.ChangePassword changePassword = new Security.ChangePassword(Globals.currentUsername);
     changePassword.ShowDialog();
 }