private void btnResetPassword_Click(object sender, EventArgs e) { // changes the password to the new given password resetPasswordController.ChangePassword(txtPassword.Text, txtReEnterPassword.Text, txtKeyEmail.Text); }