BattleShip.GameBoard.AddLabelPlayer C# (CSharp) Метод

AddLabelPlayer() приватный Метод

Add the name of the gameboard
private AddLabelPlayer ( ) : void
Результат void
        private void AddLabelPlayer()
        {
            this.LblPlayer = new Label();
            this.LblPlayer.Text = this.Name;
            this.LblPlayer.AutoSize = true;
            this.LblPlayer.Font = this.LabelFont;
            this.LblPlayer.BackColor = BACK_COLOR;
            this.LblPlayer.Location = new Point(this.Location.X + (SIZE * 10) / 2 - this.LblPlayer.Width / 2 + SIZE, this.Location.Y - 5);
        }