HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
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;
        }
    }
}