private void sendToXls_Click(object sender, EventArgs e) { string xlsFilePath = ""; if (XLSFile.ShowSaveFile(ref xlsFilePath, report.DesrcName)) { if (report.ProjectDataManager != null) { report.MutliProjectSendToExcel(xlsFilePath); } else { report.SendToExcel(xlsFilePath); } Function.Alert("发送完成!", "提示"); } }