* "Lester Botello" <le*****@hotmail.com> scripsit:
What about "Application.Exit()"? For example, if you have an MDI form with
three MDIChildren open inside it and you choose "Exit" from a menu in your
MDI form...
Did you read the documentation for 'Application.Exit'?
<msdn>
CAUTION The Form.Closed and Form.Closing events are not raised when
the Application.Exit method is called to exit your application. If you
have validation code in either of these events that must be executed,
you should call the Form.Close method for each open form individually
before calling the Exit method.
</msdn>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>