Software Development Network>> VS Express Editions>> Windows.Forms.Form.Closed event
The Closing and Closed events have been superceded by the FormClosing and FormClosed events.You shouldn't need to call Me.Dispose when the FormClosed (or Closed) events fire if you dispose of the Form correctly:If Form.Show is used and the form is closed, you do not need to dispose of the form.If Form.ShowDialog is used and the form is closed, you do need to dispose of the form.I have actually discussed this at length here:http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138424&SiteID=1
Windows.Forms.Form.Closed event
Wenlong.Dong
This is the kind of answer I appreciate.
Reading the post you are referring to, I can see that the subject is very complicated.
Drew Burlingame
The Closing and Closed events have been superceded by the FormClosing and FormClosed events.
You shouldn't need to call Me.Dispose when the FormClosed (or Closed) events fire if you dispose of the Form correctly:
If Form.Show is used and the form is closed, you do not need to dispose of the form.
If Form.ShowDialog is used and the form is closed, you do need to dispose of the form.
I have actually discussed this at length here:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138424&SiteID=1