| | |
| | | /// 远程模式 |
| | | /// </summary> |
| | | public static bool IsRemote = false; |
| | | /// <summary> |
| | | /// 网络连接状态 |
| | | /// 0:无网络 |
| | | /// </summary> |
| | | public static int InternetStatus = 2; |
| | | |
| | | ///// <summary> |
| | | ///// 公司代码 |
| | |
| | | waitPage.Start(Language.StringByID(StringId.PleaseWait)); |
| | | new System.Threading.Thread(() => |
| | | { |
| | | try |
| | | { |
| | | if (UserInfo.Current.regionList.Count == 0) |
| | | { |
| | | bool loadPage = true; |
| | |
| | | while (UserInfo.Current.regionList.Count == 0) |
| | | { |
| | | pm.GetHomePager();//刷新住宅信息 |
| | | System.Threading.Thread.Sleep(1000); |
| | | System.Threading.Thread.Sleep(3000); |
| | | if (loadPage) |
| | | { |
| | | loadPage = false; |
| | |
| | | userPage.LoadPage(); |
| | | BasePageView.PageIndex = 0; |
| | | }); |
| | | }catch(Exception ex) |
| | | { |
| | | MainPage.Log($"GoUserPage : {ex.Message}"); |
| | | } |
| | | }).Start(); |
| | | } |
| | | |