From 7e863a33397f317ffc3ffd9288496d0e4f16aa66 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 12 十二月 2019 14:58:20 +0800 Subject: [PATCH] 合并了新代码 --- ZigbeeApp/Shared/Phone/Device/Account/AccountForgetPWD.cs | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountForgetPWD.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountForgetPWD.cs index 9a7efab..2e2d466 100755 --- a/ZigbeeApp/Shared/Phone/Device/Account/AccountForgetPWD.cs +++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountForgetPWD.cs @@ -241,7 +241,7 @@ /// <param name="mouseEventArgs">The ${ParameterType} instance containing the event data.</param> private void Account_TextChange(object sender, string mouseEventArgs) { - errorBtn.Text = ""; + errorBtn.Text = string.Empty; if ((sender as EditText).Text.Trim().Length > 0) { @@ -261,7 +261,7 @@ /// <param name="mouseEventArgs">The ${ParameterType} instance containing the event data.</param> private void Code_TextChange(object sender, string mouseEventArgs) { - errorBtn.Text = ""; + errorBtn.Text = string.Empty; if ((sender as EditText).Text.Trim().Length > 0) { resetBtn.Enable = resetBtn.IsSelected = true; @@ -284,18 +284,6 @@ { if (CheckAccount(account) == false) { - return; - } - //鍏堝垽鏂�2娆″瘑鐮佽緭鍏ユ槸鍚︿竴鑷� - if (pwdRow.PasswrodET.Text.Trim() != pwdComfireRow.PasswrodET.Text.Trim()) - { - errorBtn.TextID = R.MyInternationalizationString.TwoPasswordInconsistency; - return; - } - - if (AccountLogic.Instance.CheckPwdLength(pwdRow.PasswrodET.Text.Trim()) == false) - { - errorBtn.TextID = R.MyInternationalizationString.ThePWDLengthError; return; } -- Gitblit v1.8.0