How to handle the form closed event

Gazzo

Freshman
Joined
Dec 31, 1969
Messages
25
Location
Durham, England
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.
 
Perhaps you might want to look at...
Code:
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
 
Back
Top