public RemoteControl InitializeRemote()
        {
            VolumeControl volume = new VolumeControl();
            ICommand volumeCommand = new VolumeChangeCommand(volume);

            ChannelControl channel = new ChannelControl();
            ICommand channelCommand = new ChannelChangeCommand(channel);

            RemoteControl remote = new RemoteControl();
            remote.RegisterCommand(volumeCommand);
            remote.RegisterCommand(channelCommand);

            remote.ExecuteButtonPressed(volumeCommand);

            remote.UndoButtonPressed(channelCommand);

            return remote;
        }
 public ChannelChangeCommand(ChannelControl _channelControl)
 {
     channelControl = _channelControl;
 }