Cheryl,
Are you saying that you want to have the event that you fired be on the
UI thread? If this is the case, instead of just firing the event normally,
you could cycle through the delegate chain. If the object that the
MethodInfo that the delegate is pointing to has an ISynchronizeInvoke
implementation, you can pass the delegate and the parameters to that.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Cheryl" <ju*********@excite.comwrote in message
news:12**********************************@microsof t.com...
Hi all. I am writing a component library that does not have an interface.
I would like to create a class that allows the worker thread to callback
the mainthread so that the Form interface does not have to invoke the main
thread before updating the control. Would this be possible? If yes, how
should I do so?