<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx</link><description>See Also: Article 1 in this series: Article 1 in a series about WinForms Wizards: The fastest Wizard in the West. Article 2 in this series: You're looking at it. Article 3 in this series: Adding Named Panel Navigation to the WizardController Article 4</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#208950</link><pubDate>Thu, 05 Aug 2004 14:57:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:208950</guid><dc:creator>Nick Codignotto</dc:creator><author>Nick Codignotto</author><description>Hi!&lt;br&gt;&lt;br&gt;I took your code and all I did was change all instances of &amp;quot;Panel&amp;quot; to &amp;quot;Control&amp;quot;. I had to add a parameterless ctor() to my designer-friendly Control-derived class, but now I can design &amp;quot;panels&amp;quot; (controls, really) in the designer and create a wizard with ease.&lt;br&gt;&lt;br&gt;I even created a WizardPanelBase so my Wizard panels (controls, really... I have to come up with better names), look like this using partial classes in C# 2.0:&lt;br&gt;&lt;br&gt;public partial class WelcomePanel : WizardPanelBase&lt;br&gt;{&lt;br&gt;    public WelcomePanel() : base()&lt;br&gt;    {&lt;br&gt;        InitializeComponent();&lt;br&gt;    }&lt;br&gt;}&lt;br&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=208950" width="1" height="1"&gt;</description></item><item><title>re: A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#112736</link><pubDate>Wed, 14 Apr 2004 01:49:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:112736</guid><dc:creator>Justin Rogers</dc:creator><author>Justin Rogers</author><description>Yep, with the current framework there isn't any reason you can't use Inherited Controls (to inherit from Panel).  Not having time to test how easy this would be I chose not to throw it out there.&lt;br&gt;&lt;br&gt;Since people really want designability, I'll mark that as my next article and talk about how to make this framework truly designable.  Perhaps using UserControl's, perhaps using some other feature.&lt;br&gt;&lt;br&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=112736" width="1" height="1"&gt;</description></item><item><title>re: A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#112728</link><pubDate>Wed, 14 Apr 2004 01:34:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:112728</guid><dc:creator>Roger Heim</dc:creator><author>Roger Heim</author><description>Wouldn't UserControls give you the best of both worlds?  You would get the benefit of designability and avoid the problem with forms being closed.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=112728" width="1" height="1"&gt;</description></item><item><title>re: A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#112558</link><pubDate>Tue, 13 Apr 2004 20:37:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:112558</guid><dc:creator>Justin Rogers</dc:creator><author>Justin Rogers</author><description>I was hoping someone would point this out.  Form navigation does have the benefit of being designable, but at a pretty large cost.  The size, location, and navigation UI all have to be replicated in some form or another.  Of course you could use the reverse theme that each panel support a UI root where the navigation could be tossed into.&lt;br&gt;&lt;br&gt;The biggest issue with form wizards is that you lose the forms on the back-end if the get closed.  You see, it is easy to Close a form.  They provide UI for it even.  However, it isn't easy to Close a panel and so you are pretty much ensured that your panel with the controls that contain your data will be there.&lt;br&gt;&lt;br&gt;That brings us back to designability.  The only true designability would be to implement our own designer.  That is for both Wizard Forms and the Panels.  That might be something I get to in the article series.  Another option is to write generic layout code that follows the design guidelines from MS for wizards and dialogs.  Not even the WinForms designer does this for you, with it's goofy grid system.  You'd have to manually type the stuff in or be a diligent drag and drop artist.&lt;br&gt;&lt;br&gt;I think this layout designer might be just what is needed for the panels.  As for the Form, you can design that in VS (I'll pop out a better version for the 4th article) if you'd like.&lt;br&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=112558" width="1" height="1"&gt;</description></item><item><title>re: A slightly better WinForms wizard, and slightly more work.</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#112481</link><pubDate>Tue, 13 Apr 2004 18:42:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:112481</guid><dc:creator>Shane O'Dell</dc:creator><author>Shane O'Dell</author><description>One thing about adding panel navigation instead of a series of forms is that I don't see a good way to use the VS Designer to create the different panels. Any thoughts on this?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=112481" width="1" height="1"&gt;</description></item><item><title>Developing a Windows Forms Wizard...</title><link>http://weblogs.asp.net/justin_rogers/pages/111146.aspx#111324</link><pubDate>Mon, 12 Apr 2004 02:28:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:111324</guid><dc:creator>TrackBack</dc:creator><author>TrackBack</author><description>&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=111324" width="1" height="1"&gt;</description></item></channel></rss>