Microsoft.wizardFramework.dll

xiaoxiao2021-03-17  215

Microsoft.wizardFramework.dll

Have you ever found your self wandering sleepless around in this directory here: "C: Program FilesCommon FilesMicrosoft SharedHelp 8" and stumbled over this assembly here: Microsoft.WizardFramework.dll Yeah right that's the .Net 2.0 Wizard framework, its not documented yet, so Reflector.exe is your best option here (as usual) Here is how I got a descent Wizard to work:. Create an 'inherited Form' that derives from the WizardForm like this: public partial class WizardFrm: Microsoft.WizardFramework.WizardForm { ..... Create some wizard pages, this is best done by creating an 'Inherited User Control' which derives from WizardPage like this: public partial class Page1: Microsoft.WizardFramework.WizardPage {public Page1 (WizardForm wizard): base (wizard ) {INITIALIZECMOMPONENT ();} ..... NOW in the wizardfrm's ctor add your wizardpages like this: public wizardfrm () {initializecomponent (); p1 = new page1 (this); this.addpage (p1); p2 = new Page2 (this); this.addpage (p2); p3 = new page3 (this); this.addpage (p3);}'priVate void WizardFRM_LOAD (Object Sender, Eventargs E) {EnableButton (ButtreamTon (Buttype.Next, True);} invoke Your Wizard from in your app like this: wizardfrm frm = new wizardfrm (); fm.start (); now where design the individual wizardpages set the 'InfoPaSDock'

转载请注明原文地址:https://www.9cbs.com/read-129600.html

New Post(0)