I am looking to create a wizard looking form but I think more complicated then your typical wizard. Currently I have 5 panels with diffrent items on each panel. Although the panels that are displayed are not always the same. On the first panel there is a combobox and depending on the index I want specific panels to be displayed. (they will always be displayed in the same order, atleast the visible ones).
So what I am really asking is how to program the next & previous button if the panel to follow is not the same all the time. So for example if the combobox's selected index = 1 then PanelPatient, PanelFire, PanelNarrative, PanelFinal is displayed. Although if the selected index = 2 then PanelPatient, PanelNarrative, and PanelFinal is only displayed.
Panels (In the order they would be displayed):
PanelGeneral (Always the starting panel)
Thanks a lot!