From 1a2061079e97a738ec7b8959bfd9a6e6c6997403 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 31 十月 2019 09:59:29 +0800
Subject: [PATCH] 2019.10.31
---
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
index 501dc8a..18a1bbc 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessGatewaySearchForm.cs
@@ -145,7 +145,7 @@
frame.AddChidren(btnRound);
animateThread = true;
- new System.Threading.Thread(() =>
+ HdlThreadLogic.Current.RunThread(() =>
{
int index = 1;
int timeCount = 0;
@@ -176,8 +176,7 @@
}
});
}
- })
- { IsBackground = true }.Start();
+ });
}
#endregion
@@ -189,7 +188,7 @@
/// </summary>
private void CheckZbGatewayAndSetRow()
{
- new System.Threading.Thread(async () =>
+ HdlThreadLogic.Current.RunThread(async () =>
{
while (animateThread == true && this.Parent != null)
{
@@ -273,8 +272,7 @@
}
}
}
- })
- { IsBackground = true }.Start();
+ });
}
#endregion
--
Gitblit v1.8.0