wpf equivalent of doevents
Edit
private void DoEvents() { Application.Current.Dispatcher.Invoke(DispatcherPriority.Background, new ThreadStart(delegate { })); }
Simple isn't it ??