S
Simon Tamman
Just wondering if anyone knows how this component works.
If you set it up in the context of an Application.Run it works on it's
worker thread but it updates the progress on the UI thread.
My question is, how does it know which thread to use?
I used Reflector to track down the fact that it gets the delegates to call
via base.Events[SomeEventKey] which derives from Component but how does it
know what to put into base.Events?
I'm very happy the component is there as it's very useful for .NET 2.0
considering the changes to unhandled exceptions on threads. However i'd like
to know if it is possible to break it and how I could break it before I
start scattering instances of it throughout my projects.
Kind Regards
Simon Tamman
If you set it up in the context of an Application.Run it works on it's
worker thread but it updates the progress on the UI thread.
My question is, how does it know which thread to use?
I used Reflector to track down the fact that it gets the delegates to call
via base.Events[SomeEventKey] which derives from Component but how does it
know what to put into base.Events?
I'm very happy the component is there as it's very useful for .NET 2.0
considering the changes to unhandled exceptions on threads. However i'd like
to know if it is possible to break it and how I could break it before I
start scattering instances of it throughout my projects.
Kind Regards
Simon Tamman