[.net] On Close event
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?
Lol, I'm pretty sure its' OnClose, or OnExit or something. You could overload the dispose function too.
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
Popular Topics
Advertisement