private void FormLugOther_Load(object sender, EventArgs e)
{
foreach (string str in FormLug.FieldListLug1)
{
try
{
Label label = new Label();
label.Text = str;
this.tableLayoutPanel1.Controls.Add(label);
TextBox textbox = new TextBox();
textbox.Name = "tb" + str;
textbox.Text = FormLug.tbValue.Rows[][str].ToString();
this.tableLayoutPanel1.Controls.Add(textbox);
}
catch
{
return;
}
}
}