private void btnRun_Click(object sender, EventArgs e) { Thread th = new Thread(new ThreadStart(heating)); th.IsBackground = true; th.Start(); } int templeture; delegate void DisplayHandler(string tempStr); protected void heating() { for (int i = 0; i < 100; i++) { templeture = i; string tp = i.To Read More
posted @ 2011-08-12 10:33 咸鱼公子 Views(297) Comments(1) Diggs(0)