ExportYB6156Preview.cs 751 B

12345678910111213141516171819202122232425262728293031
  1. using DevExpress.XtraEditors;
  2. using DevExpress.XtraPrinting.Native;
  3. using DevExpress.XtraReports.UI;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.Data;
  8. using System.Drawing;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using System.Windows.Forms;
  13. namespace OTSIncAReportApp._1_UI.OTSReportExport
  14. {
  15. public partial class ExportYB6156Preview : Form
  16. {
  17. XtraReport _report;
  18. public ExportYB6156Preview(XtraReport report)
  19. {
  20. InitializeComponent();
  21. _report=report;
  22. }
  23. private void ExportYB6156Preview_Load(object sender, EventArgs e)
  24. {
  25. documentViewer1.DocumentSource = _report;
  26. }
  27. }
  28. }