private void Worker_DoWork(object sender, DoWorkEventArgs e) { switch (Way) { case 0: SaveService.GetService().SaveXlsxFileBatch(TargetSource, exportDatas, typeDict); break; case 1: break; default: break; } }
private void Worker_DoWork(object sender, DoWorkEventArgs e) { switch (Way) { case 0: //SaveService.GetService().SaveXlsxFile(TargetSource, exportModelsForExcel, list); SaveService.GetService().SaveXlsxFileBatch(TargetSource, exportDatas, typeDict); break; case 1: MessageBox.Show("暂未实现"); break; default: break; } }