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); }
/// <summary> /// Called by the host to assign this view to a component. /// </summary> public void SetComponent(IApplicationComponent component) { _component = (AtsConfigurationComponent)component; }