internal void Print(string flag, string xlsFile) { InitReportData(); if (flag == "send") { report.SendToExcelAsPart(); } else { report.Print(); } }