I'm not (intentionally) using threads in my C# app. In fact my main method has a [STAThread]
, which I thought meant I'd only be using one thread.
Why then, would I be getting this error message?
Cross-thread operation not valid: Control 'messageLog' accessed from a thread other than the thread it was created on.