Categories
C# How to display array values in Label's?
Hello, for example, I have 10 values in the array, I need 10 headers (Label) to be created and the height from each other to be 30px, how to implement?
Answer the question
In order to leave comments, you need to log in
for(int i=0:i<list.length;i++){Controls.Add(new Label(){Text=list[i],Size=new Size(100,20),Location=new Point(0,30 *i)});}
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question