public CommandLineExternalPropertiesComponentControl(CommandLineExternalPropertiesComponent component) : base(component)
        {
            InitializeComponent();

            base.ErrorProvider.SetIconPadding(_txtCommand, _btnCommand.Width);

            _helpMessage           = component.ArgumentFieldsHelpText;
            _lnkHelpFields.Visible = !string.IsNullOrEmpty(_helpMessage);

            _txtName.DataBindings.Add("Text", component, "Label", false, DataSourceUpdateMode.OnPropertyChanged);
            _txtCommand.DataBindings.Add("Text", component, "Command", false, DataSourceUpdateMode.OnPropertyChanged);
            _txtWorkingDir.DataBindings.Add("Text", component, "WorkingDirectory", false, DataSourceUpdateMode.OnPropertyChanged);
            _txtArguments.DataBindings.Add("Text", component, "Arguments", false, DataSourceUpdateMode.OnPropertyChanged);
            _chkAllowMultiValueFields.DataBindings.Add("Checked", component, "AllowMultiValueFields", false, DataSourceUpdateMode.OnPropertyChanged);
            _txtMultiValueFieldSeparator.DataBindings.Add("Text", component, "MultiValueFieldSeparator", false, DataSourceUpdateMode.OnPropertyChanged);
            _txtMultiValueFieldSeparator.DataBindings.Add("Enabled", component, "AllowMultiValueFields", false, DataSourceUpdateMode.OnPropertyChanged);
        }
		public CommandLineExternalPropertiesComponentControl(CommandLineExternalPropertiesComponent component) : base(component)
		{
			InitializeComponent();

			base.ErrorProvider.SetIconPadding(_txtCommand, _btnCommand.Width);

			_helpMessage = component.ArgumentFieldsHelpText;
			_lnkHelpFields.Visible = !string.IsNullOrEmpty(_helpMessage);

			_txtName.DataBindings.Add("Text", component, "Label", false, DataSourceUpdateMode.OnPropertyChanged);
			_txtCommand.DataBindings.Add("Text", component, "Command", false, DataSourceUpdateMode.OnPropertyChanged);
			_txtWorkingDir.DataBindings.Add("Text", component, "WorkingDirectory", false, DataSourceUpdateMode.OnPropertyChanged);
			_txtArguments.DataBindings.Add("Text", component, "Arguments", false, DataSourceUpdateMode.OnPropertyChanged);
			_chkAllowMultiValueFields.DataBindings.Add("Checked", component, "AllowMultiValueFields", false, DataSourceUpdateMode.OnPropertyChanged);
			_txtMultiValueFieldSeparator.DataBindings.Add("Text", component, "MultiValueFieldSeparator", false, DataSourceUpdateMode.OnPropertyChanged);
			_txtMultiValueFieldSeparator.DataBindings.Add("Enabled", component, "AllowMultiValueFields", false, DataSourceUpdateMode.OnPropertyChanged);
		}
		public void SetComponent(IApplicationComponent component)
		{
			_component = (CommandLineExternalPropertiesComponent)component;
		}
 public void SetComponent(IApplicationComponent component)
 {
     _component = (CommandLineExternalPropertiesComponent)component;
 }