void OptionsWindowClosed(object sender, EventArgs e) { releaseCollection = new AutoFilterReleases(R.Data.Releases.ToList(), "Releases"); MainBigList[0] = releaseCollection; gameCollection = new AutoFilterGames(R.Data.Games.ToList(), "Games"); MainBigList[1] = gameCollection; }
public MainWindowViewModel() { MainBigList = new ObservableCollection <object> { (releaseCollection = new AutoFilterReleases(R.Data.Releases.ToList(), "Releases")), (gameCollection = new AutoFilterGames(R.Data.Games.ToList(), "Games")), (platformCollection = new AutoFilterPlatforms(R.Data.Platforms.ToList(), "Platforms")), (emulatorCollection = new AutoFilterEmulators(R.Data.Emulators.ToList(), "Emulators")), (CollectionList = new CollectionList("Collections")) }; InitializeCommands(); }