From b4d83ac63947214471b6a6bb0fb14ec5a9f23de4 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 28 十月 2019 14:06:50 +0800 Subject: [PATCH] 2019.10.28-1 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs index a912f8b..be19a18 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/Base/EditorCommonForm.cs @@ -152,15 +152,11 @@ this.InitForm(); //寮哄埗鏄剧ず鐣岄潰,鍒濆鍖栧畬妗嗘灦鍚�,灏辩洿鎺ユ樉绀虹晫闈� - new System.Threading.Thread(() => + HdlThreadLogic.Current.RunMainInThread(() => { - Application.RunOnMainThread(() => - { - //鎵цShowForm()鏂规硶 - this.LoadShowFormMethod(parameter); - }); - }) - { IsBackground = true }.Start(); + //鎵цShowForm()鏂规硶 + this.LoadShowFormMethod(parameter); + }); } #endregion -- Gitblit v1.8.0