From 2109463fab2eb1caed189e4f258e0e763c5cea7b Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 07 十一月 2019 11:58:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc --- ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs index 69b0a79..74c4422 100755 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs @@ -17,6 +17,10 @@ /// </summary> public Button NextBtn; /// <summary> + /// ClickBtn + /// </summary> + public Button ClickBtn; + /// <summary> /// line /// </summary> private Button line; @@ -79,6 +83,9 @@ BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2, }; AddChidren(line); + + ClickBtn = new Button(); + AddChidren(ClickBtn); } /// <summary> @@ -118,9 +125,22 @@ SetTipTitle(Language.StringByID(title)); } + /// <summary> + /// HideLine + /// </summary> + /// <param name="hiden"></param> public void HideLine(bool hiden) { - line.Visible = hiden; + line.Visible = !hiden; + } + + /// <summary> + /// + /// </summary> + /// <param name="hiden"></param> + public void HideNext(bool hiden) + { + NextBtn.Visible = !hiden; } } } -- Gitblit v1.8.0