Click here to Skip to main content
16,003,243 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Everyone,

I am working with win-form and I want to place a next previous button on the form, same like the button's we see at time of installing any software (<<Back>> <<Next>>)
I actually want to navigate user to next form without any hiding and opening of form on the same window....

Problem Image


Link: https://www.dropbox.com/s/750xvmmwt4zzvq0/Problem_Image.jpg
Posted
Updated 25-Jul-12 19:30pm
v3

This is easily done. The obvious way to do it, is to create controls, put them in a list, and then iterate over them with the pressing of the button. That is, a user control for each step of your wizard.
 
Share this answer
 
Comments
MustafaIqbal 16-Aug-12 2:46am    
which list? can you please define in dept?
Christian Graus 16-Aug-12 13:23pm    
A list you create, in your own code. A list of controls, so a list of Control or, better, a base class you define
Have a look at this interesting article - IUIs and Web-Style Navigation in Windows Forms, Part 1[^]. It should help you (if this is what you are looking for).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900