Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #add #label #programatically
ADD COMMENT
Topic
Name
2+9 =