old mode 100755
new mode 100644
| | |
| | | Width = Application.GetRealWidth(942), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(30) |
| | | Radius = (uint)Application.GetRealHeight(17) |
| | | }; |
| | | midFrameLayout.AddChidren(accountCodeFL); |
| | | |
| | |
| | | LoginByAccountPWDBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(98), |
| | | Y = Application.GetRealHeight(1446), |
| | | Y = Application.GetRealHeight(1466), |
| | | Width = Application.GetRealWidth(300), |
| | | Height = Application.GetRealHeight(49), |
| | | TextID = R.MyInternationalizationString.LoginByAccountPWD, |
| | |
| | | registerBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(738), |
| | | Y = Application.GetRealHeight(1446), |
| | | Y = Application.GetRealHeight(1466), |
| | | Width = Application.GetRealWidth(244), |
| | | Height = Application.GetRealHeight(49), |
| | | TextID = R.MyInternationalizationString.Register, |
| | |
| | | { |
| | | return; |
| | | } |
| | | this.RemoveFromParent(); |
| | | Application.MainPage?.RemoveViewByTag("Login"); |
| | | |
| | | UserPage.Instance.Fresh(); |
| | | |
| | | HomePage.Instance.ShowLoginLoadView(); |
| | | new System.Threading.Thread(async () => |
| | | { |
| | | //启动ZigBee |
| | |
| | | //刷新个人中心的内存及线程 |
| | | await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); |
| | | |
| | | Shared.Common.Room.CanInitAllRoom = true; |
| | | Shared.Common.Room.InitAllRoom(); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | this.RemoveFromParent(); |
| | | CommonPage.Instance.RemoveViewByTag("Login"); |
| | | UserPage.Instance.Fresh(); |
| | | CommonPage.Loading.Hide(); |
| | | }); |
| | |
| | | IsRightAccount = false; |
| | | codeRow.SendCodeBtn.Enable = codeRow.SendCodeBtn.IsSelected = false; |
| | | } |
| | | account = (sender as EditText).Text.Trim(); |
| | | } |
| | | |
| | | /// <summary> |