Remove named methods from WizardWindow, switch to ChangeToPanel<T>

This commit is contained in:
John Lewin 2016-06-07 17:23:41 -07:00
parent 6d827a238a
commit 3352c63635
9 changed files with 36 additions and 116 deletions

View file

@ -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);