Restore Cancel button

This commit is contained in:
John Lewin 2019-02-17 23:07:36 -08:00 committed by jlewin
parent 5709caff91
commit ac9a0df5d3

View file

@ -73,16 +73,16 @@ namespace MatterHackers.MatterControl
public async override void OnLoad(EventArgs args)
{
// Replace with calibration template code
await templatePrinter.PrintTemplate(verticalLayout: true);
await templatePrinter.PrintTemplate(verticalLayout: false);
if (!this.HasBeenClosed)
{
this.NextButton.Enabled = true;
}
base.OnLoad(args);
// Replace with calibration template code
await templatePrinter.PrintTemplate(verticalLayout: true);
await templatePrinter.PrintTemplate(verticalLayout: false);
}
public override void OnClosed(EventArgs e)