05 2011 档案

摘要: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。 阅读 (1460) | 评论 (1) 编辑