You can hook into the "Closing" event of the Form. If you're looking to
specifically know when the Form has been closed due to the user clicking the
"X", then I believe that this has been covered and so should be accessible
through the google archives. So if you search around on the dotnet related
newsgroups then you should be able to find an answer, if necessary.
http://groups-beta.google.com/advanced_search
--
Tim Wilson
..Net Compact Framework MVP
"John Smith" <oh******@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP15.phx.gbl...
Hello all:
Is there anyway to find out if the user clicked on the upper right x?
Any events that are invoked?
Thanks,
John