Коммит четвертый. 71%

This commit is contained in:
Hells Hound 2022-09-11 10:32:07 +04:00
parent 5db329405b
commit 714420d726
3 changed files with 4 additions and 4 deletions

View File

@ -34,11 +34,11 @@ namespace AircraftCarrier
/// <summary>
/// Ширина отрисовки военного корабля
/// </summary>
private readonly int _warshipWidth = 80;
private readonly int _warshipWidth = 94;
/// <summary>
/// Высота отрисовки военного корабля
/// </summary>
private readonly int _warshipHeight = 50;
private readonly int _warshipHeight = 40;
/// <summary>
/// Инициализация свойств
/// </summary>

View File

@ -89,7 +89,7 @@
this.buttonCreate.TabIndex = 2;
this.buttonCreate.Text = "Create";
this.buttonCreate.UseVisualStyleBackColor = true;
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
this.buttonCreate.Click += new System.EventHandler(this.ButtonCreate_Click);
//
// buttonDown
//

View File

@ -22,7 +22,7 @@ namespace AircraftCarrier
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void buttonCreate_Click(object sender, EventArgs e)
private void ButtonCreate_Click(object sender, EventArgs e)
{
Random rnd = new();
_warship = new DrawingWarship();