Scott Starker wrote:
Greetings all.
I have a program that I've written in VB6 and now want to re-code in C#. But
I have a problem in that there is no LabelArray in C# like there is in VB6.
Is there any easy way to do this VB6 LabelArray in C#?
Scott
I think the most natural way would be to create a collection of the
labels and add them to the form programatically.
Probably seems like a pain in the ass compared to VB but when you get
into it, it is no problem. I tried it with .net 2 and the new generic
List class simplified it somewhat. You could probably simplify it
further by extending the List to handle some of the stuff you have to do
programatically (setting coordinates, naming, tabindex etc.)