❔ WFA Cross-Thread Error
Hey there so I got this error recently whilst trying to spawn in a picturebox once a timer has elapsed. Anyone know this error?
3 Replies
This https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/how-to-make-thread-safe-calls might shed some light
yes, that's the error that you get when you try to access a WinForms object from a thread that doesn't own it
either swap to a WinForms timer, or dispatch your timer action back onto the UI thread
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.