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