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

  • Thread starter Thread starter arr uba
  • Start date Start date
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.
 
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.
 
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.
 
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.
 
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.
 
Back
Top