Лабораторная работа 8

This commit is contained in:
Nikbeli 2024-04-17 08:57:39 +04:00
parent aac129127d
commit b762d97176
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@
Controls.Add(dataGridView); Controls.Add(dataGridView);
Name = "FormCities"; Name = "FormCities";
Text = "Список городов"; Text = "Список городов";
Load += FormCars_Load; Load += FormCities_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false); ResumeLayout(false);
} }

View File

@ -104,7 +104,7 @@ namespace BulletinBoard
LoadData(); LoadData();
} }
private void FormCars_Load(object sender, EventArgs e) private void FormCities_Load(object sender, EventArgs e)
{ {
LoadData(); LoadData();
} }