/// <summary>
        /// Adds a command to the list of _commands and executes it
        /// </summary>
        /// <param name="command">Command to execute</param>
        public void Add(Command command)
        {
            if (_currentCommand < _commands.Count)
                _commands.RemoveRange(_currentCommand, _commands.Count - _currentCommand);
            _commands.Insert(_currentCommand, command);

            Execute();
        }
 public void Remove(Command command)
 {
     _commands.Remove(command);
 }