コード例 #1
0
ファイル: GamesViewModel.cs プロジェクト: julid29/confsamples
 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
ファイル: GamesViewModel.cs プロジェクト: oflores/confsamples
 void games_GameLoadingError(object sender, GameCatalogErrorEventArgs e)
 {
     // Fire Event on UI Thread
     Application.Current.RootVisual.Dispatcher.BeginInvoke(() =>
     {
         if (ErrorLoading != null)
         {
             ErrorLoading(this, null);
         }
     });
 }