private void clearButton_Click(object sender, EventArgs e) { if (m_ControlMode == ControlMode.Macro) { m_MacroPlayer.Clear(); } }
/* Menu strip methods */ #region Menu Strip #region File private void newToolStripMenuItem_Click(object sender, EventArgs e) { SetControlMode(ControlMode.Macro); m_MacroPlayer.Clear(); m_SaveLoadHelper.ClearCurrentFile(); }