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/DeviceSelectUnallocatedControl.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceSelectUnallocatedControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceSelectUnallocatedControl.cs index a778781..b513392 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceSelectUnallocatedControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceSelectUnallocatedControl.cs @@ -97,7 +97,7 @@ Common.LocalDevice.Current.SetDeviceIconToControl(btnDeviceIcon, i_device); frameIconBackGroud.AddChidren(btnDeviceIcon); //閲嶆柊缁戝畾浜嬩欢 - this.ChangedChidrenBindMode(frameIconBackGroud, ChidrenBindMode.BindEventOnly); + this.ChangedChidrenBindMode(frameIconBackGroud, ChidrenBindMode.BindEvent); //璁惧鍚嶅瓧 this.btnDeviceName = new NormalViewControl(Application.GetRealWidth(600), this.Height, false); @@ -105,7 +105,7 @@ btnDeviceName.Text = Common.LocalDevice.Current.GetDeviceEpointName(i_device); btnDeviceName.SelectedTextColor = Common.ZigbeeColor.Current.GXCTextSelectedColor; btnDeviceName.Gravity = Gravity.CenterVertical; - this.AddChidren(btnDeviceName, ChidrenBindMode.BindEventOnly); + this.AddChidren(btnDeviceName, ChidrenBindMode.BindEvent); if (chidrenYaxis != 0) { btnDeviceName.Y += chidrenYaxis; @@ -120,7 +120,7 @@ this.AddChidren(btnSelect, ChidrenBindMode.NotBind); btnSelect.InitControl(); //澶嶅悎鎺т欢闇�瑕佺壒娈婂鐞� - this.ChangedChidrenBindMode(btnSelect, ChidrenBindMode.BindEventOnly); + this.ChangedChidrenBindMode(btnSelect, ChidrenBindMode.BindEvent); if (chidrenYaxis != 0) { btnSelect.btnIcon.Y += chidrenYaxis; -- Gitblit v1.8.0