2011-05-04 41 views

回答

4

可以使用Application.Current.RootVisual.Dispatcher访问UI调度员:

Dispatcher dispatcher = Application.Current.RootVisual.Dispatcher; 
dispatcher.BeginInvoke(() => MessageBox.Show("The message")); 
相关问题