From c0ce2f57a4f836ebeb9e7b8b4b5a4407fd78dc86 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 23 九月 2020 10:06:05 +0800
Subject: [PATCH] 上传
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs
index 736f59c..97758ed 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs
@@ -7,7 +7,7 @@
/// <summary>
/// 瀹夐槻绠$悊涓婚〉鐨勬帶浠�
/// </summary>
- public class SafetyMasterControl : FrameLayout
+ public class SafetyMasterControl : NormalFrameLayout
{
#region 鈻� 鍙橀噺澹版槑___________________________
@@ -156,7 +156,7 @@
return;
}
- Application.RunOnMainThread(() =>
+ HdlThreadLogic.Current.RunMain(() =>
{
//鏍规嵁甯冮槻妯″紡锛岃缃浘鏍囩殑閫夋嫨鐘舵��
this.SetIconStatuByGarrisonMode(mode);
@@ -199,7 +199,7 @@
return;
}
- Application.RunOnMainThread(() =>
+ HdlThreadLogic.Current.RunMain(() =>
{
//鏍规嵁甯冮槻妯″紡锛岃缃浘鏍囩殑閫夋嫨鐘舵��
this.SetIconStatuByGarrisonMode(mode);
@@ -230,7 +230,7 @@
{
return;
}
- Application.RunOnMainThread(() =>
+ HdlThreadLogic.Current.RunMain(() =>
{
//鏍规嵁甯冮槻妯″紡锛岃缃浘鏍囩殑閫夋嫨鐘舵��
this.SetIconStatuByGarrisonMode(GarrisonMode.RemoveGarrison);
@@ -287,7 +287,7 @@
//娌″繀瑕佸啀鍒濆鍖栫晫闈�
return;
}
- Application.RunOnMainThread(() =>
+ HdlThreadLogic.Current.RunMain(() =>
{
//娓呯┖鍏ㄩ儴鎺т欢
this.RemoveAll();
@@ -355,13 +355,13 @@
btnBack.Gravity = Gravity.CenterHorizontal;
btnBack.Radius = (uint)backHeight / 2;
btnBack.BackgroundColor = UserCenterColor.Current.BodyFrameLayout;
- this.AddChidren(btnBack, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnBack, ChidrenBindMode.BindEvent);
//鍥炬爣
btnIcon = new IconViewControl(81);
btnIcon.Y = Application.GetRealHeight(26);
btnIcon.Gravity = Gravity.CenterHorizontal;
- this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
//鏂囨湰
btnText = new NormalViewControl(this.Width, Application.GetRealHeight(58), false);
--
Gitblit v1.8.0