From 72e1b4e4626315ebd4b879a68c94e7738fd0473e Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 28 十月 2019 11:00:28 +0800
Subject: [PATCH] 2019-10-28-1
---
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