From 18a7f9f40e5fab3bee5d4ac3d8fd0273dea052d6 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期日, 26 四月 2020 12:05:28 +0800
Subject: [PATCH] 先上传一个非最新的版本

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceIconSelectedIMGByLocal.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceIconSelectedIMGByLocal.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceIconSelectedIMGByLocal.cs
index e9ec72d..b965863 100755
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceIconSelectedIMGByLocal.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceIconSelectedIMGByLocal.cs
@@ -3,7 +3,7 @@
 
 namespace Shared.Phone.Device.CommonForm
 {
-    public class DeviceIconSelectedIMGByLocal:FrameLayout
+    public class DeviceIconSelectedIMGByLocal : FrameLayout
     {
         /// <summary>
         /// bodyFrameLayout
@@ -12,7 +12,7 @@
         /// <summary>
         /// action
         /// </summary>
-        public Action<string,string > action;
+        public Action<string, string> action;
         /// <summary>
         /// tempIcon
         /// </summary>
@@ -92,7 +92,7 @@
                 scrollView.AddChidren(itemView);
                 for (int i = 0; i < 4; i++)
                 {
-                    var icon = new FunctionIconButton(58+ i*(207+46), 58);
+                    var icon = new FunctionIconButton(58 + i * (207 + 46), 58);
                     icon.Init($"FunctionIcon/{k}Icon.png", $"FunctionIcon/{k}IconSelected.png");
                     itemView.AddChidren(icon);
                     k++;
@@ -107,11 +107,11 @@
                     icon.ImageBtn.MouseUpEventHandler += selectIcon;
                 }
             }
-
-            var confirmBtn = new CommonForm.CompleteButton(1472, 907, 127);
-            confirmBtn.SetTitle(R.MyInternationalizationString.Save);
-            bodyFrameLayout.AddChidren(confirmBtn);
-            confirmBtn.MouseUpEventHandler += (sender, e) =>
+
+            var btnConfirm = new UserCenter.BottomClickButton();
+            btnConfirm.TextID = R.MyInternationalizationString.Save;
+            bodyFrameLayout.AddChidren(btnConfirm);
+            btnConfirm.ButtonClickEvent += (sender, e) =>
             {
                 if (tempIcon.ImageBtn != null)
                 {

--
Gitblit v1.8.0