From 7fa61a2e8415f8dd862aad5541d323c9c51c45c5 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 29 十月 2019 13:10:29 +0800 Subject: [PATCH] 2019.10.29 --- 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 100644 --- 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