General information
Title:
Renaming controls without messing up code?
On a Windows Forms, how can I rename a control (using the Properties window in the IDE) knowing that there may be many event handlers and other references to the old name in other places in my codes?
If you rename it immediately after placing it, you're ok, but what if you have already coded against it and then decide to rename it how do you fix all the references? Will it do it automatically or do I have to find all the places that need to be changed? Where all should I look?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only