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;