I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2 and C#.
when I try to access the control's width on a method that handles an event it throws me the following exception:
Control.Invoke must be used to interact with controls created on a separate thread.
Is this method running in another thread?
Thank you!
Best Answer
An event runs on the thread that fired it. So if the event was fired on a different thread than the one that created the control, it runs in a different thread, yeah.