Solved

Switching between Windows forms (SDI, Wizard app)

Posted on 2003-11-08
3
745 Views
Last Modified: 2010-04-16
I want to create a wizard like C# application where the user has to go thru 7 steps and fill in some data or choose from a list of options.

Each form looks different, has a a specific menu, and has a Next and Back button on it. The user should be able to navigate back and forward at any time, in other words, the data already entered should still be available (either stored or in a hidden form).

I have already created the seven forms with all the controls and menues on it. The only thing I'm missing is the code in the click events to navigate between the forms. I don't know how to do this to achieve what I want. What is the best way to do this?

I've tried several things, but the results were not satisfying. Either I've got the next form in a new window (finally ending up with 7 stacked windows, showing the others if the user moves the top window) and/or I lost the data already entered or I didn't find a way to access the previous/next form.

What I would like to have, is just ONE application window with just one form (and menue) that changes if the user clicks on the Next or Previous buttons. Tell me if I need to change my mind and look different on it.

Peter
0
Comment
Question by:pgloor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9707654
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 250 total points
ID: 9707661
http://www.codeproject.com/cs/miscctrl/ak_wizard.asp

There are number of other Wizards, but these two have a high rating and should be good.
0
 
LVL 5

Author Comment

by:pgloor
ID: 9707860
Thanks. It's what I've been looking for. I'm visiting CodeProject quite often and actually looked there first, but haven't found the two examples myself because I've been searching for the wrong keywords.

Peter
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question