/* Playback buttons methods */ #region Playback Buttons private void playButton_Click(object sender, EventArgs e) { if (m_ControlMode == ControlMode.Macro) { m_MacroPlayer.Play(); } else if (m_ControlMode == ControlMode.Script) { m_ScriptHost.Play(); } }