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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top