private void Button_DisableAll_Click(object sender, RoutedEventArgs e) { if (!m_bConnect || m_nAxis < 0) { return; } mc_Acs.fn_SetDisableAll(); }