From e699d36d674e54402ab0ca30e5a592f1c46032c7 Mon Sep 17 00:00:00 2001 From: tellsense Date: Tue, 7 May 2024 22:03:48 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20?= =?UTF-8?q?=E2=84=963?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUBD/SUBD/Forms/FormComponent.Designer.cs | 3 ++- SUBD/SUBD/Forms/FormComponent.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SUBD/SUBD/Forms/FormComponent.Designer.cs b/SUBD/SUBD/Forms/FormComponent.Designer.cs index 33ff2c2..c74f8bf 100644 --- a/SUBD/SUBD/Forms/FormComponent.Designer.cs +++ b/SUBD/SUBD/Forms/FormComponent.Designer.cs @@ -44,6 +44,7 @@ buttonCancel.TabIndex = 0; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; + buttonCancel.Click += ButtonCancel_Click; // // buttonSave // @@ -53,7 +54,7 @@ buttonSave.TabIndex = 1; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; - buttonSave.Click += this.ButtonSave_Click; + buttonSave.Click += ButtonSave_Click; // // textBoxName // diff --git a/SUBD/SUBD/Forms/FormComponent.cs b/SUBD/SUBD/Forms/FormComponent.cs index f97bd01..d6bd3ba 100644 --- a/SUBD/SUBD/Forms/FormComponent.cs +++ b/SUBD/SUBD/Forms/FormComponent.cs @@ -12,7 +12,7 @@ using SUBD.ComponentInterfaces; namespace SUBD { - public partial class FormComponent : Form + public partial class FormComponent : Form { private readonly IComponentLogic _logic; private int? _id;