From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28
---
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