From 05ce435c3b58e53eeab04c672affdeeab75f3036 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 15 十一月 2019 14:41:39 +0800 Subject: [PATCH] 2019.11.15-1 --- ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs old mode 100755 new mode 100644 index cb975be..4f6ba6a --- a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs +++ b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs @@ -2,6 +2,7 @@ using System.Timers; using Shared.Common; using Shared.Phone.Device.CommonForm; +using Shared.Phone.UserCenter; namespace Shared.Phone.Device.Account { @@ -141,14 +142,16 @@ 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; }; + + //var zoneListView = new PhoneZone { }; + //zoneListView.ActionSelectedZone += (zone) => + //{ + // var t = CommonPage.PhoneZoneStr; + // (sender as Button).Text = "+" + zone; + //}; + //parFL.AddChidren(zoneListView); + //zoneListView.Show(); }; AccountET = new EditText() @@ -445,7 +448,7 @@ /// VerificationCodeET /// </summary> public EditText VerificationCodeET; - + /// <summary> /// Init /// </summary> @@ -891,7 +894,7 @@ SelectedBackgroundColor=ZigbeeColor.Current.GXCButtonSelectedColor, Enable = false, IsSelected = false, - Radius=(uint)Application.GetRealHeight(20) + Radius=(uint)Application.GetRealHeight(12) }; codeFL.AddChidren(SendCodeBtn); @@ -1039,7 +1042,7 @@ SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, Enable = false, IsSelected = false, - Radius = (uint)Application.GetRealHeight(20) + Radius = (uint)Application.GetRealHeight(12) }; codeFL.AddChidren(SendCodeBtn); -- Gitblit v1.8.0