From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 28 二月 2020 15:25:13 +0800
Subject: [PATCH] 2020.2.28
---
ZigbeeApp/Shared/Phone/Device/Logic/SelectedButton.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/SelectedButton.cs b/ZigbeeApp/Shared/Phone/Device/Logic/SelectedButton.cs
new file mode 100755
index 0000000..8c3bfec
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/SelectedButton.cs
@@ -0,0 +1,45 @@
+锘縰sing System;
+using Shared;
+namespace Shared.Phone.Device.Logic
+{
+ public class SelectedButton : Button
+ {
+
+ /// <summary>
+ /// 妯潗鏍囦綅缃�
+ /// </summary>
+ /// <param name="Xwidth"></param>
+ public SelectedButton(int Xwidth = 860)
+ {
+ X = Application.GetRealWidth(Xwidth);
+ Width = Application.GetMinRealAverage(60);
+ Height = Application.GetMinRealAverage(60);
+ UnSelectedImagePath = "ZigeeLogic/selected.png";
+ Visible = false;
+ Gravity = Gravity.CenterVertical;
+ }
+ ///// <summary>
+ ///// 妯潗鏍囦綅缃�
+ ///// </summary>
+ ///// <param name="Xwidth"></param>
+ //public void SelectedBtnIcon(int Xwidth = 860)
+ //{
+ // X = Application.GetRealWidth(Xwidth);
+ // Width = Application.GetMinRealAverage(60);
+ // Height = Application.GetMinRealAverage(60);
+ // UnSelectedImagePath = "ZigeeLogic/selected.png";
+ // Visible = false;
+ // Gravity = Gravity.CenterVertical;
+ //}
+ //public void BackBtnIcon()
+ //{
+ // Width = Application.GetRealWidth(30);
+ // Height = Application.GetRealHeight(51);
+ // X = Application.GetRealWidth(58);
+ // Y = Application.GetRealHeight(98);
+ // //Gravity = Gravity.CenterVertical;
+ // UnSelectedImagePath = "ZigeeLogic/back.png";
+ //}
+
+ }
+}
--
Gitblit v1.8.0