| | |
| | | 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 (); |