Determine if X Button was Clicked

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

Hello all:

Is there anyway to find out if the user clicked on the upper right x?
Any events that are invoked?

Thanks,

John
 
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
 
Back
Top