/// <summary> /// Excel抽出 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Extract2Excel_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker bw = (BackgroundWorker)sender; ExcelUtil eu = new ExcelUtil(); eu.ExtractToExcel(this.TargetGrid, bw, AppObject.MLUtil); }