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;
        }
Exemplo n.º 2
0
 internal RssDataSourceView(RssDataSource owner, string viewName) : base(owner, viewName)
 {
     _owner = owner;
 }
Exemplo n.º 3
0
 public override void Initialize(IComponent component)
 {
     base.Initialize(component);
     _dataSource = (RssDataSource)component;
 }