C# compact framework exit doesn't really terminate

  • Thread starter Thread starter Daniel Passwater via DotNetMonster.com
  • Start date Start date
D

Daniel Passwater via DotNetMonster.com

I'm working on my first app on a PDA in C#. My problem is that when exited using the X in the upper right corner of the window, it returns to the same state when the app is restarted. In other words, it bypasses the login. If my Close button is used there is no problem. Is there a way to controll what happens when the X is used to exit?


Thanks in advance for any help.

Daniel
 
Daniel Passwater via DotNetMonster.com said:
I'm working on my first app on a PDA in C#. My problem is that when
exited using the X in the upper right corner of the window, it
returns to the same state when the app is restarted. In other words,
it bypasses the login. If my Close button is used there is no
problem. Is there a way to controll what happens when the X is used
to exit?

If you set the MinimizeButton property (or something similar - I can't
remember exactly what it's called) of the form to False, it'll turn
into "OK" which will close the app.
 
Back
Top