From 2695eacba87944cb4c32cfb87d8ddde30ef7742a Mon Sep 17 00:00:00 2001 From: tellsense Date: Thu, 15 Feb 2024 21:39:35 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=B0=201.=20=D0=9F=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/SushiBarView/FormComponent.Designer.cs | 1 + SushiBar/SushiBarView/FormComponent.cs | 1 - SushiBar/SushiBarView/FormComponents.Designer.cs | 1 + SushiBar/SushiBarView/FormMain.Designer.cs | 1 + SushiBar/SushiBarView/FormSushi.Designer.cs | 1 + SushiBar/SushiBarView/FormSushis.Designer.cs | 1 + SushiBar/SushiBarView/FormSushis.cs | 2 +- 7 files changed, 6 insertions(+), 2 deletions(-) diff --git a/SushiBar/SushiBarView/FormComponent.Designer.cs b/SushiBar/SushiBarView/FormComponent.Designer.cs index 1033d48..83340df 100644 --- a/SushiBar/SushiBarView/FormComponent.Designer.cs +++ b/SushiBar/SushiBarView/FormComponent.Designer.cs @@ -101,6 +101,7 @@ Controls.Add(ButtonSave); Name = "FormComponent"; Text = "Компонент"; + Load += FormComponent_Load; ResumeLayout(false); PerformLayout(); } diff --git a/SushiBar/SushiBarView/FormComponent.cs b/SushiBar/SushiBarView/FormComponent.cs index 5f2d007..1419468 100644 --- a/SushiBar/SushiBarView/FormComponent.cs +++ b/SushiBar/SushiBarView/FormComponent.cs @@ -92,7 +92,6 @@ namespace SushiBarView DialogResult = DialogResult.Cancel; Close(); } - } } diff --git a/SushiBar/SushiBarView/FormComponents.Designer.cs b/SushiBar/SushiBarView/FormComponents.Designer.cs index a0a2705..8842f1c 100644 --- a/SushiBar/SushiBarView/FormComponents.Designer.cs +++ b/SushiBar/SushiBarView/FormComponents.Designer.cs @@ -99,6 +99,7 @@ Controls.Add(dataGridView); Name = "FormComponents"; Text = "Компоненты"; + Load += FormComponents_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); } diff --git a/SushiBar/SushiBarView/FormMain.Designer.cs b/SushiBar/SushiBarView/FormMain.Designer.cs index 745fe0d..3cb34a7 100644 --- a/SushiBar/SushiBarView/FormMain.Designer.cs +++ b/SushiBar/SushiBarView/FormMain.Designer.cs @@ -147,6 +147,7 @@ MainMenuStrip = menuStrip; Name = "FormMain"; Text = "Суши-бар"; + Load += FormMain_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); menuStrip.ResumeLayout(false); menuStrip.PerformLayout(); diff --git a/SushiBar/SushiBarView/FormSushi.Designer.cs b/SushiBar/SushiBarView/FormSushi.Designer.cs index d2fbab1..4dc1edf 100644 --- a/SushiBar/SushiBarView/FormSushi.Designer.cs +++ b/SushiBar/SushiBarView/FormSushi.Designer.cs @@ -177,6 +177,7 @@ Controls.Add(labelName); Name = "FormSushi"; Text = "Суши"; + Load += FormSushi_Load; groupBoxComponents.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); diff --git a/SushiBar/SushiBarView/FormSushis.Designer.cs b/SushiBar/SushiBarView/FormSushis.Designer.cs index 39b26ea..6ac33bd 100644 --- a/SushiBar/SushiBarView/FormSushis.Designer.cs +++ b/SushiBar/SushiBarView/FormSushis.Designer.cs @@ -98,6 +98,7 @@ Controls.Add(dataGridView); Name = "FormSushis"; Text = "Суши"; + Load += FormSushis_Load; ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ResumeLayout(false); } diff --git a/SushiBar/SushiBarView/FormSushis.cs b/SushiBar/SushiBarView/FormSushis.cs index dae492e..6464acb 100644 --- a/SushiBar/SushiBarView/FormSushis.cs +++ b/SushiBar/SushiBarView/FormSushis.cs @@ -42,7 +42,7 @@ namespace SushiBarView _logic = logic; } - private void FormSushi_Load(object sender, EventArgs e) + private void FormSushis_Load(object sender, EventArgs e) { LoadData(); }