How can I easily duplicate a C#/VB Form in Visual Studio? If I copy & paste in the Solution Explorer, it uses the same class internally and gets messed up. How do you do it?
I have been using another way of copying forms since vb6.
File Menu / SE - Save CurrentForm.cs as - NewForm.cs
Change its Name to NewForm in Properties window.
In Solution Explorer - Add Existing Item - CurrentForm.cs
Usually in MDI form (where CurrentForm is referred) - CurrentFormToolStripMenuItem_Click event - change reference back to CurrentForm (which is automatically changed to NewForm in step 1).