Ejemplo 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 });
     }
 }
Ejemplo n.º 2
0
 private void OnGameBuilt(GameBoardBuiltEventArgs e)
 {
     GameBuilt(this, e);
 }
Ejemplo 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 });
 }
Ejemplo n.º 4
0
 private void OnGameBuilt(GameBoardBuiltEventArgs e)
 {
     GameBuilt(this, e);
 }