How to stop the application from restoring?

R

Rithesh

Hello,

I have an application "ABC" which requires the user to enter a pin to
login. This ABC application has multiple forms. The user can switch
to an other application either by using the back button or the "call
end" button - which is normal smartphone behavior. But then when he
clicks on ABC icon, the last screen is restored - which i understand
is also smartphone behavior. My application specifications require
that this should not happen and every time the login screen should
appear. How can i achieve this.

I tried to check for button press events when the "back" or "call end"
buttons were pressed and then do an Application.Exit(), but then these
events are not generated as expected when the focus is on some
controls like textboxes.

I am sure this should be a common problem. Any ideas on how to solve
this would be great. Thanks.

Regards,
Rithesh
 
R

Rithesh

I am developing the application for Windows Mobile 5.0 Smartphone
using .Net CF 2.0
 

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