This commit is contained in:
the 2023-03-12 11:33:49 +04:00
parent 7f0c80ff0c
commit be2156c59a
3 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,7 @@
this.Controls.Add(this.dataGridView);
this.Name = "FormComponents";
this.Text = "Form1";
this.Load += new System.EventHandler(this.FormComponents_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false);

View File

@ -97,6 +97,7 @@
this.Controls.Add(this.dataGridView);
this.Name = "FormComputers";
this.Text = "FormComputers";
this.Load += new System.EventHandler(this.FormComputers_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false);

View File

@ -24,7 +24,7 @@ namespace ComputersShop
_logic = logic;
}
private void FormDocuments_Load(object sender, EventArgs e)
private void FormComputers_Load(object sender, EventArgs e)
{
LoadData();
}