public AtsConfigurationComponentControl(AtsConfigurationComponent component) : base(component)
        {
            _component = component;

            InitializeComponent();

            _txtAtsUrl.DataBindings.Add("Text", _component, "AtsUrl", true, DataSourceUpdateMode.OnPropertyChanged);
            _checkBoxAutomaticallyImportTemplates.DataBindings.Add("Checked", _component, "AutoImportTemplates", true,
                                                                   DataSourceUpdateMode.OnPropertyChanged);
        }
        public AtsConfigurationComponentControl(AtsConfigurationComponent component)
            : base(component)
        {
            _component = component;

            InitializeComponent();

            _txtAtsUrl.DataBindings.Add("Text", _component, "AtsUrl", true, DataSourceUpdateMode.OnPropertyChanged);
            _checkBoxAutomaticallyImportTemplates.DataBindings.Add("Checked", _component, "AutoImportTemplates", true,
                                                                   DataSourceUpdateMode.OnPropertyChanged);
        }
Example #3
0
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (AtsConfigurationComponent)component;
 }
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (AtsConfigurationComponent)component;
 }