c# - OnClosing event is not being called when Close, X, button is pressed. Windows Mobile -


I'm new to Windows Mobile and have prepared an app that needs to be cleaned when a form is closed. When I click on the Close in the control box, it does not call the OnClosing event. It works fine in regular windows but my Windows mobile device is not working.

This is my code:

  Protected Override Zero OnClosing (System.ComponentModel.CancelEventArgs e) {...}  

I have not even tried to do this with any luck:

  form. Close + new system ComuneModelCankAventHandler (WindbizzForm_Colling);  

I would appreciate any help you have.

right. The Windows Mobile (X) button is called the "Smart Minimize" button and only reduces the form. Set the property of the property in false and it will change (OK), which will close the form (and will increase the event).

This is why, for this reason, for the explosive details.


Comments