BattleShip.GameBoard.InitializeSize C# (CSharp) Méthode

InitializeSize() private méthode

Calcul the size in pixel by the rapport in the number of case and the size
private InitializeSize ( ) : void
Résultat void
        private void InitializeSize()
        {
            this.Size = new Size(LINES * SIZE + SIZE, COLUMNS * SIZE + LblPlayer.Height + SIZE);
        }