Revise WizardWindow api
- WizardPage instance should drive window namespace and title - Key open windows page initial WizardPage type
This commit is contained in:
parent
c27b6ec62d
commit
559c300cb4
32 changed files with 113 additions and 55 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue