I have an event on a simple Winform reading from the serial port. The issue is I would like to output the data onto a winform component, but because its on an even it happens on a different thread and I get the error
Cross-thread operation not valid: Control 'textBoxRecieve' accessed from a thread other than the thread it was created on.
Cross-thread operation not valid: Control 'textBoxRecieve' accessed from a thread other than the thread it was created on.
so what is the correct way to pass this data? I know I could do something like a channel do make a cross thread communication system, but that seems excessive and I figure there is an easier way I do now know