From 1f5636d69332170ea3a41c76c9519f6ff6f0a8d9 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 28 十月 2019 15:40:30 +0800 Subject: [PATCH] 合并了代码 --- 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