المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Calling to a thread



C# Programming
11-28-2009, 06:30 PM
I am working with an application that has a background worker thread.
Passing infroamtion back is easy by using ReportProgress.
I can cancel the thread but is there a simple way to make calls to it to pass data? I have looked at message queues but it looks like overkill.
Recommendations?
Thanks.

Join the cool kids - Come fold with us (http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=11561)[^ (http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=11561)]