From 05ce435c3b58e53eeab04c672affdeeab75f3036 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 15 十一月 2019 14:41:39 +0800
Subject: [PATCH] 2019.11.15-1

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