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

  • Thread starter Thread starter pmetz
  • Start date Start date
P

pmetz

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!
 
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?


--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
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.
 
Back
Top