Solved

Switching between Windows forms (SDI, Wizard app)

Posted on 2003-11-08
3
740 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
  • 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now