Guest kepster Posted March 30, 2006 Report Posted March 30, 2006 Hi, I'm attempting to develop a Smartphone application (Wm2003 at present) that features a Timer counting down which can be started & stopped by the user pressing a button on the phone's keypad (probably the left soft key) & displays the time on the screen. I've found an example of how this can be done in the "proper" .Net, >>LINK<<, but that doesn't work in the compact framework. Can anyone show me an example of how to do this sort of thing? Thanks in advance, Matt
Guest rogueqd Posted April 6, 2006 Report Posted April 6, 2006 (edited) Start() { timer1.Enabled = true; } Stop() { timer1.Enabled = false; } Although I'm not sure if restarting will resume in the middle of an interval or not. Edit: For the sounds you'll need to use OpenNETCF Edited April 6, 2006 by rogueqd
Guest Tech Posted May 12, 2006 Report Posted May 12, 2006 you can use sounds in .NET CF 2.0 using the media namespace or making low level calls to mscorlib ;) when you stop() the timer the interval does reset
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now