gxc
2019-12-25 944b87b6bcccb095cd73f13f4410fb20faf48f74
ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
old mode 100755 new mode 100644
@@ -2,6 +2,7 @@
using System.Timers;
using Shared.Common;
using Shared.Phone.Device.CommonForm;
using Shared.Phone.UserCenter;
namespace Shared.Phone.Device.Account
{
@@ -19,8 +20,6 @@
        /// 手机邮箱
        /// </summary>
        private FrameLayout PhoneEmailFL;
        public PhoneEmailForm()
        {
@@ -141,19 +140,21 @@
            accountFL.AddChidren(PhoneZoneBtn);
            PhoneZoneBtn.MouseUpEventHandler += (sender, e) =>
            {
                var zoneListView = new PhoneZone { };
                zoneListView.ActionSelectedZone += (zone) =>
                {
                    var t = CommonPage.PhoneZoneStr;
                    (sender as Button).Text = "+" + zone;
                };
                parFL.AddChidren(zoneListView);
                zoneListView.Show();
                var form = new AreaCodeSelectForm();                 parFL.AddChidren(form);                 form.InitForm();                 form.ShowForm();                 form.FinishSelectEvent += (code) =>                 {                     (sender as Button).Text = "+" + code;                     CommonPage.PhoneZoneStr = code;                 };
                //var zoneListView = new PhoneZone { };
                //zoneListView.ActionSelectedZone += (zone) =>
                //{
                //    var t = CommonPage.PhoneZoneStr;
                //    (sender as Button).Text = "+" + zone;
                //};
                //parFL.AddChidren(zoneListView);
                //zoneListView.Show();
            };
            AccountET = new EditText()
            {
                X = Application.GetRealWidth(193),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(600),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -175,8 +176,6 @@
            };
            accountFL.AddChidren(accountLine);
        }
    }
    public class PhoneLoginRowForm : FrameLayout
@@ -241,8 +240,6 @@
            };
            accountFL.AddChidren(accountLine);
        }
    }
    public class EmailRowForm : FrameLayout
@@ -285,7 +282,7 @@
            AccountET = new EditText()
            {
                X = Application.GetRealWidth(236),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(700),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -308,6 +305,7 @@
            accountFL.AddChidren(accountLine);
        }
    }
    public class EmailLoginRowForm : FrameLayout
    {
@@ -349,7 +347,7 @@
            AccountET = new EditText()
            {
                X = Application.GetRealWidth(193),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(700),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -445,7 +443,7 @@
        /// VerificationCodeET
        /// </summary>
        public EditText VerificationCodeET;
        /// <summary>
        /// Init
        /// </summary>
@@ -476,7 +474,7 @@
            VerificationCodeET = new EditText()
            {
                X = Application.GetRealWidth(236),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(350),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -570,7 +568,7 @@
            PasswrodET = new EditText()
            {
                X = Application.GetRealWidth(236),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(550),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -865,7 +863,7 @@
            VerificationCodeET = new EditText()
            {
                X = Application.GetRealWidth(236),
                X = Application.GetRealWidth(222),
                Width = Application.GetRealWidth(300),
                Height = Application.GetRealHeight(Button_Height),
                Gravity = Gravity.CenterVertical,
@@ -891,7 +889,7 @@
                SelectedBackgroundColor=ZigbeeColor.Current.GXCButtonSelectedColor,
                Enable = false,
                IsSelected = false,
                Radius=(uint)Application.GetRealHeight(20)
                Radius=(uint)Application.GetRealHeight(12)
            };
            codeFL.AddChidren(SendCodeBtn);
@@ -1039,7 +1037,7 @@
                SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor,
                Enable = false,
                IsSelected = false,
                Radius = (uint)Application.GetRealHeight(20)
                Radius = (uint)Application.GetRealHeight(12)
            };
            codeFL.AddChidren(SendCodeBtn);
@@ -1110,8 +1108,6 @@
            t.Dispose();
            base.RemoveFromParent();
        }
    }
}