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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -