• Advertisement
Sign in to follow this  

[.net] On Close event

This topic is 4622 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Lol, I'm pretty sure its' OnClose, or OnExit or something. You could overload the dispose function too.

Share this post


Link to post
Share on other sites
I'd use the OnClosing event instead. It also allows you to veto the close if you need to.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement