From 56d73b9710766e7acab2e084a6af322175c78f1b Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期六, 11 七月 2020 11:20:38 +0800 Subject: [PATCH] 添加急停按钮相关处理 --- src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs index 3ac3207..103622f 100644 --- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs +++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardIOStatus.cs @@ -45,6 +45,7 @@ { if (ctr is IOIndicatorCtrl ioOut) { + ioOut.Cursor = Cursors.Hand; ioOut.OnIODoubleClick += IoOut_DoubleClick; } } @@ -79,6 +80,8 @@ } } } + + this.Invalidate(); } } } -- Gitblit v1.8.0