From 714420d7261d96d7f4dc3ae3d2df0cd578bb9505 Mon Sep 17 00:00:00 2001 From: Hells Hound Date: Sun, 11 Sep 2022 10:32:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B8=D1=82=20=D1=87?= =?UTF-8?q?=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D1=82=D1=8B=D0=B9.=2071%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AircraftCarrier/AircraftCarrier/DrawingWarship.cs | 4 ++-- AircraftCarrier/AircraftCarrier/FormWarship.Designer.cs | 2 +- AircraftCarrier/AircraftCarrier/FormWarship.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AircraftCarrier/AircraftCarrier/DrawingWarship.cs b/AircraftCarrier/AircraftCarrier/DrawingWarship.cs index ba51908..447fee2 100644 --- a/AircraftCarrier/AircraftCarrier/DrawingWarship.cs +++ b/AircraftCarrier/AircraftCarrier/DrawingWarship.cs @@ -34,11 +34,11 @@ namespace AircraftCarrier /// /// Ширина отрисовки военного корабля /// - private readonly int _warshipWidth = 80; + private readonly int _warshipWidth = 94; /// /// Высота отрисовки военного корабля /// - private readonly int _warshipHeight = 50; + private readonly int _warshipHeight = 40; /// /// Инициализация свойств /// diff --git a/AircraftCarrier/AircraftCarrier/FormWarship.Designer.cs b/AircraftCarrier/AircraftCarrier/FormWarship.Designer.cs index 5cfbd12..16e926d 100644 --- a/AircraftCarrier/AircraftCarrier/FormWarship.Designer.cs +++ b/AircraftCarrier/AircraftCarrier/FormWarship.Designer.cs @@ -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 // diff --git a/AircraftCarrier/AircraftCarrier/FormWarship.cs b/AircraftCarrier/AircraftCarrier/FormWarship.cs index 42e717e..9c075a6 100644 --- a/AircraftCarrier/AircraftCarrier/FormWarship.cs +++ b/AircraftCarrier/AircraftCarrier/FormWarship.cs @@ -22,7 +22,7 @@ namespace AircraftCarrier /// /// /// - private void buttonCreate_Click(object sender, EventArgs e) + private void ButtonCreate_Click(object sender, EventArgs e) { Random rnd = new(); _warship = new DrawingWarship();