Problem catching the closing event

O

okaminer

Hi

Hi when working in debug mode on the emulator the code never get in
side the form closing event.
I thought that if I put frm.dispose() or frm.Close() in the form
closing event then the problem will go away but the code never get
there when I close it

more than that is when I install the program on the PDA and run the
program the forms never get disposed even after I close them. example
after closing all the forms and opening the application again it
doesn't open in the logon page (my first page) but it opens one of the
forms that I have opened in my last run

please help
I am using
Microsoft Pocket PC 2003 SDK.
Windows Mobile 2003 Second Edition Developer Resources.
Windows Mobile 2003 Second Edition Emulator Images for Pocket PC.
..NET Compact Framework 1.0 SP3 Redistributable.
 
C

Chris Tacke, eMVP

Are you sure you're closing the Forms? If the (X) is in the upper corner,
it's only a minimize. Set the MinimizeButton property to False to get it to
say (ok), which is a Close.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
O

okaminer

Thanks a lot you're the greatest
I've been busting my ass on this for 2 days
my god thank you very much
 

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