From 1f4cec0e3b571e7541f0c7f3a5ea302ed586d9fb Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 24 十月 2019 16:47:06 +0800
Subject: [PATCH] 2019-10-24-5

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoRow.cs
index f335c58..69b0a79 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,10 @@
         /// NextBtn
         /// </summary>
         public Button NextBtn;
+        /// <summary>
+        /// line
+        /// </summary>
+        private Button line;
 
         /// <summary>
         /// DeviceInfoEditRow
@@ -67,7 +70,7 @@
             };
             AddChidren(NextBtn);
 
-            var line = new Button()
+            line = new Button()
             {
                 X = Application.GetRealWidth(CommonFormResouce.X_Left),
                 Y = Height - 2,
@@ -114,5 +117,10 @@
         {
             SetTipTitle(Language.StringByID(title));
         }
+
+        public void HideLine(bool hiden)
+        {
+            line.Visible = hiden;
+        }
     }
 }

--
Gitblit v1.8.0