I’d like to run a dialog form when Rhino is closed.
Currently I’m using the
However, this takes a couple of seconds to fire after the Rhino window has been closed.
I notice Grasshoppers ‘You have unsaved documents’ dialog popping up instantaneously after the Rhino window disappears.
I tried using the
Rhino.UI.RhinoEtoApp.MainWindow.Closing event but that does not seem to fire. Is there any other event that I could use?
Any help would be greatly appreciated!