HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-10-18 97e259d966cb5cb5d73c105d5dbaadcc1f920614
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;
@@ -66,6 +70,10 @@
                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);