private void btHome_Click(object sender, EventArgs e) { if (Log.ShowMessageModal(m_eId.ToString() + " Axis", "Do you want to Axis Homing?") != System.Windows.Forms.DialogResult.Yes) { return; } SM.MT_GoHome(m_eId); }