Return to Snippet

Revision: 2391
at February 7, 2007 17:49 by rengber


Initial Code
private void button3_Click(object sender, System.EventArgs e)
{
  ThreadStart ts = new ThreadStart(HelloFromThread);
  Thread t = new Thread(ts); 
  t.Start(); 
}

private void HelloFromThread()
{
  button3.Text = "Hello From Thread"; 
}

Initial URL


Initial Description


Initial Title
Basic Multithreaded Code

Initial Tags
forms, windows

Initial Language
C#