c# - Dispatcher.Invoke analogue for .net 2.0 -
i'm using databindings in .net application, , there places, update ui values secondary threads. so, need invoke main ui thread perform gui operations without exceptions.
in .net 3 world dispatcher.currentdispatcher.invoke(()=>{ /* update ui here */} );
i'm working .net 2.0 only.
at these places have no access gui control control.invoke either. so, how can safely update ui in case?
maybe application.openforms[0].invoke
?
Comments
Post a Comment