From 970eb473e542d6e0e43ec99758dc7f4ff5826086 Mon Sep 17 00:00:00 2001 From: YourDax Date: Mon, 13 Nov 2023 22:10:50 +0400 Subject: [PATCH] selectindex --- .../AntiAirCraftGun/FormAntiAirCraftGunCollection.Designer.cs | 1 + AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.Designer.cs b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.Designer.cs index 9236453..cd568ed 100644 --- a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.Designer.cs +++ b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.Designer.cs @@ -92,6 +92,7 @@ this.listBoxStorages.Name = "listBoxStorages"; this.listBoxStorages.Size = new System.Drawing.Size(191, 94); this.listBoxStorages.TabIndex = 6; + this.listBoxStorages.SelectedIndexChanged += new System.EventHandler(this.ListBoxObjects_SelectedIndexChanged); // // buttonAddCollection // diff --git a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.cs b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.cs index 1aac3c3..e70e4a7 100644 --- a/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.cs +++ b/AntiAirCraftGun/AntiAirCraftGun/FormAntiAirCraftGunCollection.cs @@ -145,6 +145,7 @@ namespace AntiAircraftGun MessageBox.Show("Не удалось удалить объект"); } } + private void ButtonUpdateCollection_Click(object sender, EventArgs e) {