Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can non-UI threads display to the screen?

Is only the UI-thread able to display to the screen, or can other threads do this as well?

like image 570
richard Avatar asked Feb 25 '23 03:02

richard


1 Answers

No you can only access to UI directly from the UI thread but you can marshal the results from other threads, such as using the Control.Invoke or control.BegineInvoke/EndInvoke

Check this out

like image 105
Phil Murray Avatar answered Mar 08 '23 06:03

Phil Murray