private void ShowInstructions() { PopupNotificationForm popup = new PopupNotificationForm(); popup.ShowDialog(); }
private void PlayerHasWon(Player player) { PopupNotificationForm popup = new PopupNotificationForm(); String playerName; if (player.IsHuman()) { playerName = this.label1.Text; } else { playerName = this.label2.Text; } popup.SetText(playerName + " has won!"); popup.ShowDialog(); }