Copy an existing form

C

CAM

Hello,



I am using Visual Basic.Net 2008 I have a form call "frmUnassigned" I would
like to copy this form with a different name "frmAssigned" How can I do
this? Any tips will be appreciated. I still want to retain the
"frmUnassigned", but I want to make additional modification and call the
form "frmAssigned". I don't want to do an inheritance. Thank you in
advance.



Cheers
 
F

Family Tree Mike

CAM said:
Hello,



I am using Visual Basic.Net 2008 I have a form call "frmUnassigned" I
would like to copy this form with a different name "frmAssigned" How can
I do this? Any tips will be appreciated. I still want to retain the
"frmUnassigned", but I want to make additional modification and call the
form "frmAssigned". I don't want to do an inheritance. Thank you in
advance.



Cheers


You can right click the form in the solution explorer, and select copy, then
right click the project and select paste. You will manually have to repair
the class names in the new form and constructors, but that hs only three
places.
 
C

CAM

Thanks Mike I appreciate the tip.


Family Tree Mike said:
You can right click the form in the solution explorer, and select copy,
then right click the project and select paste. You will manually have to
repair the class names in the new form and constructors, but that hs only
three places.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top