private void Button_Jog_Positive_PreviewMouseUp(object sender, MouseButtonEventArgs e) { if (!m_bConnect || m_nAxis < 0) { return; } mc_Acs.fn_StopJog(m_nAxis); }