コード例 #1
0
 private void btn_PlayAgain_Click(object sender, EventArgs e)
 {
     PlayAgain?.Invoke(sender, e);
 }
コード例 #2
0
 private void OnClick_Again()
 {
     PlayAgain?.Invoke();
 }
コード例 #3
0
ファイル: GamePanel.cs プロジェクト: jheskett/TileTacToe
 // click of the "Play Again" button that appears when the game is over
 private void PlayAgainButton_Click(object sender, EventArgs e)
 {
     soundClick.Play(); // play a "click" when the button is pressed
     PlayAgain?.Invoke(sender, e);
 }