/// <summary>
		/// Constructor.
		/// </summary>
		public CannedTextCategoryEditorComponentControl(CannedTextCategoryEditorComponent component)
			: base(component)
		{
			_component = component;
			InitializeComponent();

			_category.DataSource = _component.CategoryChoices;
			_category.DataBindings.Add("Text", _component, "Category", true, DataSourceUpdateMode.OnPropertyChanged);
		}
        /// <summary>
        /// Constructor.
        /// </summary>
        public CannedTextCategoryEditorComponentControl(CannedTextCategoryEditorComponent component)
            : base(component)
        {
            _component = component;
            InitializeComponent();

            _category.DataSource = _component.CategoryChoices;
            _category.DataBindings.Add("Text", _component, "Category", true, DataSourceUpdateMode.OnPropertyChanged);
        }
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (CannedTextCategoryEditorComponent)component;
 }
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (CannedTextCategoryEditorComponent)component;
 }