Fixed the Macros window to cancel on user closes with the X windows button.

Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
This commit is contained in:
Lars Brubaker 2017-02-03 13:06:08 -08:00
parent 3d93b6e857
commit 8134b3f450
82 changed files with 191 additions and 127 deletions

View file

@ -1155,7 +1155,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
}
}
public override void OnClosed(EventArgs e)
public override void OnClosed(ClosedEventArgs e)
{
UnHookWidgetThatHasKeyDownHooked();