wjc
2023-08-10 ff423b88a0dc521932305b5bd44b1786d3e42722
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs
@@ -17,13 +17,11 @@
            this.BackgroundColor = 0x00000000;
        }
        public Button btnImage = new Button
        public ImageView btnImage = new ImageView
        {
            Height = Application.GetRealHeight(140),
            Width = Application.GetRealWidth(109),
            Radius = (uint)Application.GetRealHeight(12),
            //UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
            BackgroundColor=0xff765876,
        };
        public Button btnScore = new Button
@@ -68,7 +66,7 @@
        {
            EventHandler<MouseEventArgs> UpClick = (sender, e) =>
            {
                this.BackgroundColor = 0x00000000;
                //this.BackgroundColor = 0x00000000;
                //弹起来还原背景颜色
            };
@@ -90,7 +88,7 @@
            EventHandler<MouseEventArgs> DownClick = (sender, e) =>
            {
                //按下去改变背景颜色
                this.BackgroundColor = 0xff454635;
                //this.BackgroundColor = 0xff454635;
                action?.Invoke(this);
            };
            this.MouseUpEventHandler += DownClick;