public CommandHistoryComponentPanel(CommandHistoryComponent component) : this()
		{
			_component = component;
			_component.CurrentCommandChanged += OnComponentCurrentCommandChanged;

			_commandList.DataSource = component.CommandList;
		}
        public CommandHistoryComponentPanel(CommandHistoryComponent component) : this()
        {
            _component = component;
            _component.CurrentCommandChanged += OnComponentCurrentCommandChanged;

            _commandList.DataSource = component.CommandList;
        }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (CommandHistoryComponent)component;
 }
		public void SetComponent(IApplicationComponent component)
		{
			_component = (CommandHistoryComponent) component;
		}