Click here to Skip to main content
15,914,255 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
Hi Guys,
I've been looking for method by which i could place back and forward buttons in my c# winforms application. I want that those buttons could make my screen as it was previously.
Regards,
Akkywadhwa
Posted
Comments
ZurdoDev 26-Mar-12 16:41pm    
What do you have so far? You'll have to write code to do this.
[no name] 26-Mar-12 18:54pm    
Your question does not make much sense. Are you thinking about a wizard type of thing?
Nelek 26-Mar-12 19:23pm    
Are you actually talking about "undo" and "redo" ???

If you are talking about undo, redo, then there are some articles to look at. This does not come for free.
A simple framework for adding undo/redo support[^]
 
Share this answer
 
Comments
Akkywadhwa 26-Mar-12 22:31pm    
Hi Nelson,
Actually I want those buttons to work in the given case.
Case:
Previously 2 textboxes were displayed on screen but now on clicking of a button 2 more textboxes are being displayed and now when i press back button it should come to its previous stage i.e should display 2 textboxes only.
Regards,

Akkywadhwa
Maybe you should consider WPF. Have an List of ViewModels, and add to the array as you move. That way just have to move the DataContext through the List. The ViewModel can control an awful lot of attributes.
 
Share this answer
 
Comments
Akkywadhwa 27-Mar-12 6:48am    
Nelson I want them as you use to see in windows's tilebar and they must show adress in any textbox or other control.
Please see the below link for related image.
link:http://db.tt/BYxDYG9J
Akkywadhwa

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