Click here to Skip to main content
Click here to Skip to main content

.Net Wizard Control

By , 22 Jul 2007
Rate this:
Please Sign up or sign in to vote.

Screenshot from visual studio designer

Screenshot - resim1.jpg

Screenshot from runtime form.

Screenshot from runtime form.

Introduction

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.

Background

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 Wink | ;) .

Please note that code is not thread safe

Points of Interest

History

License

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

Yasin HINISLIOGLU
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 PinmemberGun Gun Febrianza12-Aug-12 5:52 
GeneralGood effort PinmemberNoahPhence22-Mar-09 23:59 
GeneralRe: Good effort PinmemberNoahPhence23-Mar-09 1:34 
GeneralThank you Pinmembermatt higginbotham3-Jan-09 9:49 
GeneralBeginner questions PinmemberJohannekie30-Sep-08 21:33 
GeneralRe: Beginner questions PinmemberYasin HINISLIOGLU30-Sep-08 23:40 
GeneralRe: Beginner questions PinmemberJohannekie1-Oct-08 1:32 
GeneralRe: Beginner questions PinmemberYasin HINISLIOGLU1-Oct-08 1:49 
GeneralRe: Beginner questions PinmemberJohannekie1-Oct-08 3:16 
GeneralRe: Beginner questions PinmemberYasin HINISLIOGLU1-Oct-08 3:25 
GeneralSub-standard PinmemberPatrick Sears22-Jul-07 15:01 
GeneralRe: Sub-standard PinmemberYasin HINISLIOGLU22-Jul-07 20:52 

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

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

| Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 22 Jul 2007
Article Copyright 2007 by Yasin HINISLIOGLU
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid