Event Handlers That Do Thread-Safe Invokes
July 11 2008 Leave a Comment Tags: Threading
I recently ran into a scenario where I wanted to write a class to do a low-level serial interface to a barcode scanner. When the barcode is scanned I wanted it to fire an event back to the Windows form. The complication was that the SerialPort class provided by .NET 2.0 fires the DataReceived event [...]