Ejemplo n.º 1
0
        private void 新增频道ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddFeed addFeed = new AddFeed();

            addFeed.ShowDialog();
            string url = addFeed.Url;

            if (url != string.Empty)
            {
                RssFeed    newFeed    = new RssFeed(url);
                RssLinkXML rssLinkXML = new RssLinkXML();
                rssLinkXML.AddLink(newFeed.MainChannel.Title, url);
                ShowDefaultItems();
            }
        }
Ejemplo n.º 2
0
        private void 新增频道ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddFeed addFeed = new AddFeed();
            addFeed.ShowDialog();
            string url = addFeed.Url;

            if (url != string.Empty)
            {
                RssFeed newFeed = new RssFeed(url);
                RssLinkXML rssLinkXML = new RssLinkXML();
                rssLinkXML.AddLink(newFeed.MainChannel.Title, url);
                ShowDefaultItems();
            }
        }