Esempio n. 1
0
        private void ExitApp()

        {
            this.notifyIcon.Dispose();

            SettingsPersister.Persist(this.Feeds);
        }
Esempio n. 2
0
        private void InitializeFeeds()

        {
            this.feeds = new List <Feed>();



            List <Feed> savedFeeds = SettingsPersister.Read();

            foreach (Feed feed in savedFeeds)

            {
                AddFeed(feed);
            }



            if (this.feeds.Count == 0)

            {
                //AddFeed("http://rss.news.yahoo.com/rss/topstories", Properties.Settings.Default.DefaultInterval);

                AddFeed("http://feedproxy.google.com/TechCrunch", Properties.Settings.Default.DefaultInterval);

                AddFeed("http://feeds2.feedburner.com/readwriteweb", Properties.Settings.Default.DefaultInterval);

                AddFeed("http://groups.google.com/group/growl-for-windows/feed/atom_v1_0_msgs.xml", Properties.Settings.Default.DefaultInterval);
            }
        }