From 5727cf0b9b54da0a191dd1e23cb5abf21320fbff Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 25 十一月 2019 10:34:17 +0800 Subject: [PATCH] IOS使用新的项目名称 --- ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs index f335c58..74c4422 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,14 @@ /// NextBtn /// </summary> public Button NextBtn; + /// <summary> + /// ClickBtn + /// </summary> + public Button ClickBtn; + /// <summary> + /// line + /// </summary> + private Button line; /// <summary> /// DeviceInfoEditRow @@ -67,7 +74,7 @@ }; AddChidren(NextBtn); - var line = new Button() + line = new Button() { X = Application.GetRealWidth(CommonFormResouce.X_Left), Y = Height - 2, @@ -76,6 +83,9 @@ BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2, }; AddChidren(line); + + ClickBtn = new Button(); + AddChidren(ClickBtn); } /// <summary> @@ -114,5 +124,23 @@ { SetTipTitle(Language.StringByID(title)); } + + /// <summary> + /// HideLine + /// </summary> + /// <param name="hiden"></param> + public void HideLine(bool hiden) + { + line.Visible = !hiden; + } + + /// <summary> + /// + /// </summary> + /// <param name="hiden"></param> + public void HideNext(bool hiden) + { + NextBtn.Visible = !hiden; + } } } -- Gitblit v1.8.0