protected void executeChangePasswordCommand(object param) { if (SecureStringHelper.CompareSecureStrings(this.password, this.confirmPassword) == false) { Message.ShowExclamation("Пароли не совпадают!", "Ошибка"); } else { //this.password = (param as System.Windows.Controls.PasswordBox).SecurePassword; this.view.DialogResult = true; } }