Updating controls from another thread
Dave Howard (3833 views)
Updating form controls from another thread.
Form controls, by default, can only be updated by the forms thread. Otherwise an invoke must be used.
The example below shows a simple logging function that can be called by threads other than the forms.
#c#delegate void LogSafeCall(string s);
|