From 9c6bd67d66859e48f0e794cd2746aef9310ce71d Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期五, 13 十二月 2019 18:01:37 +0800
Subject: [PATCH] 2019-12-13-2

---
 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