黄学彪
2019-12-30 3dcbd186c42c598c0c08d1cd37034cf2baa09e54
ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceInfoWithZoneRow.cs
@@ -25,6 +25,10 @@
        /// </summary>
        public Button ClickButton;
        /// <summary>
        /// line
        /// </summary>
        Button line;
        /// <summary>
        /// DeviceInfoWithZoneRow
        /// </summary>
        /// <param name="y"></param>
@@ -83,12 +87,12 @@
            };
            AddChidren(SelectBtn);
            var line = new Button()
            line = new Button()
            {
                X = Application.GetRealWidth(CommonFormResouce.X_Left),
                Y = Height - 2,
                Y = Height - 1,
                Width = Application.GetRealWidth(965),
                Height = 2,
                Height = 1,
                BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2,
            };
            AddChidren(line);
@@ -135,6 +139,14 @@
        {
            SelectBtn.Visible = statu;
        }
        /// <summary>
        /// HideLine
        /// </summary>
        /// <param name="statu"></param>
        public void HideLine(bool statu)
        {
            line.Visible = !statu;
        }
    }
}