From 31497bb69602433d94c8a28ea01c3ee3c7cc8576 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 24 十月 2019 14:32:30 +0800 Subject: [PATCH] 完全合并了Wjc,Xm 的 代码 --- ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs index f335c58..69b0a79 100755 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs @@ -4,7 +4,6 @@ { public class DeviceInfoRow : FrameLayout { - /// <summary> /// TipBtn /// </summary> @@ -17,6 +16,10 @@ /// NextBtn /// </summary> public Button NextBtn; + /// <summary> + /// line + /// </summary> + private Button line; /// <summary> /// DeviceInfoEditRow @@ -67,7 +70,7 @@ }; AddChidren(NextBtn); - var line = new Button() + line = new Button() { X = Application.GetRealWidth(CommonFormResouce.X_Left), Y = Height - 2, @@ -114,5 +117,10 @@ { SetTipTitle(Language.StringByID(title)); } + + public void HideLine(bool hiden) + { + line.Visible = hiden; + } } } -- Gitblit v1.8.0