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

            // Bind wizard state to UI
            this.DataContext = wizardData;
        }
示例#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);
     }
 }