Timer in WP7
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Timer in WP7

  1. #1
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,431

    Question Timer in WP7

    Simple question -

    I want to create a timer in a WP7 application that simply keeps track of how long something has taken. I'll end up displaying this as:

    Time: 00:00

    With elapsed minutes and seconds. What is the best way to do this within a WP7 app? I'll also want to end up pausing and restarting the counter at times too:

    Time: 00:00 (paused)

    This should be easy

    Brad!

  2. #2
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,359

    Re: Timer in WP7

    see Stopwatch class in msdn

  3. #3
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,431

    Re: Timer in WP7

    Quote Originally Posted by Arjay View Post
    see Stopwatch class in msdn
    Sweet.

    I didn't think to search on stopwatch, and all my other searches didn't pan out very well. That seems to be exactly what I wanted - made simple.

    Thanks!

    Brad!

  4. #4
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,359

    Re: Timer in WP7

    Every week I devote 3 hours walking through ALL of msdn just to see all the things I missed.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center