Category Archives: WinForms

Asynchronous Control Updates In C#/.NET/WinForms

Every .NET WinForms project I’ve written, since .NET 2.0, has included some form of this code: public static class ControlExtensions {   public static void Do<TControl>(this TControl control, Action<TControl> action)     where TControl: Control   {     if (control.InvokeRequired)       control.Invoke(action, … Continue reading 

Also posted in .NET, Async, C# | 4 Comments