I have just started coding in C#, and have been attempting to make a GUI application. I made a menu strip and wrote some code for one of the menu items. The method for clicking that menu item was automatically named "openToolStripMenuItem_Click".
In the properties I decided to change the name of the menu item from "open" to "save", but the method name remains the same, which is quite irritating. How do I get it to automatically adjust the method names when I rename a control?
This is not done automatically. A good way is to right-click the method name and use refactor + rename.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.