From 1a2061079e97a738ec7b8959bfd9a6e6c6997403 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 31 十月 2019 09:59:29 +0800 Subject: [PATCH] 2019.10.31 --- 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