On Sun, 13 Jul 2008 06:37:42 -0700, Ronny <ro***@giron.comwrote:
I need to import the Winform GUI from one project to another(with all the
controls).
Is there a simple way to copy&paste it or must I create every control by
hand
As J.W. say, you should be able to just copy/paste. Have you tried that?
That said, you may find that it makes more sense to factor the Form
sub-class out into a separate assembly and then reference it from whatever
projects you want to use it. You can use copy/paste in doing that as
well, but you may find it easier to just create a new empty project, copy
the source .cs files into the new project's directory (don't forget the
Designer file(s)), and then use the "Add Existing Item..." command to add
the source files to your empty project.
If you simply share the Form as a separate assembly, then when you find
and fix a bug while working on one project that uses it, you won't have to
go back and make the same fix to the other project that uses it. :)
Pete