日期:2014-05-17 浏览次数:20670 次
private void backgroundWorkerForEvent_DoWork(object sender, DoWorkEventArgs e)
{
while (backgroundWorkerForEvent.IsBusy &&!backgroundWorkerForEvent.CancellationPending)
{
...操作 会记录一些运行数据
}
日志记录已经DOWORK完成
}
private void backgroundWorkerForEvent_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
日志记录已经Completed完成
}
{