public void ProcessDataToExcel() { excelHandler.writeToExcel(); }
public void ExportDGV_ToExcel(MainForm mainForm) { DataTable dt = (mainForm.dgvDetailBreakdown.DataSource as DataTable); excelHandler.writeToExcel(dt, new DateTime(1, 1, 1), new DateTime(1, 1, 1)); }