Click here to Skip to main content
15,890,512 members
Articles / Desktop Programming / Windows Forms

Extension method to update controls in a MultiThreaded WinForm application.

Rate me:
Please Sign up or sign in to vote.
4.67/5 (3 votes)
18 Jun 2011CPOL 23.5K   17  
This extension can be used to update controls in a thread safe manner. This method requires a MethodInvoker delegate as input parameter. It just checks whether the control is on a different thread than the caller.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions