Пример #1
0
        private void lbAvsnitt_SelectedIndexChanged(object sender, EventArgs e)
        {
            var feeds = new Feeds();

            if (lbAvsnitt.SelectedItems.Count > 0)
            {
                feeds.Description(lvPodcasts.SelectedItems[0].SubItems[4].Text, feeds.LoadFeed(feeds.CreateXmlReader(lvPodcasts.SelectedItems[0].SubItems[4].Text)),
                                  lvPodcasts, lbAvsnitt, txtBoxDescription);
            }
        }
Пример #2
0
        private void listPodcasts_SelectedIndexChanged(object sender, EventArgs e)
        {
            var feeds = new Feeds();

            if (lvPodcasts.SelectedItems.Count > 0)
            {
                feeds.IndexChangedPodcast(lvPodcasts, lbAvsnitt, lvPodcasts.SelectedItems[0].SubItems[4].Text,
                                          feeds.LoadFeed(feeds.CreateXmlReader(lvPodcasts.SelectedItems[0].SubItems[4].Text)));
            }
        }