/// <summary>
        /// Constructor
        /// </summary>
        public DataImportComponentControl(DataImportComponent component)
            : base(component)
        {
            InitializeComponent();
            _component = component;

            _importer.DataSource = _component.ImportTypeChoices;
            _importer.DataBindings.Add("Value", _component, "ImportType", true, DataSourceUpdateMode.OnPropertyChanged);
            _dataFile.DataBindings.Add("Text", _component, "FileName", true, DataSourceUpdateMode.OnPropertyChanged);
            //_batchSize.DataBindings.Add("Value", _component, "BatchSize", true, DataSourceUpdateMode.OnPropertyChanged);
        }
        /// <summary>
        /// Constructor
        /// </summary>
        public DataImportComponentControl(DataImportComponent component)
            : base(component)
        {
            InitializeComponent();
            _component = component;

            _importer.DataSource = _component.ImportTypeChoices;
            _importer.DataBindings.Add("Value", _component, "ImportType", true, DataSourceUpdateMode.OnPropertyChanged);
            _dataFile.DataBindings.Add("Text", _component, "FileName", true, DataSourceUpdateMode.OnPropertyChanged);
            //_batchSize.DataBindings.Add("Value", _component, "BatchSize", true, DataSourceUpdateMode.OnPropertyChanged);
        }
Exemplo n.º 3
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DataImportComponent)component;
 }
Exemplo n.º 4
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DataImportComponent)component;
 }