Reputation: 11369
I'd like to implement the prev/next page behaviour for a winforms app like the browser prev/next pages
any existing code samples or guidance on where to start ?
I'd assume this is something already implemented and would not like to reinvent the wheel if possible
If the sample uses scsf/cab, that would be even better
Upvotes: 1
Views: 899
Reputation: 26780
I did this when I wrote an Aero Wizard host. Basically the strategy was to keep a List<T>
of Panel
s that contained each page's controls, and that page Panel
would be docked to a fixed Panel
in the wizard. When the back button was clicked, I just replaced the contents of the host Panel
with the previous Panel
from the List<T>
. And as users move "forward", just add the current page Panel
to the list.
Upvotes: 0
Reputation: 94643
Use TabPane, Panel or any other container control. Show or hide them or use Zorder.
Upvotes: 2