摘要:
Just read a good article to do cross-thread calling in an easy and elegant way.It is amazing for its simplicity and elegancy: 1 static class ControlExtensions 2 { 3 public static void InvokeOnOwnerThread(this T control, Action invoker) where T : Control 4 { 5 if (control.InvokeRequired) 6 ... 阅读全文