private void SaveFeeds(IRSSFeed newFeed) { FeedsContainer.AddFeed(newFeed); chkblstRSSItems.Items.Add(newFeed.RSSName, newFeed.Active); OnNewFeedAdded(this, new FeedArgs(newFeed, true)); FeedsContainer.SerializeToBinaryFile(Settings.AppRSSSetings.FileName); LoadFeedsForCategories(); }
private void SettingsDialog_FormClosing(object sender, FormClosingEventArgs e) { SaveSettings(false); FeedsContainer.SerializeToBinaryFile(Settings.AppRSSSetings.FileName); }