How to add a label programatically in c#

75

How to add a label programatically in c# -

Label namelabel = new Label();
namelabel.Location = new Point(13, 13);
namelabel.Text = name;
this.Controls.Add(namelabel);

Comments

Submit
0 Comments