Esempio n. 1
0
 public FormGameMenu(StopGame stopGame)
 {
     InitializeComponent();
     KeyPreview = true; // Used to pass all key events to form before the focused control
     StopGame   = stopGame;
 }
Esempio n. 2
0
 public void StopChanged()
 {
     StopGame?.Invoke();
 }
Esempio n. 3
0
 public FormMask(StopGame stopGame)
 {
     InitializeComponent();
     StopGame = stopGame;
 }
Esempio n. 4
0
 public static void HandleStopGame(PlayerNumber winner) => StopGame.SafeInvoke(winner);