public ToolbarConfigurationComponentControl(ToolbarConfigurationComponent component)
		{
			InitializeComponent();

			_component = component;

			_toolbarSize.DataSource = Enum.GetValues(typeof (IconSize));

			_wrapToolbars.DataBindings.Add("Checked", _component, "Wrap", false, DataSourceUpdateMode.OnPropertyChanged);
			_toolbarSize.DataBindings.Add("Value", _component, "IconSize", true, DataSourceUpdateMode.OnPropertyChanged);
		}
        public ToolbarConfigurationComponentControl(ToolbarConfigurationComponent component)
        {
            InitializeComponent();

            _component = component;

            _toolbarSize.DataSource = Enum.GetValues(typeof(IconSize));

            _wrapToolbars.DataBindings.Add("Checked", _component, "Wrap", false, DataSourceUpdateMode.OnPropertyChanged);
            _toolbarSize.DataBindings.Add("Value", _component, "IconSize", true, DataSourceUpdateMode.OnPropertyChanged);
        }
		public void SetComponent(IApplicationComponent component)
		{
			_component = (ToolbarConfigurationComponent)component;
		}
 public void SetComponent(IApplicationComponent component)
 {
     _component = (ToolbarConfigurationComponent)component;
 }