In C#: How do I access GUI-Elements, like buttons or labels in another thread?
Use Invoke, like this:
Invoke((MethodInvoker)(()=>lblName.Text="Meep"));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With