コード例 #1
0
        /// <summary>
        /// Checks on the old password, new password and confirm new password are done here
        /// </summary>
        public void CheckPassword()
        {
            CheckOldPassword     = AccountHandler.PasswordCheckVersusOldPassword(EnteredOldPassword);
            OldPasswordTooltip   = AccountHandler.PasswordConfirmResultString(CheckOldPassword);
            ImagePathOldPassword = AccountHandler.ReturnImagePathConfirmPassword(CheckOldPassword);

            CheckNewPassword     = AccountHandler.EnteredNewPasswordMatchesEnteredOldPassword(EnteredNewPassword);
            NewPasswordTooltip   = AccountHandler.EnteredNewPasswordMatchesOldPasswordResultFromString(CheckNewPassword);
            ImagePathNewPassword = AccountHandler.ReturnImagePathChangePassword(CheckNewPassword);

            CheckConfirmPassword     = AccountHandler.ConfirmPasswordCheck(EnteredConfirmPassword, EnteredNewPassword);
            ConfirmPasswordTooltip   = AccountHandler.PasswordConfirmResultString(CheckConfirmPassword);
            ImagepathConfirmPassword = AccountHandler.ReturnImagePathConfirmPassword(CheckConfirmPassword);



            IsConfirmButtonEnabled = CheckConfirmButtonStatus();
        }