Timer event. When?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Timer event. When?

  1. #1
    Yuriy Galanter Guest

    Timer event. When?

    Let's say I created a timer and set its Interval to 1 minute. When I
    enable the timer, will the first Elapsed event fire immediately or after 1
    minute?

    Yuri.



  2. #2
    Bob Guest

    Re: Timer event. When?


    "Yuriy Galanter" <yuri@galanter.net> wrote in message
    news:3b8fc76a@news.devx.com...
    > Let's say I created a timer and set its Interval to 1 minute. When I
    > enable the timer, will the first Elapsed event fire immediately or after 1
    > minute?
    >
    > Yuri.
    >

    The first Elapsed event will fire after 1 minute.

    Bob



  3. #3
    Dick Grier Guest

    Re: Timer event. When?

    Hi,

    After 1 minute (plus some, usually small, undefined time).

    --
    Richard Grier (Microsoft Visual Basic MVP)
    Hard & Software
    12962 West Louisiana Avenue
    Lakewood, CO 80228
    303-986-2179 (voice)
    303-986-3143 (fax)
    Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
    Edition ISBN 1-890422-25-8 (355 pages).
    For information look on my homepage at http://www.hardandsoftware.net.
    Use the Books link to order. For faster service contact the publisher at
    http://www.mabry.com/vbpgser.





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center