Click here to Skip to main content
15,895,011 members
Articles / Multimedia / GDI+

A ReportPrinting Framework

Rate me:
Please Sign up or sign in to vote.
4.82/5 (17 votes)
23 Jul 2010BSD10 min read 118.6K   8.7K   178  
A Framework to build graphical printing reports with absolute layout based on Mike Mayer's ReportPrinting core library.
using System;
using System.Drawing;
using System.Windows.Forms;

namespace ReportPrintingFramework
{
	/// <summary>
	/// Summary description for ITrackerControlContainer.
	/// </summary>
	public interface ITrackerControlContainer
	{
		Rectangle TrackBounds {
			get ;
		}
		void AddChild( RPFTrackerBaseControl ctrl);
		void RemoveChild( RPFTrackerBaseControl ctrl);
		event MouseEventHandler ChildMouseMove;
		event MouseEventHandler ChildMouseDown;
		event MouseEventHandler ChildMouseUp;
		event ReportPrintingFramework.TrackerBaseControl.SelectedChangedEventHandler ChildSelectedChanged;
		event ReportPrintingFramework.TrackerBaseControl.TrackingEventHandler ChildTracking;
		event ReportPrintingFramework.AddChildRequestEventHandler AddChildRequest;
	}
	public delegate void AddChildRequestEventHandler(object sender, AddChildRequestEventArgs e);
	public class AddChildRequestEventArgs: EventArgs{
		public AddChildRequestEventArgs( IRPFObject rpf_object, ITrackerControlContainer host_ctrl) {
			this.m_rpf_object= rpf_object;
			this.m_host_ctrl= host_ctrl;
		}
		public IRPFObject m_rpf_object;
		public ITrackerControlContainer m_host_ctrl;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Software Developer (Senior) ndatech
Italy Italy
Nicola Dell'Amico is a freelance software developer.
Most significant skills are:
C, C++, C#, ASP.NET, wxWidgets, QT, Mono
-----
http://www.ndatech.it

Comments and Discussions