¡@

Home 

c# Programming Glossary: appendtextbox

Writing to a TextBox from another thread?

http://stackoverflow.com/questions/519233/writing-to-a-textbox-from-another-thread

new Thread SampleFunction .Start public void AppendTextBox string value if InvokeRequired this.Invoke new Action string.. value if InvokeRequired this.Invoke new Action string AppendTextBox new object value return textBox1.Text value void SampleFunction.. and doesn't block the UI while sleeping for int i 0 i 5 i AppendTextBox hi. Thead.Sleep 1000 c# winforms multithreading share..