?
Solved

Switching between Windows forms (SDI, Wizard app)

Posted on 2003-11-08
3
Medium Priority
?
748 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 750 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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