| | |
| | | |
| | | }; |
| | | #if DEBUG |
| | | //Text = "18926269190@189.cn" |
| | | etAccount.Text = "18926269190@189.cn"; |
| | | //etAccount.Text = "721343314@qq.com"; |
| | | //etAccount.Text = "crabtreel12019@gmail.com"; |
| | | //etAccount.Text = "2791308028@qq.com"; |
| | | #endif |
| | | |
| | | accountView.AddChidren (etAccount); |
| | |
| | | Button btnShowPassword = new Button () { |
| | | X = etPasswrod.Right, |
| | | Y = etPasswrod.Y + Application.GetRealHeight (12), |
| | | Width = Application.GetRealWidth (73), |
| | | Height = Application.GetRealHeight (60), |
| | | Width = Application.GetMinRealAverage (73), |
| | | Height = Application.GetMinRealAverage (60), |
| | | UnSelectedImagePath = "CrabtreeAdd/HidePW.png", |
| | | SelectedImagePath = "CrabtreeAdd/ShowPW.png", |
| | | BorderColor = SkinStyle.Current.Transparent, |
| | |
| | | MainPage.Loading.Start ("Login..."); |
| | | } |
| | | }); |
| | | if (UserConfig.Instance.internetStatus == 0 || !SystemRemote.checeInternet ()) { |
| | | if (UserConfig.Instance.internetStatus == 0) { |
| | | Application.RunOnMainThread (() => { |
| | | new Tip () { Text = "Network abnormal, unable to connect to the Internet", Direction = AMPopTipDirection.Down, CloseTime = 3 }.Show (btnLogo); |
| | | }); |
| | |
| | | |
| | | } catch (Exception ex) { |
| | | MainPage.FailureToServer (); |
| | | Console.WriteLine (ex.Message); |
| | | Utlis.WriteLine (ex.Message); |
| | | } finally { |
| | | Application.RunOnMainThread (() => { |
| | | MainPage.Loading.Hide (); |
| | |
| | | A31MusicModel.Refresh (); |
| | | Application.RunOnMainThread (() => { |
| | | Close (); |
| | | UserMiddle.Init (false,true); |
| | | UserMiddle.Init (false, true); |
| | | EquipmentPublicClass.CheckLinkRemote (UserConfig.Instance.internetStatus); |
| | | }); |
| | | } else { |