J
JezB
I'm writing a windows forms application which receives events from an
external application, and then responds to those events by modifying things
on the form. It's capturing the event but on trying to modify the controls
on the form I'm getting the error:
[System.InvalidOperationException] = {"Cross-thread operation not valid:
Control 'Form1' accessed from a thread other than the thread it was created
on."}
Can anyone help ?
external application, and then responds to those events by modifying things
on the form. It's capturing the event but on trying to modify the controls
on the form I'm getting the error:
[System.InvalidOperationException] = {"Cross-thread operation not valid:
Control 'Form1' accessed from a thread other than the thread it was created
on."}
Can anyone help ?