Hi, I am trying to create a new label at runtime and give it a unique reference.
Is this possible? Below is the code i have started with... (although it doesn't work yet)
As you can see, i am tyring to replicate a label and give it a unique name (the 5 could be any number... is this the right way of doing it, or is there a better way?
Regards,
Martin
Computing Design And Services:
Is this possible? Below is the code i have started with... (although it doesn't work yet)
Code:
for (int i = 0; i < 5; i++)
{
Label label + i = new Label();
}
Regards,
Martin
Computing Design And Services: