Revise WizardWindow api

- WizardPage instance should drive window namespace and title
- Key open windows page initial WizardPage type
This commit is contained in:
John Lewin 2017-08-23 15:51:29 -07:00
parent c27b6ec62d
commit 559c300cb4
32 changed files with 113 additions and 55 deletions

View file

@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl.ActionBar
selectPrinterButton.Margin = defaultMargin;
selectPrinterButton.Click += (s, e) =>
{
WizardWindow.Show<SetupOptionsPage>("/SetupOptions", "Setup Wizard");
WizardWindow.Show<SetupOptionsPage>();
};
resetConnectionButton = buttonFactory.Generate("Reset".Localize().ToUpper(), AggContext.StaticData.LoadIcon("e_stop.png", 14, 14));