From 34e965100d635346e2d4cd6e6013bdaed66b3004 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 02 一月 2020 19:52:13 +0800
Subject: [PATCH] 2019.1.2-3
---
ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs
index 2edd7e7..7bfe15c 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs
@@ -25,6 +25,10 @@
/// </summary>
public Button ClickButton;
/// <summary>
+ /// line
+ /// </summary>
+ Button line;
+ /// <summary>
/// DeviceInfoWithZoneRow
/// </summary>
/// <param name="y"></param>
@@ -83,12 +87,12 @@
};
AddChidren(SelectBtn);
- var line = new Button()
+ line = new Button()
{
X = Application.GetRealWidth(CommonFormResouce.X_Left),
- Y = Height - 2,
+ Y = Height - 1,
Width = Application.GetRealWidth(965),
- Height = 2,
+ Height = 1,
BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2,
};
AddChidren(line);
@@ -135,6 +139,14 @@
{
SelectBtn.Visible = statu;
}
+ /// <summary>
+ /// HideLine
+ /// </summary>
+ /// <param name="statu"></param>
+ public void HideLine(bool statu)
+ {
+ line.Visible = !statu;
+ }
}
}
--
Gitblit v1.8.0