DoEvents() in WPF
16.06.2008 04:51
von joriskalz
The WPF way of DoEvents
via http://blog.jan-welker.de/2007/11/04/DoEventsInWPF.aspx
public static void DoEvents()
{
if (Application.Current != null)
Application.Current.Dispatcher.Invoke(DispatcherPriority.Background, new ThreadStart(delegate { }));
}
Diesen Beitrag eintragen:
Delicious Stumbleupon
Digg