old mode 100755
new mode 100644
| | |
| | | using System.Timers; |
| | | using Shared.Common; |
| | | using Shared.Phone.Device.CommonForm; |
| | | using Shared.Phone.UserCenter; |
| | | |
| | | namespace Shared.Phone.Device.Account |
| | | { |
| | |
| | | /// 手机邮箱 |
| | | /// </summary> |
| | | private FrameLayout PhoneEmailFL; |
| | | |
| | | |
| | | |
| | | public PhoneEmailForm() |
| | | { |
| | |
| | | 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, |
| | |
| | | }; |
| | | accountFL.AddChidren(accountLine); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | public class PhoneLoginRowForm : FrameLayout |
| | |
| | | }; |
| | | accountFL.AddChidren(accountLine); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | public class EmailRowForm : FrameLayout |
| | |
| | | |
| | | AccountET = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(236), |
| | | X = Application.GetRealWidth(222), |
| | | Width = Application.GetRealWidth(700), |
| | | Height = Application.GetRealHeight(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | accountFL.AddChidren(accountLine); |
| | | } |
| | | } |
| | | |
| | | |
| | | public class EmailLoginRowForm : FrameLayout |
| | | { |
| | |
| | | |
| | | AccountET = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(193), |
| | | X = Application.GetRealWidth(222), |
| | | Width = Application.GetRealWidth(700), |
| | | Height = Application.GetRealHeight(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | /// VerificationCodeET |
| | | /// </summary> |
| | | public EditText VerificationCodeET; |
| | | |
| | | |
| | | /// <summary> |
| | | /// Init |
| | | /// </summary> |
| | |
| | | |
| | | VerificationCodeET = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(236), |
| | | X = Application.GetRealWidth(222), |
| | | Width = Application.GetRealWidth(350), |
| | | Height = Application.GetRealHeight(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | |
| | | PasswrodET = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(236), |
| | | X = Application.GetRealWidth(222), |
| | | Width = Application.GetRealWidth(550), |
| | | Height = Application.GetRealHeight(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | |
| | | VerificationCodeET = new EditText() |
| | | { |
| | | X = Application.GetRealWidth(236), |
| | | X = Application.GetRealWidth(222), |
| | | Width = Application.GetRealWidth(300), |
| | | Height = Application.GetRealHeight(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | |
| | | SelectedBackgroundColor=ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | Enable = false, |
| | | IsSelected = false, |
| | | Radius=(uint)Application.GetRealHeight(20) |
| | | Radius=(uint)Application.GetRealHeight(12) |
| | | }; |
| | | codeFL.AddChidren(SendCodeBtn); |
| | | |
| | |
| | | SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | Enable = false, |
| | | IsSelected = false, |
| | | Radius = (uint)Application.GetRealHeight(20) |
| | | Radius = (uint)Application.GetRealHeight(12) |
| | | }; |
| | | codeFL.AddChidren(SendCodeBtn); |
| | | |
| | |
| | | t.Dispose(); |
| | | base.RemoveFromParent(); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | } |