コード例 #1
0
ファイル: TGridControl.cs プロジェクト: godkillok/fracture2
        private void eXCELToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string localFilePath = FileOperate.saveopenfile();

            if (localFilePath != null)
            {
                FileOperate.ExportToExcel(gridView1, localFilePath);
            }
        }
コード例 #2
0
        private void toolbar_export_Click(object sender, EventArgs e)
        {
            string localFilePath = FileOperate.saveopenfile();

            if (localFilePath != null)
            {
                //FileOperate.ExportToExcel(gridView1, localFilePath);
            }
        }
コード例 #3
0
        private void btn_excel_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string localFilePath = FileOperate.saveopenfile();

            if (localFilePath != null)
            {
                FileOperate.ExportToExcel(gridView1, localFilePath);
            }
        }
コード例 #4
0
        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));
            }
        }
コード例 #5
0
 private void btn_outpic_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FileOperate.savechart(chartControl1);
 }
コード例 #6
0
 private void button3_Click(object sender, EventArgs e)
 {
     FileOperate.exportfilecharttemplete(chartControl1);
 }