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

Thread: Timers

  1. #1
    Join Date
    Nov 2004
    Posts
    38

    Timers

    In Java timer has following functions

    timer.setInitialDelay(1000);

    timer.setRepeats(false);

    So,I their's analogue in .NET

    timer.Interval = 1000;

    timer.AutoReset = false;

    Is it wright??

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: Timers

    yes, interval and AutoReset properties are exactly those.
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured