The form_QueryUnload event is no longer supported in .NET.
In VB6, you could determine which method the user had used to exit the form.
eg. If UnloadMode = vbFormControlMenu Then
............... etc
(UnloadMode was passed by the QueryUnload event).
the user had exited by clicking on the X at the top right.
How is this done in .NET?
