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

@ -14,6 +14,8 @@ namespace MatterHackers.MatterControl.AboutPage
{
AnchorAll();
this.WindowTitle = "Check for Update".Localize();
var theme = ApplicationController.Instance.Theme;
FlowLayoutWidget topToBottom = new FlowLayoutWidget(FlowDirection.TopToBottom);

View file

@ -126,7 +126,7 @@ namespace MatterHackers.MatterControl
if (!UserSettings.Instance.IsTouchScreen)
{
#if !__ANDROID__
UiThread.RunOnIdle(() => WizardWindow.Show<CheckForUpdatesPage>("/checkforupdates", "Check for Update"));
UiThread.RunOnIdle(() => WizardWindow.Show<CheckForUpdatesPage>());
#endif
}
}