Exemplo n.º 1
0
 private void myBoard_GameBuilt(object sender, GameBoardBuiltEventArgs e)
 {
     if (Dispatcher.CheckAccess())
     {
         Loading.Visibility = Visibility.Hidden;
     }
     else
     {
         Dispatcher.BeginInvoke(new Action <object, GameBoardBuiltEventArgs>(myBoard_GameBuilt), new object[] { null, null });
     }
 }
Exemplo n.º 2
0
 private void OnGameBuilt(GameBoardBuiltEventArgs e)
 {
     GameBuilt(this, e);
 }
Exemplo n.º 3
0
 private void myBoard_GameBuilt(object sender, GameBoardBuiltEventArgs e)
 {
     if (Dispatcher.CheckAccess())
     {
         Loading.Visibility = Visibility.Hidden;
     }
     else Dispatcher.BeginInvoke(new Action<object, GameBoardBuiltEventArgs>(myBoard_GameBuilt), new object[] { null, null });
 }
Exemplo n.º 4
0
 private void OnGameBuilt(GameBoardBuiltEventArgs e)
 {
     GameBuilt(this, e);
 }