Hi,

In vb6 I used QueryUnload event to determine how the form was being closed. I could act depending on the argument's value.

Is there an equivalent in VB.NET?

I know there is Closing event buy that doesn't indicate how the form is being closed.

Thanks,