From 58c0c8d87bc0c1f4998d4ea06bf2c96623aec1b1 Mon Sep 17 00:00:00 2001 From: bulatova_karina Date: Mon, 6 Nov 2023 00:33:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D1=80=D0=BE=D0=B4=D0=B5=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=20=D0=BB=D0=B0=D0=B1=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs | 2 +- WarmlyShip/WarmlyShip/SetGeneric.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs b/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs index 5863c50..c316cb1 100644 --- a/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs +++ b/WarmlyShip/WarmlyShip/FormShipCollection.Designer.cs @@ -114,7 +114,7 @@ this.listBoxStorages.Name = "listBoxStorages"; this.listBoxStorages.Size = new System.Drawing.Size(187, 84); this.listBoxStorages.TabIndex = 0; - this.listBoxStorages.Click += new System.EventHandler(this.ListBoxObjects_SelectedIndexChanged); + this.listBoxStorages.SelectedIndexChanged += new System.EventHandler(this.ListBoxObjects_SelectedIndexChanged); // // maskedTextBoxNumber // diff --git a/WarmlyShip/WarmlyShip/SetGeneric.cs b/WarmlyShip/WarmlyShip/SetGeneric.cs index 80b0d47..4c31c0a 100644 --- a/WarmlyShip/WarmlyShip/SetGeneric.cs +++ b/WarmlyShip/WarmlyShip/SetGeneric.cs @@ -70,7 +70,7 @@ namespace WarmlyShip.Generics { return false; } - _places[position] = null; + _places.RemoveAt(position); return true; } ///