Exemplo n.º 1
0
 private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
 {
     backgroundWorker1.WorkerReportsProgress = true;
     backgroundWorker1.ReportProgress(20); //这里让进度条显示进度
     vipInfo.VipPhoto = vipBLL.VipPhotoSelectById(vipInfo);
     backgroundWorker1.ReportProgress(70); //这里让进度条显示进度
 }