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 2006

Tip: Looking for answers? Try searching our database.

how do I navigate between forms in J#???

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pmetz - 10 Mar 2006 01:19 GMT
I have several Windows Forms that are supposed to work as one
application.  The welcome Form is designed as a main menu, with several
buttons detailing navigation choices.  The other Forms are designed to
be the end points of the navigation buttons.  My question is, what code
do I use that will allow the user to click a button and be directed to
the desired Form?

Any help would be greatly appreciated!
Thanks to anyone who responds!
Lloyd Dupont - 10 Mar 2006 02:56 GMT
I'm a bit confused by your description my self.

You said Windows Form?
So it's a desktop application, right?

Why don't you use menus?
And if you absolutely have many form with a first form being your
"choice/menu" form, why not simply calling new / show() in the click event
handler?
If each form should be a singleton what about having a public static MyForm
Share() method/property?

In fact it's hard to help you as it's hard to find any problem in your
description.... what's the problem exactly?

Signature

Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>

>I have several Windows Forms that are supposed to work as one
> application.  The welcome Form is designed as a main menu, with several
[quoted text clipped - 5 lines]
> Any help would be greatly appreciated!
> Thanks to anyone who responds!
pmetz - 11 Mar 2006 03:39 GMT
Firstly, thank you for your response.

My problem is that I'm a novice at .Net and J#, so I'm not sure what
code to use.  Let me try to explain my situation more clearly...

To answer one of your questions, this is a desktop application.  The
initial form is a main menu, with several buttons that, when clicked,
are intended to open another form in the application.  For instance,
there is an "Administration" button that should open an Administration
menu form;  there is another button entitled "Data Entry" that should
open a Data Entry menu form.  I have designed all the individual forms
for the application, but I don't know the code to use in the click
event handlers that will result in the desired form to be opened after
a particular button is clicked.

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.