From dce6c3481a37216292724013ff9d2b75ceb82f86 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 10 六月 2020 15:47:28 +0800 Subject: [PATCH] 添加小度的代码 --- ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/Base/DeviceCardCommon.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/Base/DeviceCardCommon.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/Base/DeviceCardCommon.cs index 4bab981..d3cc6fc 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/Base/DeviceCardCommon.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/Base/DeviceCardCommon.cs @@ -93,7 +93,7 @@ btnBackGroud.UnSelectedImagePath = "Item/FunctionCardView.png"; btnBackGroud.SelectedImagePath = "Item/FunctionCardViewSelected.png"; btnBackGroud.Gravity = Gravity.CenterHorizontal; - this.AddChidren(btnBackGroud, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnBackGroud, ChidrenBindMode.BindEvent); //璁惧鍚嶇О鎺т欢 this.btnDeviceName = new NormalViewControl(320, 63, true); @@ -103,7 +103,7 @@ btnDeviceName.TextColor = UserCenterColor.Current.TextGrayColor1; btnDeviceName.SelectedTextColor = UserCenterColor.Current.White; btnDeviceName.Text = Common.LocalDevice.Current.GetDeviceEpointName(i_device); - this.AddChidren(btnDeviceName, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnDeviceName, ChidrenBindMode.BindEvent); //鏀堕泦鎺т欢 this.btnCollect = new IconViewControl(107); @@ -142,13 +142,13 @@ fraDeviceRound.X = HdlControlLogic.Current.GetPictrueRealSize(44); fraDeviceRound.Y = HdlControlLogic.Current.GetPictrueRealSize(101); fraDeviceRound.BackgroundColor = Common.ZigbeeColor.Current.GXCForFunctionUnSelectedBackgroundColor; - this.AddChidren(fraDeviceRound, ChidrenBindMode.BindEventOnly); + this.AddChidren(fraDeviceRound, ChidrenBindMode.BindEvent); //璁惧鍥炬爣鎺т欢 this.btnDeviceIcon = new IconViewControl(86); btnDeviceIcon.Gravity = Gravity.Center; fraDeviceRound.AddChidren(btnDeviceIcon); - this.ChangedChidrenBindMode(fraDeviceRound, ChidrenBindMode.BindEventOnly); + this.ChangedChidrenBindMode(fraDeviceRound, ChidrenBindMode.BindEvent); //鐘舵�佹枃鏈帶浠� this.btnStatu = new NormalViewControl(HdlControlLogic.Current.GetPictrueRealSize(300), HdlControlLogic.Current.GetPictrueRealSize(63), false); @@ -157,7 +157,7 @@ btnStatu.TextColor = UserCenterColor.Current.TextColor1; btnStatu.SelectedTextColor = Common.ZigbeeColor.Current.GXCTextSelectedColor; btnStatu.IsBold = true; - this.AddChidren(btnStatu, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnStatu, ChidrenBindMode.BindEvent); //寮�鍏虫帶浠�(涓嶅姞鍏ョ埗鎺т欢涓�) this.btnSwitch = new PicViewControl(109, 104); -- Gitblit v1.8.0