From 2ed75b8b337048e5d75e6d9ec8307633134f02fd Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 10 十月 2019 11:33:04 +0800
Subject: [PATCH] 个人中心添加楼层和创建房间,实装二级验证

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/AreaCodeSelectForm.cs |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/AreaCodeSelectForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/AreaCodeSelectForm.cs
index cda830e..f72589e 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/AreaCodeSelectForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/AreaCodeSelectForm.cs
@@ -78,12 +78,11 @@
             frameBack.AddChidren(btnSearch);
             btnSearch.BindEvent(this.SearchEvent);
 
-            new System.Threading.Thread(() =>
+            HdlThreadLogic.Current.RunThread(() =>
             {
                 //鍒濆鍖栧湴鍖哄垪琛�
                 this.InitAreaList();
-            })
-            { IsBackground = true }.Start();
+            });
 
             //璁╄繖涓寜閽繖涓尯鍩熶笉鑳界偣鍑昏彍鍗�
             var frameTemp = new FrameLayout();
@@ -370,7 +369,7 @@
             /// </summary>
             private void StartSearchKeysThead()
             {
-                new System.Threading.Thread(() =>
+                HdlThreadLogic.Current.RunThread(() =>
                 {
                     while (this.Parent != null)
                     {
@@ -396,8 +395,7 @@
                         //濡傛灉褰撳墠鐨勬绱㈤敭鍊间笌涓嬩竴涓绱㈤敭鍊间笉涓�鏍风殑璇�
                         //閭e氨璇存槑锛岀敤鎴峰啀娆¤緭鍏ヤ簡閿�硷紝杩欎釜鏃跺�欙紝璁╃嚎绋嬬户缁窇涓嬪幓
                     }
-                })
-                { IsBackground = true }.Start();
+                });
             }
             #endregion
 

--
Gitblit v1.8.0