Example #1
0
 public GamesViewModel(IGameCatalog catalog)
 {
     theCatalog = catalog;
     theCatalog.GameLoadingComplete +=
         new EventHandler <GameLoadingEventArgs>(games_GameLoadingComplete);
     theCatalog.GameLoadingError +=
         new EventHandler <GameCatalogErrorEventArgs>(games_GameLoadingError);
 }
Example #2
0
 public GamesViewModel(IGameCatalog catalog)
 {
   theCatalog = catalog;
   theCatalog.GameLoadingComplete += 
     new EventHandler<GameLoadingEventArgs>(games_GameLoadingComplete);
   theCatalog.GameLoadingError += 
     new EventHandler<GameCatalogErrorEventArgs>(games_GameLoadingError);
 }