new FORMS from "copy & paste" of OLD forms : why not?

A

arr uba

Hi all,

i'm wondering if, like in any windows based app, the MVC#5 IDE allows "copy
and paste" operations of objects in order to speed up development of forms.

I've created my Template Form, wich is going to be the base form for all new
forms:

- same menu strips,
- same backround image,
- same panels,
- etc.

Doing this should allow me to save some time...but, again, when F5 or F6, I
get the following error:

<< Error 1 The item "obj\Debug\myProject.frmBudgets.resources" was
specified more than once in the "Resources" parameter.
Duplicate items are not supported by the "Resources" pararameter.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CSharp.targets >>

Searching for "template", "copy paste" and alike in MVC#5 help guide does
not...help!

Is there any (I'm sure there is) to bypass this issue? Is there a way copy
and paste forms, without any conflicts with previous forms?

Thanks again for your support.
 
J

Jeff Johnson

i'm wondering if, like in any windows based app, the MVC#5 IDE allows
"copy and paste" operations of objects in order to speed up development of
forms.

Are you talking about Visual Studio 2005 (VS 2005)? Because I've never seen
anyone use MVC#5.

If so, then yes, you can copy controls from form to form, but the code
linked to those controls (event handlers) does not automatically get copied.
 
J

Jeff Johnson

i'm wondering if, like in any windows based app, the MVC#5 IDE allows
"copy and paste" operations of objects in order to speed up development of
forms.

Are you talking about Visual Studio 2005 (VS 2005)? Because I've never seen
anyone use MVC#5.

If so, then yes, you can copy controls from form to form, but the code
linked to those controls (event handlers) does not automatically get copied.
 
A

arr uba

Hi Jeff,

I'm using Visual C # Express 2005 and, yes, I can copy forms but the code is
not "updated" to the new form, keeping references from the original form,
and conflicting.

Is there any working around...except from starting with a blank form?

Thanks.
 
A

arr uba

Hi Jeff,

I'm using Visual C # Express 2005 and, yes, I can copy forms but the code is
not "updated" to the new form, keeping references from the original form,
and conflicting.

Is there any working around...except from starting with a blank form?

Thanks.
 

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