private void timer_Tick(object sender, EventArgs e) { BoardControl.Refresh(); Text = Locale.T("TicTacToe") + "- " + (game.PlayerOnTurn == Game.Mark.X ? Locale.T("ItsXTurn") : Locale.T("ItsOTurn")); if (game.Skippable) { Text += " - " + Locale.T("PressEscToPassTheTurnToYourOpponent"); } Check4Win(); }
private void BoardControl_Resize(object sender, EventArgs e) { BoardControl.Refresh(); }