Link to home
Start Free TrialLog in
Avatar of rajesh_khater
rajesh_khater

asked on

How to create a copy of a form in the same project?

How to create a copy of a form in the same project and rename it?

I copied a form and pasted it in the same project. Then I renamed the file name from the Visual Studio IDE. I also changed the form class name.

While compiling, I get this error:
The item "obj\Release\CommissionAgent.frmAllTaluks.resources" was specified more than once in the "Resources" parameter.  Duplicate items are not supported by the "Resources" parameter.

What should I do?
ASKER CERTIFIED SOLUTION
Avatar of DotNetThinker
DotNetThinker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did you change the class nema in designer too?

Goran
Avatar of Gautham Janardhan
Gautham Janardhan

u could also use inheritance

instead of inheriting from Windows.Form u can specify ur other form there