Should be simple: frm1 Save As... frm2, but leave frm1 "as is"

I tried to save Form1 as Form2, leaving Form1 "as is" (it's OK whether IDE leaves Form1 in Project or not).

Seems VS.NET merely renames Form1 to be Form2--not what I'm trying to get. (I want to experiment with the UI on Form2, but have Form1 in the directory just in case I prefer the original).



Answer this question

Should be simple: frm1 Save As... frm2, but leave frm1 "as is"

  • AndyMc

    Right click the form, Copy all the code.
    Create a new form in the project, view the code and paste all the code then fix up the name and constructor of the form.

    Let us know if you find a better way.

  • nhaas

    in Solution Explorer, click and hold on Form1, while still holding, hold down control and release on the project itself.  It will copy Form1.  You can rename it and rename the Class.
  • Should be simple: frm1 Save As... frm2, but leave frm1 "as is"