Could someone tell me why when I start a project, it added a new Form1, I can rename this to something else but I can't seem to rename the Form1.Designer.cs? How do I change the default form name? Thanks in advance.

Recommended Answers

All 2 Replies

When you renamed it did you click yes on the messagebox that asks if you want to change the the name everywhere it's references (if you've referenced form1 in other classes) ? i renamed the Designer file maulally i think . . .

Exactly, when you rename the form1, you got a messageBox, where is asking you if you want to rename all references connected with project, and if you choose yes, Even Designer will rename!!
Try it out, you will see it works,.
bye

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.