I have move an application from VB6 to VB.net. In VB6 I used Control Arrays (an array of Labels). Through articles I have found on various Forums I have been able to re-create control arrays in VB.net.
I have successfully recoded everything in VB.net but have two questions:
1) Can I add custom properties to a class based on Labels? How?
2) I cannot find a way to have the Label.Click event return the Index of the Label clicked. Any suggestions.
My thanks to anyone who can help me with this.
I have successfully recoded everything in VB.net but have two questions:
1) Can I add custom properties to a class based on Labels? How?
2) I cannot find a way to have the Label.Click event return the Index of the Label clicked. Any suggestions.
My thanks to anyone who can help me with this.