Determine if X Button was Clicked

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
 
T

Tim Wilson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top