Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Multiple Threads to report back

Status
Not open for further replies.

DMAN3021

Programmer
Aug 20, 2002
40
CA
I'm working on a project where two phones are plugged into my computer for testing. When testing begins, each phone has a System.Timer.Timers that runs the different steps of the test. Everything works fine, except when the test is over, I have no way of knowing that it is.

How can I get my phones (which are objects in themselves, to report back to my main form that they have gone through all the steps?
 
You could define a public event called PhoneComplete the raise it at the end of your timer.tic method. Then add an event handler to the form for a sub that takes care of any display updates.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top