lss
2020-06-03 1c2b6fa69a7002315d4b3ecb883c255c65eceafa
ZigbeeApp/Shared/Phone/UserCenter/SmartSound/Forms/SmartSoundControlForm.cs
@@ -49,8 +49,7 @@
            this.InitMiddleFrame();
        }
        private void InitMiddleFrame()
        {
@@ -87,7 +86,6 @@
                // 加载当前楼层的所有房间 ListView
                if (listView == null)
                {
                    listView = new VerticalListControl();
                    contentLayout.AddChidren(listView);
                    listView.Y = Application.GetRealHeight(173);
@@ -112,9 +110,14 @@
                    listView.AddChidren(roomRowLayout);
                    roomRowLayout.InitControl();
                    roomRowLayout.frameTable.ButtonClickEvent += (sender, e) =>
                    {
                        var deviceChange = new SmartSoundContentForDeviceChange(room);
                        deviceChange.AddForm();
                    };
                    roomRowLayout.btnDelect.ButtonClickEvent += (sender, e) =>
                    {
                        try
                        {
                            var delBtn = sender as NormalViewControl;
@@ -145,7 +148,6 @@
                        }
                    };
                }
            }
            catch(Exception e)
            {
@@ -270,8 +272,7 @@
                this.smartSoundControlForm = _smartSoundControlForm;
                this.room = _room;
                this.BackgroundColor = UserCenterColor.Current.White;
                this.Height = Application.GetRealHeight(173);
                this.Height = Application.GetRealHeight(173);
            }
            /// <summary>
@@ -288,9 +289,9 @@
                btnDelect = base.AddDeleteControl();
                btnDelect.Text = "删除";
                btnDelect.AddTag("obj", room);
            }
            #endregion
        }
        #endregion
    }
}