Renaming a form in C# WinForms properly
11,271
right click the form in solution explorer, choose 'rename'. Once you've named it then it asks you if you want to change all references(that's refactoring), say yes.
Author by
at541
Updated on June 15, 2022Comments
-
at541 almost 2 years
I'm currently working on a project in C# WinForms and I wanted to know how you rename a
Form
properly without breaking the application. I need to change my Form8 to Form9 and I'm assuming that you need to rename the design (name) in the properties window of a form but are there any other steps that I need to take in order to rename correctly?