Лаба 1. Правки.

This commit is contained in:
Андрей Байгулов 2024-02-15 21:39:35 +04:00
parent 6898b826c6
commit 2695eacba8
7 changed files with 6 additions and 2 deletions

View File

@ -101,6 +101,7 @@
Controls.Add(ButtonSave);
Name = "FormComponent";
Text = "Компонент";
Load += FormComponent_Load;
ResumeLayout(false);
PerformLayout();
}

View File

@ -92,7 +92,6 @@ namespace SushiBarView
DialogResult = DialogResult.Cancel;
Close();
}
}
}

View File

@ -99,6 +99,7 @@
Controls.Add(dataGridView);
Name = "FormComponents";
Text = "Компоненты";
Load += FormComponents_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
}

View File

@ -147,6 +147,7 @@
MainMenuStrip = menuStrip;
Name = "FormMain";
Text = "Суши-бар";
Load += FormMain_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
menuStrip.ResumeLayout(false);
menuStrip.PerformLayout();

View File

@ -177,6 +177,7 @@
Controls.Add(labelName);
Name = "FormSushi";
Text = "Суши";
Load += FormSushi_Load;
groupBoxComponents.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);

View File

@ -98,6 +98,7 @@
Controls.Add(dataGridView);
Name = "FormSushis";
Text = "Суши";
Load += FormSushis_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
}

View File

@ -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();
}