摘要: private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; int result = 0; for (int i = 0; i < 100000; i++) { result += i; } System.Threading.Thread.Sleep(3000); e.Result = result; } private void backgroundWorker1_ProgressChange 阅读全文
posted @ 2011-05-26 16:13 Sir。 阅读(1795) 评论(1) 推荐(0) 编辑