From f573c74a1b431a6d016d766628f2e6320fa42ff9 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 03 六月 2020 14:50:20 +0800
Subject: [PATCH] 2020-06-03-1

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs
index 4868a21..c91a3c2 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewaySearchListForm.cs
@@ -148,13 +148,8 @@
                 };
             }
             //瀹氫綅
-            var btnPosition = new NormalViewControl(Application.GetRealWidth(184), frameRow.Height, false);
-            btnPosition.BackgroundColor = 0xff4a4a4a;
-            btnPosition.TextAlignment = TextAlignment.Center;
-            btnPosition.TextColor = UserCenterColor.Current.White;
-            btnPosition.TextSize = 12;
+            var btnPosition = frameRow.AddEditorControl(false);
             btnPosition.TextID = R.MyInternationalizationString.uFixedPosition;
-            frameRow.AddRightView(btnPosition);
             btnPosition.ButtonClickEvent += (sender, e) =>
             {
                 //鍙戦�佸畾浣嶅懡浠�
@@ -188,7 +183,7 @@
             if (UserCenterResourse.listActionFormId.Contains("UserMainForm") == false)
             {
                 //鍒锋柊涓婚〉
-                UserView.UserPage.Instance.Fresh();
+                UserView.UserPage.Instance.ReFreshControl();
             }
             base.CloseFormBefore();
         }

--
Gitblit v1.8.0