private void barExplorYear_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmGDSSelect fys = new frmGDSSelect(); if (fys.ShowDialog() == DialogResult.OK) { ExportGDSCKEdit etdjh = new ExportGDSCKEdit(); etdjh.ExportGDSRKDExcel(fys.OrgCode, fys.JingBanRen, enterTime); } }
private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (expotSQL == "") { MsgBox.ShowTipMessageBox("请先填充上面的查询条件!"); } else { frmGDSSelect fys = new frmGDSSelect(); if (fys.ShowDialog() == DialogResult.OK) { ExportGDSRKEdit etdjh = new ExportGDSRKEdit(); etdjh.ExportExcelForSQL(fys.OrgCode, fys.JingBanRen, expotSQL); } } }