Label lbl = new Label(); lbl.Text = "some text"; Panel1.Controls.Add(lbl);
Panel1.Controls.Add(new Label() { Text = "" });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)