示例#1
0
 private void initiatePage()
 {
     FAM.FromGameFile("", StoreLibrary);                         //get the store running
     StoreLibrary.Sort((a, b) => b.Name.CompareTo(a.Name));      //sort alphabetically
     MostPopularPanelFill(this.MostPopularPanel, StoreLibrary);  //fill in most popular tab
     MostRatedPanelFill(this.MostLikedPanel, StoreLibrary);      //fill in most rated tab
 }
示例#2
0
        private void generatesGames(int amount)
        {
            FileAccessModule FAM            = new FileAccessModule();
            List <Game>      libraryofGames = new List <Game>();

            FAM.FromGameFile("", libraryofGames);
            FAM.initateGames(amount, libraryofGames);
            FAM.ToGameFile("", libraryofGames);
        }