From 159ec8ae413683e1ce134ec204d1c0b4d175baec Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 14 十一月 2019 15:55:32 +0800 Subject: [PATCH] 2019.11.14 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs index ab75e36..711cbee 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs @@ -290,8 +290,7 @@ /// 閲嶇疆鎺т欢 /// </summary> /// <param name="i_title">鏍囬淇℃伅</param> - /// <param name="clearError">鏄惁娓呴櫎閿欒淇℃伅</param> - public void ResetControlInfo(string i_title, bool clearError = true) + public void ResetControlInfo(string i_title) { //鏍囬 btnTitle.Text = i_title; @@ -302,11 +301,8 @@ { listPswIcon[i].BackgroundColor = UserCenterColor.Current.Transparent; } - if (clearError == true) - { - //閿欒淇℃伅 - btnError.Text = string.Empty; - } + //閿欒淇℃伅 + btnError.Text = string.Empty; } #endregion @@ -324,6 +320,14 @@ btnError.Visible = true; } btnError.Text = i_msg; + + //璁板綍鐨勫瘑鐮� + inputPassword = string.Empty; + //瀵嗙爜鍥炬爣 + for (int i = 0; i < listPswIcon.Count; i++) + { + listPswIcon[i].BackgroundColor = UserCenterColor.Current.Transparent; + } } #endregion -- Gitblit v1.8.0