lss
2020-06-12 9c16d3614d9b88c637f967518a329f239fcd3aaf
ZigbeeApp/Shared/Phone/SmartSound/Widget/SoundRowLayout.cs
old mode 100755 new mode 100644
@@ -12,7 +12,9 @@
        /// 删除按钮
        /// </summary>
        public NormalViewControl btnDelect = null;
        /// <summary>
        /// 备注
        /// </summary>
        public NormalViewControl btnRemark = null;
        /// <summary>
        /// 图片路径
@@ -20,13 +22,10 @@
        public string ImagePath = "SmartSound/SoundIcon.png";
        /// <summary>
        /// 智能音箱账号
        /// </summary>
        public string Account = "";
        /// <summary>
        /// 智能音箱备注
        /// 智能音箱备注名称
        /// </summary>
        public string Remark = "";
        public SoundRowLayout()
        {
@@ -38,16 +37,17 @@
        /// </summary>
        public void InitControl()
        {
            try
            {
            //图标
            var btnIcon = frameTable.AddLeftIcon(81);
            btnIcon.UnSelectedImagePath = ImagePath;
            btnIcon.SelectedImagePath = ImagePath;
            //设备
            var btnAccount = frameTable.AddTopView(Account, 800);
            //房间
            btnRemark = frameTable.AddBottomView(Remark, 800);
                //备注名称按钮
                btnRemark = frameTable.AddLeftCaption(Remark, 800);
            //底线
            frameTable.AddBottomLine();
@@ -56,7 +56,11 @@
            btnDelect = base.AddDeleteControl();
            btnDelect.Text = "解除绑定";
            }
            catch (Exception e)
            {
                //
            }
        }
    }
}