From d955f446a91a4377e1a87a74141542ee35508930 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期四, 16 七月 2020 09:34:23 +0800 Subject: [PATCH] 添加平面补偿值 修改Excel输出细节 --- 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