From c47c3ec2488961b3a006aaebcb03dba582f8b19b Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 12 三月 2020 17:08:42 +0800
Subject: [PATCH] 2020-03-12-1

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs |   19 ++++++++++++-------
 1 files changed, 12 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..cf840fd 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/PswNumberInputControl.cs
@@ -83,6 +83,7 @@
             this.Height = Application.GetMinRealAverage(NumberSize * 4 + NumberTopButtomSpace * 3) + Application.GetRealHeight(368);
             this.btnTitle = new NormalViewControl(Application.CurrentWidth, Application.GetRealWidth(75), false);
             btnTitle.Text = i_title;
+            btnTitle.IsBold = true;
         }
 
         /// <summary>
@@ -290,8 +291,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 +302,8 @@
             {
                 listPswIcon[i].BackgroundColor = UserCenterColor.Current.Transparent;
             }
-            if (clearError == true)
-            {
-                //閿欒淇℃伅
-                btnError.Text = string.Empty;
-            }
+            //閿欒淇℃伅
+            btnError.Text = string.Empty;
         }
 
         #endregion
@@ -324,6 +321,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