This post originated from an RSS feed registered with .NET Buzz
by Duncan Mackenzie.
Original Post: Developing a Windows Forms Wizard...
Feed Title: Code/Tea/Etc...
Feed URL: /msdnerror.htm?aspxerrorpath=/duncanma/rss.aspx
Feed Description: Duncan is the Visual Basic Content Strategist at MSDN, the editor of the Visual Basic Developer Center (http://msdn.microsoft.com/vbasic), and the author of the "Coding 4 Fun" column on MSDN (http://msdn.microsoft.com/vbasic/using/columns/code4fun/default.aspx). While typically Visual Basic focused, his blogs sometimes wanders off of the technical path and into various musing of his troubled mind.
I have to admit that I haven't developed a "wizard" framework yet in .NET, I've just been stacking panels on top of each other, naming them step1...stepN and then showing and hiding them as necessary. Not exactly an easy-to-reuse approach, but it works. Justin Rogers, a developer who has worked on the GDN Workspaces system, the ASP.NET forums, Terrarium and more... has released an article on his blog that details a structured approach to create a Windows Forms Wizard:
Abstract: I commented that there were some optimizations we could make to the basic wizard described in my previous article Make a Wizard faster than you can take a Wiz. The primary items of interest were getting rid of the custom message pump, which shouldn't be too hard, and wondering if we could add in some validation logic. I'm going to take an intermediate step before I get to the validation logic and clean up the look of the UI using an extra layer of abstraction from the original dialog only design.