private void GameplayForm_Load(object sender, EventArgs e) { int currentScreenWidth = Screen.PrimaryScreen.Bounds.Width; int currentScreenHeight = Screen.PrimaryScreen.Bounds.Height; bool isNoAvailableMoves = false; GameInformation.InitializeGame(m_IsTwoPlayerMode, m_SizeOfBoard); this.Text = "Othello - " + k_PlayerOneColor + "'s turn"; InitializeButtonMatrix(); updateBoard(ref isNoAvailableMoves); this.Location = new Point((currentScreenWidth - this.Width) / 2, (currentScreenHeight - this.Height) / 2); }