public void SaveSettings() { foreach (AutoFilterCollection AFC in MainBigList.Where(x => x is AutoFilterCollection)) { AFC.SaveSettings(); } RecentFileList.Save(); Properties.Settings.Default.Save(); }
void Play() { if (SelectedDB is Release) { RecentFileList.Add(SelectedDB as Release); } else if (SelectedDB is Game) { RecentFileList.Add((SelectedDB as Game).PreferredRelease); } SelectedDB.Play(); }