Unload, Closing event???

Audax321

Regular
Joined
May 4, 2002
Messages
90
I have code I need run when the user closes the application. From what I understand vb.net has a mybase.closing event. So, I have my code set to first call mybase.close() and then Application.exit()

So mybase.close should call the closing event right?

Well, the main problem I have is where is the closing event? Does anyone know where I should put this code I need run?

Thanks..
 
It's an event of the form, when in the code window select Base Class Events from the left-hand dropdown and Closing will be in the right-hand dropdown.
 
Back
Top