From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 28 四月 2020 15:02:44 +0800 Subject: [PATCH] 2020-04-28-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