From 6f16607efe766271c69a4f3f96fb928fe25f112c Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 01 十一月 2019 16:22:13 +0800 Subject: [PATCH] 2019-11-01-2 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/SensorDeviceSettionListForm.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SensorDeviceSettionListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SensorDeviceSettionListForm.cs index 373d26f..1df2003 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SensorDeviceSettionListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SensorDeviceSettionListForm.cs @@ -72,7 +72,7 @@ { return; } - new System.Threading.Thread(() => + HdlThreadLogic.Current.RunThread(() => { Application.RunOnMainThread(() => { @@ -92,8 +92,7 @@ //璋冩暣鍒楄〃鎺т欢鐨勯珮搴� this.AdjustListviewHeight(); }); - }) - { IsBackground = true }.Start(); + }); } #endregion @@ -237,7 +236,7 @@ //鏄剧ず閫夋嫨鐣岄潰 var form = new SelectDeviceForm(); - form.AddForm(list, new List<string>(), true); + form.AddForm(list, new List<string>(), true, false); form.SetTitleText(Language.StringByID(R.MyInternationalizationString.uAddSensor)); //璁惧閫夋嫨纭畾 -- Gitblit v1.8.0