wjc
2023-08-15 72e397e4550177496288503ab15d74ba077c5b78
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs
@@ -6,8 +6,8 @@
    public class TypeMultiFramLayout
    {
        private uint UpBackgroundColor = 0x00000000;
        private uint DownBackgroundColor = 0xff454635;
        private uint UpBackgroundColor = MusicColor.ViewColor;
        private uint DownBackgroundColor = 0xFFEFEFEF;
        /// <summary>
        /// 多个类型容器
@@ -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;