difference between MyBase.Closing and MyBase.FormClosing

  • Thread starter Thread starter Academic
  • Start date Start date
A

Academic

I read the Help and some of the many Google hits I got but can't find out
the difference between MyBase.Closing and MyBase.FormClosing


Can anyone tell me?




Thanks
 
Academic said:
I read the Help and some of the many Google hits I got but can't find out
the difference between MyBase.Closing and MyBase.FormClosing


Can anyone tell me?

The Closing event is deprecated in .Net 2.0 and is provided for
backwards compatibility. You should use FormClosing from now on.
From the docs:

"The Closing event is obsolete in the .NET Framework version 2.0; use
the FormClosing event instead."


Chris
 
Thanks, I read the Help but didn't dig enough to find the CloseReason
Enumeration

Jay, I wish you'd look at my other post. I find that if I have a MDI form
open, and also a non-MDI non-MDI-Child Form open and close the app (by
clicking the X button) the non-MDI non-MDI-Child Form does not get a
FormClosing event.


Thanks again

PS By "non-MDI non-MDI-Child Form " I mean a regular run-of-the-mill form
 
Back
Top