From 30458c0bca8066d98ca901b5065832a44a7e970e Mon Sep 17 00:00:00 2001 From: wells.liu <wells.liu@broconcentric.com> Date: 星期四, 16 七月 2020 15:47:22 +0800 Subject: [PATCH] 测量结果 查询+导出功能 --- 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