예제 #1
0
 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;
 }
예제 #2
0
        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();
        }