From 3dcbd186c42c598c0c08d1cd37034cf2baa09e54 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 30 十二月 2019 15:47:51 +0800 Subject: [PATCH] 合并了代码 --- 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 100755 --- 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