I am working on converting some of my 2.0 code over to 3.0 and am getting the following cross-thread exception:
- $exception {"Cross-thread operation not valid: Control 'mapControl' accessed from a thread other than the thread it was created on."} System.Exception {System.InvalidOperationException}
This is being called from a background worker on another object and that object then raises an event that the map winforms is handling. I have always thought that the background worker automatically marshalls the data over to the winforms control so that this would work and this did work in 2.0. Is there something different now that would cause this not to work?
Thanks.
Curtis