From d511823e84953e616da9a24484d730c49c457c08 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期二, 14 七月 2020 08:54:16 +0800 Subject: [PATCH] 更改M071主界面按钮鼠标样式 --- src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisOperation.cs | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisOperation.cs b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisOperation.cs index fcc0e33..2613cbf 100644 --- a/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisOperation.cs +++ b/src/Bro.UI.Device.Winform/MotionCard/CtrlMotionCardAxisOperation.cs @@ -38,7 +38,7 @@ } - private void buttonPositive_MouseDown(object sender, EventArgs e) + private void buttonPositive_MouseDown(object sender, MouseEventArgs e) { var opConfig = new MotionOperationCollection(); MovingOption movingOption = new MovingOption(); @@ -62,7 +62,7 @@ MotionCard.MoveStop(_axisIndex, 0); } - private void buttonNegative_MouseDown(object sender, EventArgs e) + private void buttonNegative_MouseDown(object sender, MouseEventArgs e) { var opConfig = new MotionOperationCollection(); MovingOption movingOption = new MovingOption(); @@ -74,16 +74,6 @@ opConfig.MovingOps.Add(movingOption); MotionCard.MoveToPoint(opConfig); - } - - private void buttonPositive_Click(object sender, EventArgs e) - { - - } - - private void buttonNegative_Click(object sender, EventArgs e) - { - } private void buttonStart_Click(object sender, EventArgs e) @@ -103,7 +93,7 @@ private void buttonStop_Click(object sender, EventArgs e) { - MotionCard.StateChange(DeviceState.DSPause); + MotionCard.MoveStop(_axisIndex, 0); } } } -- Gitblit v1.8.0