From 203daf9a1605840221bc7bb9097d2d2999336c1f Mon Sep 17 00:00:00 2001 From: YourDax Date: Sun, 15 Oct 2023 23:02:57 +0400 Subject: [PATCH] Last fix --- AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGun.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGun.cs b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGun.cs index 46ad614..4042c41 100644 --- a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGun.cs +++ b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGun.cs @@ -65,7 +65,7 @@ namespace AntiAircraftGun bodyColor = dialog.Color; if (dialog.ShowDialog() == DialogResult.OK) dopColor = dialog.Color; - _drawing = new AdvancedDrawingAntiAirCraftGun( + _drawingAntiAirCraftGun = new AdvancedDrawingAntiAirCraftGun( random.Next(100, 300), // Скорость random.Next(1000, 3000), // Вес bodyColor, additionalColor, dopColor, @@ -89,7 +89,7 @@ namespace AntiAircraftGun { bodyColor = dialog.Color; } - _drawing = new BaseDrawingAntiAirCraftGun( + _drawingAntiAirCraftGun = new BaseDrawingAntiAirCraftGun( random.Next(100, 300), // Скорость random.Next(1000, 3000), // Вес bodyColor, additionalColor, @@ -140,7 +140,7 @@ namespace AntiAircraftGun } private void ButtonSelectZenit_Click(object sender, EventArgs e) { - SelectedZenit = _drawing; + SelectedZenit = _drawingAntiAirCraftGun; DialogResult = DialogResult.OK; }