Ejemplo n.º 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;
 }
Ejemplo n.º 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();
        }