wjc
2023-08-18 c1cb2d8c6034a2ee7aa8a5710bba15b14f76cebc
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs
@@ -3,11 +3,11 @@
using Shared;
namespace HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView
{
    public class TypeMultiFramLayout:BaseFramLayout
    public class TypeMultiFramLayout
    {
        private uint UpBackgroundColor = 0x00000000;
        private uint DownBackgroundColor = 0xff454635;
        private uint UpBackgroundColor = MusicColor.ViewColor;
        private uint DownBackgroundColor = 0xFFEFEFEF;
        /// <summary>
        /// 多个类型容器
@@ -135,7 +135,7 @@
        {
            EventHandler<MouseEventArgs> UpClick = (sender, e) =>
            {
                leftFramLayout.BackgroundColor = this.UpBackgroundColor;
                //leftFramLayout.BackgroundColor = this.UpBackgroundColor;
               
                //弹起来还原背景颜色
            };
@@ -147,7 +147,7 @@
            EventHandler<MouseEventArgs> DownClick = (sender, e) =>
            {
                //按下去改变背景颜色
                leftFramLayout.BackgroundColor = this.DownBackgroundColor;
                //leftFramLayout.BackgroundColor = this.DownBackgroundColor;
                action?.Invoke(leftFramLayout);
            };
            leftFramLayout.MouseDownEventHandler += DownClick;
@@ -163,7 +163,7 @@
        {
            EventHandler<MouseEventArgs> UpClick = (sender, e) =>
            {
                rightFramLayout.BackgroundColor = this.UpBackgroundColor;
                //rightFramLayout.BackgroundColor = this.UpBackgroundColor;
          
                //弹起来还原背景颜色
            };
@@ -175,7 +175,7 @@
            EventHandler<MouseEventArgs> DownClick = (sender, e) =>
            {
                //按下去改变背景颜色
                rightFramLayout.BackgroundColor = this.DownBackgroundColor;
                //rightFramLayout.BackgroundColor = this.DownBackgroundColor;
                action?.Invoke(rightFramLayout);
            };
            rightFramLayout.MouseDownEventHandler += DownClick;