From 48ba446936b51fffafa7c3600c0dadc6ac0e8c20 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 10 七月 2020 10:52:13 +0800 Subject: [PATCH] 2020-07-10-01 --- ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs index fbb0cd2..645b3dc 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs @@ -8,7 +8,7 @@ /// <summary> /// 鍦烘櫙鍗$墖鎺т欢 /// </summary> - public class SceneCardControl : FrameLayoutControl + public class SceneCardControl : FrameLayoutStatuControl { #region 鈻� 鍙橀噺澹版槑___________________________ @@ -86,7 +86,7 @@ //鍦烘櫙鑳屾櫙鍥炬帶浠� this.btnSceneBackGroud = new PicViewControl(this.Width, this.Height, false); btnSceneBackGroud.UnSelectedImagePath = "Scene/Background.png"; - this.AddChidren(btnSceneBackGroud, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnSceneBackGroud, ChidrenBindMode.BindEvent); //寤舵椂鏃堕棿鏄剧ず鎺т欢 this.btnTimeView = new NormalViewControl(HdlControlLogic.Current.GetPictrueRealSize(280), HdlControlLogic.Current.GetPictrueRealSize(63), false); @@ -98,7 +98,7 @@ { btnTimeView.Text= this.GetTimeString(i_scene.SceneDelayTime, hourText, minuText, secondText); } - this.AddChidren(btnTimeView, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnTimeView, ChidrenBindMode.BindEvent); //鏃堕棿鍥炬爣鎺т欢 this.btnTimeIcon = new IconViewControl(63); @@ -150,7 +150,7 @@ { //鍙栨秷鏀惰棌 HdlSceneLogic.Current.DeleteLoveScene(i_scene); - if (HdlRoomLogic.Current.CurrentRoom.IsLove == true) + if (HdlRoomLogic.Current.NowMainPageRoom.IsLove == true) { //濡傛灉褰撳墠鎴块棿鏄垜鐨勫枩鐖辩殑璇�,鍥炶皟鍗$墖琚垹闄ょ殑浜嬩欢 this.CardNeedRemoveEvent?.Invoke(); @@ -169,7 +169,7 @@ btnSceneName.Y = HdlControlLogic.Current.GetPictrueRealSize(236); btnSceneName.IsBold = true; btnSceneName.TextColor = UserCenterColor.Current.White; - this.AddChidren(btnSceneName, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnSceneName, ChidrenBindMode.BindEvent); //鍒锋柊鎺т欢鐘舵�� this.RefreshControlInfo(i_scene); -- Gitblit v1.8.0