Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi can anybody help please?

 

I am using Notepad to develop vb.net applications, due to the fact that my employer is all too keen to work towards .NET but wont get their finger out to get Visual Studio.NET :-(

 

Anyway thats another story, my question is:

 

How do I handle the form closed event. I understand how to handle the button click events etc, but not the form closed event.

 

Any advice would be much appreciated.

 

Cheers,

Gazzo.

  • *Gurus*
Posted

Perhaps you might want to look at...

Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
'Can cancel this one
End Sub
'or
Private Sub Form1_Closed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Closed
'...
End Sub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...