You must identify the label you want to change somehow.
There are three ways:
1. Give each label a name (by initialization method)
2. Give all labels the same name and identify the "sender" when clicked.
3. Use panel.GetView but you have to know the index of the label.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.