Results 1 to 6 of 6

Thread: Timer in 'Components' toolbox ?

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Timer in 'Components' toolbox ?

    What's the difference between the timer in 'Components' toolbox and the other timer in 'Window Forms' ?

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    as far as i'm aware nothing, basically most of the other controls in the toolbox ( if not all of them ) are also available under 'Window Forms'
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Well , I was reading about "creating windows service" , it requires to add a timer from 'Components' section , not from 'Windows Forms' . It doesn't explain why I should use that over the other one . So , there must be a difference I don't know .

  4. #4

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    BTW, Components Timer has two more properties : a"AutoReset" and "SynchronizingObject" , Windows Forms' doesn't have these . So this is the first difference I see . Any other ones ?

  5. #5
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    The timer component is optimized for use in Windows Forms applications and must be used in a window, where as the timer in the System.Timers namespace can be used anywhere.

  6. #6

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Thanks all .

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