Exemple #1
0
 /// <summary>
 /// This constructor will set up the internal members
 /// </summary>
 /// <param name="report">The name of the report to use</param>
 /// <param name="items">The items to be use in the report</param>
 public ReportViewer( string report, Scanner.ScannedEmailEntryCollection items )
 {
     InitializeComponent();
     if ( report != null &&
         items != null )
     {
         m_report = report;
         m_items = items;
         m_single = new SingleReport();
         
     }
 }
Exemple #2
0
 /// <summary>
 /// This constructor will set up the internal members
 /// </summary>
 /// <param name="report">The name of the report to use</param>
 /// <param name="items">The items to be use in the report</param>
 /// <param name="id">The group id of the items to show </param>
 public ReportViewer(string report, Scanner.ScannedEmailEntryCollection items, Guid id)
 {
     InitializeComponent();
     if ( report != null &&
         items != null )
     {
         m_report = report;
         m_items = items;
         m_id = id;
         m_single = new SingleReport();
         m_single.Load("Workshare.Trace.UI.Reports.SingleReport.rpt");
         m_single.SetDataSource(m_items);      
       
     }
 }
Exemple #3
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     SingleReport rpt = new SingleReport();
     rpt.Site = this.Site;
     return rpt;
 }