I am a bit of a newbie when it comes to windows client programming. I have a background worker that has a DoWork event and a RunCompleted event wired up. If an exception gets thrown in DoWork, I want to make changes to my UI, however, I cant because it is in a different thread. I can communicate the error to RunCompleted, but that doesn't help me either.
相关问题
- VNC control for WPF application
- How to let a thread communicate with another activ
- how to call a C++ dll from C# windows application
- Why it isn't advised to call the release() met
- WPF Binding from System.Windows.SystemParameters.P
call Dispatcher.BeginInvoke. Basically, you want code like this: