/* i-net software provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This programming example assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. i-net software support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. © i-net software 1998-2013 */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Inet.Viewer.Data; namespace Inet.Viewer.WinForms { /// /// /// public partial class TestReportViewPanel : Form { /// /// /// public TestReportViewPanel() { InitializeComponent(); Test(); } /// /// /// public void Test() { URLRenderData urlData = new URLRenderData("http://localhost:9000/?report=file:C:\\Users\\michaels\\Eigene Dokumente\\Reports\\Subreport3.rpt"); ReportView view = new ReportView(); view.ReportData = urlData; this.reportViewPanel1.ReportView = view; this.reportViewPanel1.ReportDataCache = view.ReportDataCache; this.reportViewPanel1.UpdatePageContent(false); view.CurrentPage = 2; } /// /// /// public static void Main() { TestReportViewPanel form = new TestReportViewPanel(); form.ShowDialog(); } } }