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/UserCenter/Device/Panel/PanelBackLightSettionForm.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs index 4613059..b0bccec 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs @@ -288,7 +288,7 @@ btnColorView.Y = Application.GetRealHeight(5); btnColorView.TextColor = UserCenterColor.Current.TextGrayColor1; btnColorView.TextID = R.MyInternationalizationString.uColor; - frameColor.AddChidren(btnColorView, ChidrenBindMode.BindEventOnly); + frameColor.AddChidren(btnColorView, ChidrenBindMode.BindEvent); int R1 = Convert.ToInt32(this.keyColorData.CloseColorR, 16); int G1 = Convert.ToInt32(this.keyColorData.CloseColorG, 16); @@ -313,7 +313,7 @@ btnColor.Radius = (uint)btnColorWidth / 2; btnColor.BackgroundColor = backColor; frameColorLine.AddChidren(btnColor, ChidrenBindMode.NotBind); - frameColor.ChangedChidrenBindMode(frameColorLine, ChidrenBindMode.BindEventOnly); + frameColor.ChangedChidrenBindMode(frameColorLine, ChidrenBindMode.BindEvent); //鍙樻洿婊戝姩鏉$殑棰滆壊 seekBar1.ProgressBarColor = backColor; @@ -322,7 +322,7 @@ btnRight.UnSelectedImagePath = "Item/RightNext.png"; btnRight.Y = Application.GetRealHeight(5); btnRight.X = frameColor.Width - this.GetPictrueRealSize(58); - frameColor.AddChidren(btnRight, ChidrenBindMode.BindEventOnly); + frameColor.AddChidren(btnRight, ChidrenBindMode.BindEvent); btnRight.Y += this.GetPictrueRealSize(8); frameColor.ButtonClickEvent += (sender, e) => @@ -430,7 +430,7 @@ btnColorView.Y = Application.GetRealHeight(5); btnColorView.TextColor = UserCenterColor.Current.TextGrayColor1; btnColorView.TextID = R.MyInternationalizationString.uColor; - frameColor.AddChidren(btnColorView, ChidrenBindMode.BindEventOnly); + frameColor.AddChidren(btnColorView, ChidrenBindMode.BindEvent); int R1 = Convert.ToInt32(this.keyColorData.OpenColorR, 16); int G1 = Convert.ToInt32(this.keyColorData.OpenColorG, 16); @@ -455,7 +455,7 @@ btnColor.Radius = (uint)btnColorWidth / 2; btnColor.BackgroundColor = backColor; frameColorLine.AddChidren(btnColor, ChidrenBindMode.NotBind); - frameColor.ChangedChidrenBindMode(frameColorLine, ChidrenBindMode.BindEventOnly); + frameColor.ChangedChidrenBindMode(frameColorLine, ChidrenBindMode.BindEvent); //鍙樻洿婊戝姩鏉$殑棰滆壊 seekBar1.ProgressBarColor = backColor; @@ -464,7 +464,7 @@ btnRight.UnSelectedImagePath = "Item/RightNext.png"; btnRight.Y = Application.GetRealHeight(5); btnRight.X = frameColor.Width - this.GetPictrueRealSize(58); - frameColor.AddChidren(btnRight, ChidrenBindMode.BindEventOnly); + frameColor.AddChidren(btnRight, ChidrenBindMode.BindEvent); btnRight.Y += this.GetPictrueRealSize(8); frameColor.ButtonClickEvent += (sender, e) => -- Gitblit v1.8.0