From 5727cf0b9b54da0a191dd1e23cb5abf21320fbff Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 25 十一月 2019 10:34:17 +0800
Subject: [PATCH] IOS使用新的项目名称

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/VerificationCodeControl.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/VerificationCodeControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/VerificationCodeControl.cs
index 5e041ad..6b26088 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/VerificationCodeControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/VerificationCodeControl.cs
@@ -20,6 +20,10 @@
         /// </summary>
         public Action<string> FinishInputEvent = null;
         /// <summary>
+        /// 瀵嗙爜杈撳叆绫诲瀷
+        /// </summary>
+        public bool SecureTextEntry = false;
+        /// <summary>
         /// 楠岃瘉鐮侀暱搴�
         /// </summary>
         private int CodeLenth = 0;
@@ -60,12 +64,16 @@
                 frameCode.X = i * Application.GetRealWidth(115 + 49);
                 frameCode.Width = Application.GetRealWidth(115);
                 frameCode.Height = Application.GetRealHeight(104);
-                frameCode.Radius = (uint)Application.GetMinRealAverage(6);
+                frameCode.Radius = 6;
                 frameCode.BorderWidth = 1;
                 frameCode.BorderColor = UserCenterColor.Current.TextFrameColor;
                 this.AddChidren(frameCode);
 
                 var txtCode = new TextInputControl(frameCode.Width, frameCode.Height, false);
+                if (SecureTextEntry == true)
+                {
+                    txtCode.SecureTextEntry = true;
+                }
                 txtCode.Name = i.ToString();
                 txtCode.TextAlignment = TextAlignment.Center;
                 frameCode.AddChidren(txtCode);

--
Gitblit v1.8.0