From b7b3e92bed9c4553e30e2901a1877f088a5f8823 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 04 十一月 2019 17:20:52 +0800 Subject: [PATCH] 2019.11.4 --- 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