예제 #1
0
        public static void ShowWizard(WizardBase wizard, double width = 800, double height = 800, bool DoNotShowAsDialog = false)
        {
            WizardWindow wizardWindow = new WizardWindow(wizard);

            wizardWindow.Width  = width;
            wizardWindow.Height = height;

            if (DoNotShowAsDialog)
            {
                wizardWindow.Owner = App.MainWindow;//adding owner so it will come on top
                wizardWindow.Show();
            }
            else
            {
                wizardWindow.ShowDialog();
            }
        }
예제 #2
0
 private void CloseWizard()
 {
     mWizard.mWizardWindow = null;
     this.Close();
     CurrentWizardWindow = null;
 }