The 3 ways to create a Thread-Safe GUI with .NET 2.0, with one clear winner.

Posted by: ISerializable, on 01 Mar 2006 | View original | Bookmarked: 0 time(s)

With .NET 2.0 and with the new "anonymous delegates" feature in C#, doing multi threaded responsive GUIs is now easier. In fact, you get multiple choices on how to accomplish this task. But which choice is the best? and what does "best" really mean? more elegant? faster? more readable? all of the above? Here's a little scenario for you. Assume there is a method that displays a string on the GUI, but may be called by a different thread than the GUI. The method has only a single string parameter. here...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 539 | Hits: 172

Similar Posts

  • Improved type safety when dealing with generic types, generic methods and reflection more
  • WCF Proxy Generator - Significant Updates more
  • Timers in Silverlight 2.0 and Multithreaded Silverlight. more
  • Dispatch my stuff to the right thread more
  • Did You Know... How to create XAML objects in Javascript? more
  • Threading model issues when using VB 6 COM components in a .NET Web Service more
  • Multi Threaded Unit Tests with Osherove.ThreadTester more
  • CCR - Concurrency and Coordination Runtime for asynchronous processing more
  • CS Dev Guide: Thread more
  • Object Initializers in C# 3.0 and VB9 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD