11 private string passwordHash =
string.Empty;
12 private string passwordHashMethod =
string.Empty;
24 get => this.passwordHash;
25 set => this.passwordHash = value;
33 get => this.passwordHashMethod;
34 set => this.passwordHashMethod = value;
37 private void CancelButton_Click(
object Sender, RoutedEventArgs e)
39 this.DialogResult =
false;
42 private void ChangeButton_Click(
object Sender, RoutedEventArgs e)
44 if (this.Password.Password !=
this.RetypePassword.Password)
46 MessageBox.Show(
this,
"The two passwords must match.",
"Error", MessageBoxButton.OK, MessageBoxImage.Error);
47 this.Password.Focus();
50 this.DialogResult =
true;