Tuesday, January 15, 2013

WPF Thread-safe Dispatcher Usages example

Example WPF Thread-safe Dispatcher Use


        if (dispatcher.CheckAccess())
        {
            action();
        }
        else
        {
            dispatcher.BeginInvoke(action);
        }
 
 

No comments:

Post a Comment