From da62af23c380740260b5df16df81e4cd5e1c83de Mon Sep 17 00:00:00 2001 From: xom9kxom9k Date: Thu, 22 Feb 2024 15:22:05 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{DrawingAntiAircraftGun.cs => DrawningAntiAircraftGun.cs} | 2 +- AntiAircraftGun/FormAntiAircraftGun.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename AntiAircraftGun/{DrawingAntiAircraftGun.cs => DrawningAntiAircraftGun.cs} (99%) diff --git a/AntiAircraftGun/DrawingAntiAircraftGun.cs b/AntiAircraftGun/DrawningAntiAircraftGun.cs similarity index 99% rename from AntiAircraftGun/DrawingAntiAircraftGun.cs rename to AntiAircraftGun/DrawningAntiAircraftGun.cs index 77fc465..66c1ead 100644 --- a/AntiAircraftGun/DrawingAntiAircraftGun.cs +++ b/AntiAircraftGun/DrawningAntiAircraftGun.cs @@ -2,7 +2,7 @@ /// /// Класс отвечающий за прорисовку и перемещение объекта - сущности /// -public class DrawingAntiAircraftGun +public class DrawningAntiAircraftGun { /// /// Класс - сущность diff --git a/AntiAircraftGun/FormAntiAircraftGun.cs b/AntiAircraftGun/FormAntiAircraftGun.cs index 78a038e..cca877f 100644 --- a/AntiAircraftGun/FormAntiAircraftGun.cs +++ b/AntiAircraftGun/FormAntiAircraftGun.cs @@ -5,7 +5,7 @@ /// /// Поле объект для прорисовки объекта /// - private DrawingAntiAircraftGun? _drawningAntiAircraftGun; + private DrawningAntiAircraftGun? _drawningAntiAircraftGun; /// /// конструктор формы /// @@ -35,7 +35,7 @@ private void ButtonCreate_Click(object sender, EventArgs e) { Random random = new(); - _drawningAntiAircraftGun = new DrawingAntiAircraftGun(); + _drawningAntiAircraftGun = new DrawningAntiAircraftGun(); _drawningAntiAircraftGun.Init(random.Next(100, 300), random.Next(1000, 3000), Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255)), Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));