Ejemplo n.º 1
0
 private void btExplorerqc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmYearSelect fys = new frmYearSelect();
     fys.StrSQL = "select distinct left(CONVERT(varchar(50) , jhwcsj, 112 ),4 )  from PJ_lcfxwtjzgls";
     if (fys.ShowDialog() == DialogResult.OK)
     {
         ExportLCFXWTJZGLS etdjh = new ExportLCFXWTJZGLS();
         etdjh.ExportExcelQiuChaYear(parentID, fys.strYear);
     }
 }
Ejemplo n.º 2
0
        private void btView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ExportLCFXWTJZGLS etdjh = new ExportLCFXWTJZGLS();


            etdjh.CurrRecord = currRecord;
            etdjh.IsWorkflowCall = isWorkflowCall;
            etdjh.ParentTemple = parentTemple;
            etdjh.RecordWorkFlowData = WorkFlowData;
            etdjh.ExportExcel();
        }