From 8e54c77b6e0d2d87cdbad1a81a75d39bab1648d6 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 16 十月 2023 10:08:47 +0800 Subject: [PATCH] 场景闪退修复 --- OnPro/HDL_ON/UI/MainPage.cs | 29 ----------------------------- 1 files changed, 0 insertions(+), 29 deletions(-) diff --git a/OnPro/HDL_ON/UI/MainPage.cs b/OnPro/HDL_ON/UI/MainPage.cs index 655794f..f57951e 100644 --- a/OnPro/HDL_ON/UI/MainPage.cs +++ b/OnPro/HDL_ON/UI/MainPage.cs @@ -28,10 +28,6 @@ /// 鐗堟湰鍙� /// </summary> public static string VersionString = "1.0.0"; - ///// <summary> - ///// 瀹㈡埛绔被鍨� - ///// </summary> - //public static string ClientType = APIClientType.HDL_ON_PRO.ToString(); /// <summary> /// @@ -75,13 +71,6 @@ /// 3:涓汉 /// </summary> public static int CurPageIndex = 9999; - - ///// <summary> - ///// 鍏徃浠g爜 - ///// 棰勭暀绗笁鏂瑰畾鍒舵爣璁� - ///// 0:HDL - ///// </summary> - //public static int Company = 0; /// <summary> /// 鍙虫粦鍚庨��鎻愮ず鎸夐挳 @@ -149,13 +138,6 @@ //BaseView = Application.MainPage; Application.MainPage.BackgroundColor = 0xFFF7F7F7; - //BaseTopButton = new Button() - //{ - // Height = Application.GetRealHeight(22), - // BackgroundColor = 0xFFF7F7F7,//0xFFCDC4BD,#C3BCB7 - //}; - //Application.MainPage.AddChidren(BaseTopButton); - //Application.MainPage.BackgroundColor = 0xFFFF0000;// CSS_Color.MainBackgroundColor; BaseView = new FrameLayout() { Width = Application.GetRealWidth(376), @@ -182,14 +164,6 @@ } else { - //new System.Threading.Thread(() => - //{ - // var pm = new DAL.Server.HttpServerRequest(); - // pm.RefreshToken();//鍒锋柊Token - // pm.GetHomePager();//鍒锋柊浣忓畢淇℃伅 - // pm.GetUserInfo();//鍒锋柊涓汉淇℃伅 - //}) - //{ IsBackground = true }.Start(); Common.ApiUtlis.Ins.DownloadData(); GoUserPage(false, true); @@ -202,9 +176,6 @@ } finally { - //Application.RunOnMainThread(() => { - // Application.HideSoftInput(); - //}); } try -- Gitblit v1.8.0