From 7fa61a2e8415f8dd862aad5541d323c9c51c45c5 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 29 十月 2019 13:10:29 +0800 Subject: [PATCH] 2019.10.29 --- 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