From 5f2615ad3ab134458d1b0fc25cf33932cd5f3cc3 Mon Sep 17 00:00:00 2001 From: Vladislave Date: Wed, 3 Apr 2024 14:18:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectBomber/ProjectBomber/FormPlaneCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectBomber/ProjectBomber/FormPlaneCollection.cs b/ProjectBomber/ProjectBomber/FormPlaneCollection.cs index 9065586..a045197 100644 --- a/ProjectBomber/ProjectBomber/FormPlaneCollection.cs +++ b/ProjectBomber/ProjectBomber/FormPlaneCollection.cs @@ -62,7 +62,7 @@ namespace ProjectAirBomber return; } - if (_company + drawningPlane) + if (_company + drawningPlane!= -1) { MessageBox.Show("Объект добавлен"); pictureBox.Image = _company.Show();