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
|
|
@ -40,11 +40,16 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public SetupWizardTroubleshooting()
|
||||
{
|
||||
this.WindowTitle = "Troubleshooting".Localize();
|
||||
|
||||
RefreshStatus();
|
||||
|
||||
//Construct buttons
|
||||
cancelButton = whiteImageButtonFactory.Generate("Cancel".Localize());
|
||||
cancelButton.Click += (s, e) => UiThread.RunOnIdle(this.WizardWindow.ChangeToPage<AndroidConnectDevicePage>);
|
||||
cancelButton.Click += (s, e) => UiThread.RunOnIdle(() =>
|
||||
{
|
||||
this.WizardWindow.ChangeToPage<AndroidConnectDevicePage>();
|
||||
});
|
||||
|
||||
//Construct buttons
|
||||
nextButton = textImageButtonFactory.Generate("Continue".Localize());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue