Click here to Skip to main content
14,365,424 members

.Net Wizard Control

Rate this:
3.88 (19 votes)
Please Sign up or sign in to vote.
3.88 (19 votes)
22 Jul 2007
This article is about creating wizard style user interface

Image 1

Screenshot from visual studio designer

Screenshot - resim1.jpg

Screenshot from runtime form.

Image 3

Screenshot from runtime form.


Recently I decided to use Wizard Style user interface for my .Net project. Before implementing my own control I have searched the web. I found very useful controls. But most of them are very complex for that type user interface operation. Although I found most of them successful, decided to use none of them. Because most of this controls limits the way I design my own application. So I decided to write my own control. The control I create should give freedom for following clauses to developer

  • Developers may be able to design each wizard page visually.
  • Developers may be able to design, position, draw etc. next, previous and finish buttons.
  • Developers may be able to validate inputted data after each step.
  • Must be very easy to use.

In this article I will try to explain my aproach to Wizard Style user interface control which handles all these clauses. This control is built on Windows.Forms.Panel control.

A few years ago I have designed a software project. After having it worked for a few weeks, I have encoutered that collected data is not coming (to our servers) correct. In order to see what is wrong, I have worked with one of my end users. I have collected invaluable data after working with him. Also this action helped me to find the main reason of this mistake. The reason of mistake was fault of user interface. The data collected inside the form was very much, and this causes end user to make mistakes. If the user is not experienced computer user, the probability of making mistake increases rapidly. A little distraction might cause to input missing information. So that I have started to research a different way to receive input from users.

After research I have decided to use Wizard Style user interface. I broke information into pieces. In each step the application received input and validated it. That solved our problem. For this project I did use Visual Basic 6.0. It was not very easy to implement that type of user interface. By the way since then I am trying to use Wizard Style user interface in order to receive input if applicable.


Using the code

We have two main functions on this control. A function for stepping next user interface and for stepping previous user interface. Also we have two main events. An event that user stepped next user interface, and an event for user stepped previous user interface.

We will use functions to let control navigate through user interfaces. We will use events to validate data that user inputted in each step. That's all simple.

I beleive the codes are very straight forward ;).

Please note that code is not thread safe

Points of Interest



This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Software Developer
Turkey Turkey
Yasin has more than 10 years of professional experience. He has several published articles includes graphics programming, robotics and application development in academic resources and national press. He is now working as a software developer for semi-governmental organization in Turkey.

Comments and Discussions

GeneralMy vote of 5 Pin
Arkitec27-Mar-18 14:53
professionalArkitec27-Mar-18 14:53 
GeneralMy vote of 5 Pin
Gun Gun Febrianza12-Aug-12 6:52
member Gun Gun Febrianza12-Aug-12 6:52 
GeneralGood effort Pin
NoahPhence23-Mar-09 0:59
memberNoahPhence23-Mar-09 0:59 
GeneralRe: Good effort Pin
NoahPhence23-Mar-09 2:34
memberNoahPhence23-Mar-09 2:34 
GeneralThank you Pin
matt higginbotham3-Jan-09 10:49
membermatt higginbotham3-Jan-09 10:49 
GeneralBeginner questions Pin
Johannekie30-Sep-08 22:33
memberJohannekie30-Sep-08 22:33 
GeneralRe: Beginner questions Pin
Yasin HINISLIOGLU1-Oct-08 0:40
memberYasin HINISLIOGLU1-Oct-08 0:40 
GeneralRe: Beginner questions Pin
Johannekie1-Oct-08 2:32
memberJohannekie1-Oct-08 2:32 
GeneralRe: Beginner questions Pin
Yasin HINISLIOGLU1-Oct-08 2:49
memberYasin HINISLIOGLU1-Oct-08 2:49 
GeneralRe: Beginner questions Pin
Johannekie1-Oct-08 4:16
memberJohannekie1-Oct-08 4:16 
GeneralRe: Beginner questions Pin
Yasin HINISLIOGLU1-Oct-08 4:25
memberYasin HINISLIOGLU1-Oct-08 4:25 
GeneralSub-standard Pin
Patrick Etc.22-Jul-07 16:01
memberPatrick Etc.22-Jul-07 16:01 
GeneralRe: Sub-standard Pin
Yasin HINISLIOGLU22-Jul-07 21:52
memberYasin HINISLIOGLU22-Jul-07 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Posted 22 Jul 2007


24 bookmarked