WinForm dialog to configure RSS data source
        private bool ConfigureRssDataSource(object context)
        {
            try
            {
                SuppressDataSourceEvents();

                string oldUrl = _dataSource.Url;

                using (RssDataSourceConfigForm form = new RssDataSourceConfigForm(_dataSource))
                {
                    IUIService   uiService = (IUIService)GetService(typeof(IUIService));
                    DialogResult result    = uiService.ShowDialog(form);

                    if (result == DialogResult.OK && oldUrl != _dataSource.Url)
                    {
                        OnSchemaRefreshed(EventArgs.Empty);
                    }

                    return(result == DialogResult.OK);
                }
            }
            finally
            {
                ResumeDataSourceEvents();
            }
        }
        private bool ConfigureRssDataSource(object context)
        {
            try
            {
                SuppressDataSourceEvents();

                string oldUrl = _dataSource.Url;

                using (RssDataSourceConfigForm form = new RssDataSourceConfigForm(_dataSource))
                {
                    IUIService uiService = (IUIService)GetService(typeof(IUIService));
                    DialogResult result = uiService.ShowDialog(form);

                    if (result == DialogResult.OK && oldUrl != _dataSource.Url)
                    {
                        OnSchemaRefreshed(EventArgs.Empty);
                    }

                    return (result == DialogResult.OK);
                }
            }
            finally
            {
                ResumeDataSourceEvents();
            }
        }