Exemple #1
0
 /// <summary>
 /// 打印预览
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void tsmPreviewReport_Click(object sender, EventArgs e)
 {
     if (tsmChooseReport.HasDropDownItems)
     {
         report = new FastReport.Report();
         if (!report.IsRunning)
         {
             GetData(tsmChooseDetail[iDefaultChecked].Name);
             report.Load(new MemoryStream(bt));
             RegReportData();
         }
         frmReportPreview rp = new frmReportPreview(report);
         rp.ShowDialog();
         report.Dispose();
     }
 }
 /// <summary>
 /// 打印预览
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void tsmPreviewReport_Click(object sender, EventArgs e)
 {
     if (tsmChooseReport.HasDropDownItems)
     {
         report = new FastReport.Report();
         if (!report.IsRunning)
         {
             GetData(tsmChooseDetail[iDefaultChecked].Name);
             report.Load(new MemoryStream(bt));
             RegReportData();
         }
         frmReportPreview rp = new frmReportPreview(report);
         rp.ShowDialog();
         report.Dispose();
     }
 }
Exemple #3
0
        void DesignerSettings_CustomPreviewReport(object sender, EventArgs e)
        {
            frmReportPreview rp = new frmReportPreview(report);

            rp.ShowDialog();
        }
 void DesignerSettings_CustomPreviewReport(object sender, EventArgs e)
 {
     frmReportPreview rp = new frmReportPreview(report);
     rp.ShowDialog();
 }