Make user interface calls in thread safe way in Windows Forms
If you are working on a Windows Forms project and you are using threads in some way, by accessing the controls from a thread other than the main one, you may have received this error message: System.InvalidOperationException: ‘Cross-thread operation not valid: Control ‘TxtCounter1′ accessed from a thread other than the thread it was created on.’…
Read More “Make user interface calls in thread safe way in Windows Forms” »