using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Collections.Generic;
using System.Web;
///
/// Summary description for ReportBase
///
public class ReportBase : DevExpress.XtraReports.UI.XtraReport
{
public DetailBand Detail;
public TopMarginBand TopMargin;
public BottomMarginBand BottomMargin;
public ReportHeaderBand ReportHeader;
public XRLabel lblReportTitle;
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
private XRControlStyle Title;
protected DevExpress.XtraReports.Parameters.Parameter __RPT_BASE_PARAM_SORT_DIR;
protected DevExpress.XtraReports.Parameters.Parameter __RPT_BASE_PARAM_SORT_FIELD;
public ReportBase()
{
InitializeComponent();
//
// TODO: Add constructor logic here
}
///
/// Clean up any resources being used.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportBase));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.lblReportTitle = new DevExpress.XtraReports.UI.XRLabel();
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
this.@__RPT_BASE_PARAM_SORT_FIELD = new DevExpress.XtraReports.Parameters.Parameter();
this.@__RPT_BASE_PARAM_SORT_DIR = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.HeightF = 100F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// TopMargin
//
this.TopMargin.HeightF = 100F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// BottomMargin
//
this.BottomMargin.HeightF = 100F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblReportTitle});
this.ReportHeader.HeightF = 42.70833F;
this.ReportHeader.Name = "ReportHeader";
//
// lblReportTitle
//
this.lblReportTitle.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.lblReportTitle.Name = "lblReportTitle";
this.lblReportTitle.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblReportTitle.SizeF = new System.Drawing.SizeF(650F, 37.58334F);
this.lblReportTitle.StyleName = "Title";
this.lblReportTitle.Text = "Report title should be here";
//
// Title
//
this.Title.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.Title.ForeColor = System.Drawing.Color.Teal;
this.Title.Name = "Title";
this.Title.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
//
// __RPT_BASE_PARAM_SORT_FIELD
//
this.@__RPT_BASE_PARAM_SORT_FIELD.Name = "__RPT_BASE_PARAM_SORT_FIELD";
this.@__RPT_BASE_PARAM_SORT_FIELD.Visible = false;
//
// __RPT_BASE_PARAM_SORT_DIR
//
this.@__RPT_BASE_PARAM_SORT_DIR.Name = "__RPT_BASE_PARAM_SORT_DIR";
this.@__RPT_BASE_PARAM_SORT_DIR.Visible = false;
//
// ReportBase
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.TopMargin,
this.BottomMargin,
this.ReportHeader});
this.Landscape = true;
this.PageHeight = 850;
this.PageWidth = 1100;
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.@__RPT_BASE_PARAM_SORT_FIELD,
this.@__RPT_BASE_PARAM_SORT_DIR});
this.ScriptReferencesString = "System.Web\r\nSystem.Linq\r\nSystem.Web.Extensions\r\nmscorlib.dll";
this.Scripts.OnBeforePrint = "ReportBase_BeforePrint";
this.Scripts.OnDataSourceDemanded = "ReportBase_DataSourceDemanded";
this.ScriptsSource = resources.GetString("$this.ScriptsSource");
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.Title});
this.Version = "15.1";
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
}