Hello:
I am having some issues with a form timer.
here's what i'm doing:
In the main app i create a custom userControl object and call it's Init
method. Now, within the Init method, i do some work and Start a form
timer. The timer fires and the associated event handler executes.
In the event handler, i Stop the timer, do an async call-out with a
completion delegate and continue. The completion delegate will Start
the timer.
problem:
the completion delegate executes and the Start timer call is made, but
the associated event handler is never executed.
---
I tried using Invoke because the completion delegate will execute on
another thread, i.e., a different thread to the one that owns the
timer... but no luck. not sure if i'm using the correct Invoke syntax.
thanks in advance...