Close Win Form

G

George Ivanov

hi,
I want to close C# Win Form application for Pocket PC, only by pressing
[X]. On the device pressing [X] closes the window, but the application
is still active.
How can I catch the click event for [X] button and close the
application?
 
T

Tim Wilson

With Pocket PC, the "X" on the title bar is known as the "smart minimize"
button. It does not close your application, it simply minimizes it into the
background. Try setting the Form's MinimizeBox property to false. You should
see a button that says "OK" instead of the "X". Tapping "OK", on the main
Form, will close your application.
 

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