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

@ -71,7 +71,10 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
{
if (!ProfileManager.Instance.ActiveProfiles.Any())
{
UiThread.RunOnIdle(WizardWindow.ChangeToPage<SetupStepMakeModelName>);
UiThread.RunOnIdle(() =>
{
WizardWindow.ChangeToPage<SetupStepMakeModelName>();
});
}
else
{