Jump to content

Recommended Posts

Guest kepster
Posted

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 (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 by rogueqd
  • 1 month later...
Guest Tech
Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.