[.net] On Close event

Started by
2 comments, last by DaWanderer 18 years, 10 months ago
Im working with visual basic and udpclients, this is pretty newbish of me for not knowing how to do this in dotnet, but when the form is closed i need it to release the port whats the on close event for forms?
-----------------www.stevemata.com
Advertisement
Lol, I'm pretty sure its' OnClose, or OnExit or something. You could overload the dispose function too.
"All I want to know is who the man is that looked at a cow and said "I think I'll drink whatever comes out of those things when I squeeze them."Calvin and Hobbes
well i used the evil end key
-----------------www.stevemata.com
I'd use the OnClosing event instead. It also allows you to veto the close if you need to.

This topic is closed to new replies.

Advertisement