From 81480d62561dcb75a1fc968814ace1368fe5181b Mon Sep 17 00:00:00 2001
From: wells.liu <wells.liu@broconcentric.com>
Date: 星期四, 16 七月 2020 11:57:08 +0800
Subject: [PATCH] Merge branch 'master' of http://gitblit.broconcentric.com:8088/r/M071

---
 src/Bro.UI.Model.Winform/CommonHelper.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/Bro.UI.Model.Winform/CommonHelper.cs b/src/Bro.UI.Model.Winform/CommonHelper.cs
index ad96dbc..386a179 100644
--- a/src/Bro.UI.Model.Winform/CommonHelper.cs
+++ b/src/Bro.UI.Model.Winform/CommonHelper.cs
@@ -60,7 +60,12 @@
         /// 1st MouseState 鍒濆鐘舵��
         /// 2nd MouseState 鍙樺寲鐘舵��
         /// </summary>
-        public static Action<ElementBase, ElementState, ElementState> ChangeElementsMouseState;
+        public static event Action<ElementBase, ElementState, ElementState> ChangeElementsMouseState;
+
+        public static void TriggerElementsMouseStateChanged(ElementBase ele, ElementState preState, ElementState curState)
+        {
+            ChangeElementsMouseState?.Invoke(ele, preState, curState);
+        }
     }
 
     public class NoticedPoints : List<Point>

--
Gitblit v1.8.0