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/DeviceFunctionUnallocatedControl.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceFunctionUnallocatedControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceFunctionUnallocatedControl.cs index f23edeb..ede1a4a 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceFunctionUnallocatedControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceFunctionUnallocatedControl.cs @@ -8,7 +8,7 @@ /// <summary> /// 鏈垎閰嶇晫闈㈢殑璁惧鍔熻兘鍥炬爣鎺т欢 /// </summary> - public class DeviceFunctionUnallocatedControl : FrameLayoutControl + public class DeviceFunctionUnallocatedControl : FrameLayoutStatuControl { #region 鈻� 鍙橀噺澹版槑___________________________ @@ -54,7 +54,7 @@ btnBackGroud.Gravity = Gravity.CenterHorizontal; btnBackGroud.UnSelectedImagePath = "Item/Category_FunctionBG.png"; btnBackGroud.SelectedImagePath = "Item/Category_FunctionBGSelected.png"; - this.AddChidren(btnBackGroud, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnBackGroud, ChidrenBindMode.BindEvent); //璁惧鍥炬爣 this.btnDeviceIcon = new IconViewControl(84); @@ -62,7 +62,7 @@ btnDeviceIcon.UnSelectedImagePath = unSelectPath; btnDeviceIcon.SelectedImagePath = selectPath; btnDeviceIcon.Gravity = Gravity.CenterHorizontal; - this.AddChidren(btnDeviceIcon, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnDeviceIcon, ChidrenBindMode.BindEvent); //鏂囨湰 this.btnDeviceName = new NormalViewControl(170, 60, true); @@ -73,7 +73,7 @@ btnDeviceName.TextSize = 11; btnDeviceName.Text = text; btnDeviceName.TextAlignment = TextAlignment.Center; - this.AddChidren(btnDeviceName, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnDeviceName, ChidrenBindMode.BindEvent); } #endregion -- Gitblit v1.8.0