From f8283c8ebef3e0af8bd990c3e86cc9d010ba528e Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 01 八月 2023 16:37:33 +0800
Subject: [PATCH] 2023年08月01日16:37:16

---
 HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
index 67f3228..9bf4e83 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
@@ -146,7 +146,7 @@
             EventHandler<MouseEventArgs> UpClick = (sender, e) =>
             {
                 this.BackgroundColor = 0x00000000;
-                action?.Invoke(this, btnImage, btnName);
+            
                 //寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
             };
             this.MouseUpEventHandler += UpClick;
@@ -156,9 +156,7 @@
 
             //EventHandler<MouseEventArgs> MoveClick = (sender, e) =>
             //{
-            //    Console.WriteLine("绉诲姩浜嬩欢=====");
             //    this.BackgroundColor = 0x00000000;
-            //    action?.Invoke(this, btnImage, btnName);
             //    //寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
             //};
             //this.MouseMoveEventHandler += MoveClick;
@@ -169,6 +167,7 @@
             {
                 //鎸変笅鍘绘敼鍙樿儗鏅鑹�
                 this.BackgroundColor = 0xff454635;
+                action?.Invoke(this, btnImage, btnName);
             };
             this.MouseDownEventHandler += DownClick;
             btnImage.MouseDownEventHandler += DownClick;

--
Gitblit v1.8.0