예제 #1
0
 public void OnGameOver(object sender, GameOverEventArgs e)
 {
     MessageBox.Show("Player two won: " + e.PlayerTwoWon);
 }
예제 #2
0
 private void NotifyGameOver(bool playerTwoWon)
 {
     GameOverEventArgs e = new GameOverEventArgs(playerTwoWon);
     GameOver(this, e);
 }