private void eXCELToolStripMenuItem_Click(object sender, EventArgs e) { string localFilePath = FileOperate.saveopenfile(); if (localFilePath != null) { FileOperate.ExportToExcel(gridView1, localFilePath); } }
private void toolbar_export_Click(object sender, EventArgs e) { string localFilePath = FileOperate.saveopenfile(); if (localFilePath != null) { //FileOperate.ExportToExcel(gridView1, localFilePath); } }
private void btn_excel_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { string localFilePath = FileOperate.saveopenfile(); if (localFilePath != null) { FileOperate.ExportToExcel(gridView1, localFilePath); } }
private void btn_export_Click(object sender, EventArgs e) { string title = "导出配置文件"; string filter = "配置文件(*.xml)|*.xml"; string localFilePath = FileOperate.saveopenfile(title, filter); if (localFilePath != null) { FileOperate.ExportTo(gridView3, new ExportXmlProvider(localFilePath)); } }
private void btn_outpic_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { FileOperate.savechart(chartControl1); }
private void button3_Click(object sender, EventArgs e) { FileOperate.exportfilecharttemplete(chartControl1); }