private void excelToolStripMenuItem_Click(object sender, EventArgs e) { DataGridViewExportHelper exportHelper = new DataGridViewExportHelper(dataGridViewMain, saveFileDialog1); exportHelper.ExportToExcel(); }
private void cSVToolStripMenuItem_Click(object sender, EventArgs e) { DataGridViewExportHelper exportHelper = new DataGridViewExportHelper(dataGridViewStatistics, saveFileDialogStatistics); exportHelper.ExportToCsv(); }