Results 1 to 2 of 2

Thread: Use one timer for controling multiple forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2007
    Posts
    15

    Use one timer for controling multiple forms

    this not for a class. I am playing with VB 2008 using .Net 2.0 as the target to compile to and am trying to figure out if it is possible to create multiple countdown timers one in each form using a single timer.
    I have attemtped but the logic escapes me. If this is not possible I know how to use a timer on one form for that form.
    thank you

  2. #2
    Hyperactive Member gonzalioz's Avatar
    Join Date
    Sep 2009
    Location
    <body></body>
    Posts
    508

    Re: Use one timer for controling multiple forms

    Form1
    Method: DoSomething()

    Form2
    Method: DoSomething()

    Form3
    sub Timer_Elapsed()
    Form1.DoSomething()
    Form2.DoSomething()
    Me.DoSomething()
    end sub

    ?

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