Example #1
0
        public WizardPage2(WizardData wizardData)
        {
            InitializeComponent();

            // Bind wizard state to UI
            this.DataContext = wizardData;
        }
Example #2
0
 void wizardLauncher_WizardReturn(object sender, WizardReturnEventArgs e)
 {
     // Handle wizard return
     this.wizardData = e.Data as WizardData;
     if (this.DialogResult == null)
     {
         this.DialogResult = (e.Result == WizardResult.Finished);
     }
 }