Archive for the 'Threading' Category

Dealing With GUI Threading Issues

Everybody at one point or another runs into a need to deal with threading. I would say the most common occasion is within event handlers. Often something on the application’s form will be updated to reflect information provided in the event handler. The problem with this is that the event handler will frequently be called [...]

A self contained Thread Safe .NET TextBox Control

In many projects I am finding that I am quickly growing tired of writing delegates to keep various controls thread safe in multi-threaded environments. I have not yet determined whether it is best to create separate utility classes to handle all of the non-thread safe functionality, or to extend the control itself to be thread [...]