Remove named methods from WizardWindow, switch to ChangeToPanel<T>
This commit is contained in:
parent
6d827a238a
commit
3352c63635
9 changed files with 36 additions and 116 deletions
|
|
@ -46,7 +46,7 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
|
|||
connectButton.Click += ConnectButton_Click;
|
||||
|
||||
refreshButton = textImageButtonFactory.Generate("Refresh".Localize());
|
||||
refreshButton.Click += (s, e) => WizardWindow.ChangeToSetupComPortManual();
|
||||
refreshButton.Click += (s, e) => WizardWindow.ChangeToPanel<SetupStepComPortManual>();
|
||||
|
||||
//Add buttons to buttonContainer
|
||||
footerRow.AddChild(nextButton);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue