From adb12dcdbb2ddaeac687c3aa9e57bb7ed459ab7e Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 24 六月 2020 15:26:46 +0800 Subject: [PATCH] 2020.06.24.01 --- ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs b/ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs index 6846d70..3b2d07d 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/ListRoomViewFrom.cs @@ -233,7 +233,7 @@ } } //濡傛灉鍙槸鍒囨崲褰撳墠妤煎眰鐨勫叾浠栨埧闂�,鍒欏彧婊戝姩涓婚〉鐨勬粦鍔ㄦ帶浠� - this.LoadFormMethodByName("HomeMainPageForm", "SetRoomPageViewSelect", room); + HomeMainPageForm.Instance?.SetRoomPageViewSelect(room); }); }); }; @@ -271,14 +271,14 @@ picBackGroud.Gravity = Gravity.CenterHorizontal; picBackGroud.Radius = (uint)this.GetPictrueRealSize(29); picBackGroud.BackgroundColor = ZigbeeColor.Current.GXCBlackBackgroundColor3; - frameBack.AddChidren(picBackGroud, ChidrenBindMode.BindEventOnly); + frameBack.AddChidren(picBackGroud, ChidrenBindMode.BindEvent); //鏈垎閰嶅浘鏍� var btnIcon = new PicViewControl(92, 72); btnIcon.X = this.GetPictrueRealSize(129); btnIcon.Y = this.GetPictrueRealSize(141); btnIcon.UnSelectedImagePath = "Room/NoNameRoom.png"; - frameBack.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly); + frameBack.AddChidren(btnIcon, ChidrenBindMode.BindEvent); //鏈垎閰� var btnName = new NormalViewControl(141, 84, true); @@ -287,7 +287,7 @@ btnName.IsBold = true; btnName.TextColor = UserCenterColor.Current.White; btnName.TextID = R.MyInternationalizationString.Unallocated; - frameBack.AddChidren(btnName, ChidrenBindMode.BindEventOnly); + frameBack.AddChidren(btnName, ChidrenBindMode.BindEvent); frameBack.ButtonClickEvent += (sender, e) => { if (this.CanClick == false) -- Gitblit v1.8.0