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 / Windows Forms / WinForm General / March 2007

Tip: Looking for answers? Try searching our database.

Creating a multi-page project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff - 15 Mar 2007 23:54 GMT
I come from the asp world where I'm used to developing web pages.  I have
just taken a new job where they want me to be a winform developer.  I am
presently creating a project that will have about 12-16 differnt pages.  What
is the best way to develop the project.  I could show each page in a
different panel, but that seems crazy.  So Whats the best way to open and
close the pages when navigating.

Something like:    
       Form2 mynewform = new Form2();
       mynewform.ShowDialog();
       this.Hide();
Then if I'm on form3 do I need to create it again, or is there a way to just
show it since I hid it before?
    Form1 mynewform = new Form1();
               mynewform.ShowDialog();
    this.Hide();
I guess I'm trying to find a good article creating a winform app with
several pages, navigating through forms, opening, closing and finally
disposing the project.

Thanks for any help.
  -Jeff-
VJ - 16 Mar 2007 14:42 GMT
You  could organize as a MDI application, and provide links from the MDI, to
open all these pages.. Gives a controlled environment

VJ

>I come from the asp world where I'm used to developing web pages.  I have
> just taken a new job where they want me to be a winform developer.  I am
[quoted text clipped - 20 lines]
> Thanks for any help.
>   -Jeff-
Bryan Phillips - 16 Mar 2007 21:42 GMT
Take a look at the Smart Client Software Factory for some examples of
Windows Forms best practices:

http://www.codeplex.com/smartclient

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> I come from the asp world where I'm used to developing web pages.  I have
> just taken a new job where they want me to be a winform developer.  I am
[quoted text clipped - 18 lines]
> Thanks for any help.
>    -Jeff-

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.