Glossary Item Box

Samples | Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Walkthrough: Adding a Viewer Control for the End-User Report Designer

This walkthrough is split up into the following activities:

Adding a new Windows Form and ActiveReports viewer control

To add a new form and viewer control

  1. Add a new "Windows Form" to your Visual Studio project.
  2. Change the name of Form1 to frmPrintPreview.
  3. Click on the ActiveReports viewer control in the appropriate toolbox and drag it onto Form1.
  4. Set the viewer control's Dock property to Fill.

Adding code for the viewer's SetReport event

To write the code in Visual Basic

To write the code in C#

Adding code for the viewer's showReport event

To write the code in Visual Basic

To write the code in C#

Adding code for the frmPrintPreview_Load event

To write the code in Visual Basic

To write the code in C#

Samples | Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.