c# update control from another thread
// Running on the worker thread
string newText = "abc";
form.Label.Invoke((MethodInvoker)delegate {
// Running on the UI thread
form.Label.Text = newText;
});
// Back on the worker thread
Also in C#:
- f string C#
- javascript append
- what does gameobject.find return
- enums as numbers c#
- textblock line break
- sort c#
- c# md5 string
- c sharp check if key in dictionary
- switch case c# contains
- c# constructor
- Unity C# make object face away
- unity normalize vector2
- how to compare datetime in c#
- unity material offset script
- c# getasync response
- c sharp substring
- c# code to convert decimal to binary
- c# method info extension
- decimals not stored in azure tables
- c# how to refresh your binding source
- how to move clipping planes C# in unity
- hash sign c sharp
- visual studio c# mark class deprecated
- if get key down unity