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