first post here. I have a relatively bad question - but I'm new to this so bear with me.
I'm writing a simple app for a friend to track some daily problems/behaviors for reporting purposes. I was trying to use almost a wizard style, but the wizard examples I found were either needlessly complex or antiquated.
What I have is a Windows form with - for arguments sake - 5 panels, stacked on top of each other. Each panel contains a different set of controls (I wasn't able to completely re-use all of them or go in a 'template' direction). Below the panels are 3 buttons - Cancel, Back, Next.
All I want to be able to do is navigate between the panels with the Next and Back buttons. i.e. When I click 'Next', the click event sets the variable values from panel A, and then hides it and loads panel B, then Next sets the values for B and loads C and so on.
I thought I could do this with some sort of array or list of objects, but I'm not really sure the best way to go about it. I asked in another forum, and the only answer I got was to add the buttons to the panel and have them be specific to bringing forms front and back. That seems awfully inefficient and I know there's a better way to do it. Can you guys shed some light on this?