示例#1
0
 void games_GameLoadingError(object sender, GameCatalogErrorEventArgs e)
 {
   // Fire Event on UI Thread
   Application.Current.RootVisual.Dispatcher.BeginInvoke(() =>
     {
       if (ErrorLoading != null) ErrorLoading(this, null);
     });
 }
示例#2
0
 void games_GameLoadingError(object sender, GameCatalogErrorEventArgs e)
 {
     // Fire Event on UI Thread
     Application.Current.RootVisual.Dispatcher.BeginInvoke(() =>
     {
         if (ErrorLoading != null)
         {
             ErrorLoading(this, null);
         }
     });
 }