From aae38b1efd5b123691e03a303964b72de5562c71 Mon Sep 17 00:00:00 2001 From: Anya Date: Thu, 25 Apr 2024 11:24:03 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab_0/CollectionGenericObject/MassiveGenericObjects.cs | 1 + lab_0/FormSimpleBusCollection.Designer.cs | 2 +- lab_0/FormSimpleBusCollection.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lab_0/CollectionGenericObject/MassiveGenericObjects.cs b/lab_0/CollectionGenericObject/MassiveGenericObjects.cs index 23552a8..9b4ee88 100644 --- a/lab_0/CollectionGenericObject/MassiveGenericObjects.cs +++ b/lab_0/CollectionGenericObject/MassiveGenericObjects.cs @@ -12,6 +12,7 @@ namespace ProjectBus.CollectionGenericObject; /// Параметр: ограничение - ссылочный тип public class MassiveGenericObjects : ICollectionGenericObjects where T : class + { /// /// Массив объектов, которые храним diff --git a/lab_0/FormSimpleBusCollection.Designer.cs b/lab_0/FormSimpleBusCollection.Designer.cs index 4d5aa9f..90730ea 100644 --- a/lab_0/FormSimpleBusCollection.Designer.cs +++ b/lab_0/FormSimpleBusCollection.Designer.cs @@ -89,7 +89,7 @@ buttonDelBus.TabIndex = 5; buttonDelBus.Text = "Удалить автобус"; buttonDelBus.UseVisualStyleBackColor = true; - buttonDelBus.Click += ButtonDelBus_Click; + // // maskedTextBox // diff --git a/lab_0/FormSimpleBusCollection.cs b/lab_0/FormSimpleBusCollection.cs index 0c52296..31552a4 100644 --- a/lab_0/FormSimpleBusCollection.cs +++ b/lab_0/FormSimpleBusCollection.cs @@ -111,7 +111,7 @@ public partial class FormSimpleBusCollection : Form } - private void ButtonDelBus_Click(object sender, EventArgs e) + private void ButtonDelBus_Click_1(object sender, EventArgs e) { if (string.IsNullOrEmpty(maskedTextBox.Text) || _company == null) {