private void ScheduleNextAction() { if (_actions.Count > 0) { timerActions.Interval = _actions.Peek().Key; timerActions.Enabled = true; } }