from VB6 to .Net where's Form_Unload?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to capture the event when someone clicks on the upper right X to close
a form. In VB6, this was Form_Unload. How do you do this in VB.Net?
 
there is an overrides closing sub....look in the left hand dropdown and
choose overrides, then in the right hand column choose onclosing.
 
Les Stockton said:
I want to capture the event when someone clicks on the upper right X to
close
a form. In VB6, this was Form_Unload. How do you do this in VB.Net?

Take a look at the form's 'Closing' event.
 
Back
Top