From 18b93d511dc764b469d7c4a7e755f7274f89cdb4 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 27 四月 2020 17:55:14 +0800
Subject: [PATCH] 2020-4-27-1
---
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