public RssDataSourceConfigForm(RssDataSource dataSource) { _dataSource = dataSource; InitializeComponent(); AddToHistory(dataSource.Url); lock (_history) { foreach (string url in _history) { urlComboBox.Items.Add(url); } } urlComboBox.Text = dataSource.Url; }
internal RssDataSourceView(RssDataSource owner, string viewName) : base(owner, viewName) { _owner = owner; }
public override void Initialize(IComponent component) { base.Initialize(component); _dataSource = (RssDataSource)component; }