Is there a way I can catch that the MainWindow is closing? ie: when the user has quit the application using Alt-F4 etc?

Jul 4, 2013 at 2:13 PM
Is there a way I can do this? I want to be able to warn the user that the application is closing at that any unsaved data will be lost.
Jul 4, 2013 at 9:15 PM
Nothing special here, use the Closing event.