Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

Adding an existing form to a project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve McLellan - 19 May 2004 21:10 GMT
Hi,

Can anyone tell me how I can add an existing (managed) form into a project,
and have it appear like others (i.e. able to open in the designer)?

Thanks!

Steve
Peteroid - 19 May 2004 21:48 GMT
 When you say the Form 'exists' what do you mean? In my managed
applications, forms are created ala:

 Form* myForm = new Form();

 myForm->Width = 640;
 myForm->Height = 320;
 :
 :
 etc.

 So, they don't 'exist' at design time, but only at run time.

 If there is a way to add some file or resource that acts like a form that
can be designed in some visual environment during the design phase, I'd like
to hear about this too... :)

 > Hi,
 >
 > Can anyone tell me how I can add an existing (managed) form into a
project,
 > and have it appear like others (i.e. able to open in the designer)?
 >
 > Thanks!
 >
 > Steve
Steve McLellan - 19 May 2004 22:32 GMT
Yeah, my code runs fine, it's just I'd like to be able to use the designer.
Primarily because I'm extremely lazy :-)  If you create a new Form (through
'Add New Item') it appears ok - I imagine there's some project manifest or
resource list or something to add things to. Otherwise I'll just copy the
code from the file as it is and recreate the form, though that will angry up
my lazy nature.

Steve

>   When you say the Form 'exists' what do you mean? In my managed
> applications, forms are created ala:
[quoted text clipped - 22 lines]
>   >
>   > Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.