214 lines
11 KiB
C#
214 lines
11 KiB
C#
using DevExpress.XtraReports.UI;
|
|
using Sozsoft.Platform.Enums;
|
|
|
|
namespace Sozsoft.Reports.PredefinedReports
|
|
{
|
|
partial class DynamicReport
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery();
|
|
DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column();
|
|
DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression();
|
|
DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DynamicReport));
|
|
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
|
|
this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
|
|
this.pageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
|
|
this.pageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
|
|
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
|
this.label1 = new DevExpress.XtraReports.UI.XRLabel();
|
|
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
|
this.table1 = new DevExpress.XtraReports.UI.XRTable();
|
|
this.tableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
|
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
|
|
this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
|
|
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
this.DetailCaption1 = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
this.DetailData1 = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
this.DetailData3_Odd = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
|
|
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
|
//
|
|
// TopMargin
|
|
//
|
|
this.TopMargin.Name = "TopMargin";
|
|
//
|
|
// BottomMargin
|
|
//
|
|
this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
|
this.pageInfo1,
|
|
this.pageInfo2});
|
|
this.BottomMargin.Name = "BottomMargin";
|
|
//
|
|
// pageInfo1
|
|
//
|
|
this.pageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
|
this.pageInfo1.Name = "pageInfo1";
|
|
this.pageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
|
|
this.pageInfo1.SizeF = new System.Drawing.SizeF(325F, 23F);
|
|
this.pageInfo1.StyleName = "PageInfo";
|
|
//
|
|
// pageInfo2
|
|
//
|
|
this.pageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(325F, 0F);
|
|
this.pageInfo2.Name = "pageInfo2";
|
|
this.pageInfo2.SizeF = new System.Drawing.SizeF(325F, 23F);
|
|
this.pageInfo2.StyleName = "PageInfo";
|
|
this.pageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
|
this.pageInfo2.TextFormatString = "Page {0} of {1}";
|
|
//
|
|
// Detail
|
|
//
|
|
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
|
this.xrRichText1});
|
|
this.Detail.HeightF = 200F;
|
|
this.Detail.Name = "Detail";
|
|
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
|
|
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
|
|
//
|
|
// xrRichText1
|
|
//
|
|
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
|
this.xrRichText1.Name = "xrRichText1";
|
|
this.xrRichText1.SizeF = new System.Drawing.SizeF(650F, 200F);
|
|
xrRichText1.ExpressionBindings.Clear();
|
|
xrRichText1.ExpressionBindings.Add(new ExpressionBinding("BeforePrint", "Html", "[HtmlContent]"));
|
|
//
|
|
// sqlDataSource1
|
|
//
|
|
this.sqlDataSource1.ConnectionName = "SqlServer";
|
|
this.sqlDataSource1.Name = "sqlDataSource1";
|
|
table1.Name = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ReportTemplate));
|
|
columnExpression1.ColumnName = "HtmlContent";
|
|
columnExpression1.Table = table1;
|
|
column1.Expression = columnExpression1;
|
|
selectQuery1.Columns.Add(column1);
|
|
selectQuery1.Name = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ReportTemplate));
|
|
selectQuery1.Tables.Add(table1);
|
|
this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 });
|
|
this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
|
|
//
|
|
// Title
|
|
//
|
|
this.Title.BackColor = System.Drawing.Color.Transparent;
|
|
this.Title.BorderColor = System.Drawing.Color.Black;
|
|
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
|
this.Title.BorderWidth = 1F;
|
|
this.Title.Font = new DevExpress.Drawing.DXFont("Arial", 14.25F);
|
|
this.Title.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(70)))), ((int)(((byte)(80)))));
|
|
this.Title.Name = "Title";
|
|
this.Title.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
|
|
//
|
|
// DetailCaption1
|
|
//
|
|
this.DetailCaption1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(211)))), ((int)(((byte)(142)))));
|
|
this.DetailCaption1.BorderColor = System.Drawing.Color.White;
|
|
this.DetailCaption1.Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
|
this.DetailCaption1.BorderWidth = 2F;
|
|
this.DetailCaption1.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F, DevExpress.Drawing.DXFontStyle.Bold);
|
|
this.DetailCaption1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(70)))), ((int)(((byte)(80)))));
|
|
this.DetailCaption1.Name = "DetailCaption1";
|
|
this.DetailCaption1.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
|
|
this.DetailCaption1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
|
//
|
|
// DetailData1
|
|
//
|
|
this.DetailData1.BorderColor = System.Drawing.Color.Transparent;
|
|
this.DetailData1.Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
|
this.DetailData1.BorderWidth = 2F;
|
|
this.DetailData1.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F);
|
|
this.DetailData1.ForeColor = System.Drawing.Color.Black;
|
|
this.DetailData1.Name = "DetailData1";
|
|
this.DetailData1.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
|
|
this.DetailData1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
|
//
|
|
// DetailData3_Odd
|
|
//
|
|
this.DetailData3_Odd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(245)))), ((int)(((byte)(248)))));
|
|
this.DetailData3_Odd.BorderColor = System.Drawing.Color.Transparent;
|
|
this.DetailData3_Odd.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
|
this.DetailData3_Odd.BorderWidth = 1F;
|
|
this.DetailData3_Odd.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F);
|
|
this.DetailData3_Odd.ForeColor = System.Drawing.Color.Black;
|
|
this.DetailData3_Odd.Name = "DetailData3_Odd";
|
|
this.DetailData3_Odd.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
|
|
this.DetailData3_Odd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
|
|
//
|
|
// PageInfo
|
|
//
|
|
this.PageInfo.Font = new DevExpress.Drawing.DXFont("Arial", 8.25F, DevExpress.Drawing.DXFontStyle.Bold);
|
|
this.PageInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(70)))), ((int)(((byte)(80)))));
|
|
this.PageInfo.Name = "PageInfo";
|
|
this.PageInfo.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
|
|
//
|
|
// TestReport
|
|
//
|
|
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
|
this.TopMargin,
|
|
this.BottomMargin,
|
|
this.ReportHeader,
|
|
this.Detail});
|
|
this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
|
|
this.sqlDataSource1});
|
|
this.DataMember = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ReportTemplate));
|
|
this.DataSource = this.sqlDataSource1;
|
|
this.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F);
|
|
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
|
|
this.Title,
|
|
this.DetailCaption1,
|
|
this.DetailData1,
|
|
this.DetailData3_Odd,
|
|
this.PageInfo});
|
|
this.Version = "22.2";
|
|
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
|
|
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
|
|
private DevExpress.XtraReports.UI.XRPageInfo pageInfo1;
|
|
private DevExpress.XtraReports.UI.XRPageInfo pageInfo2;
|
|
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
|
|
private DevExpress.XtraReports.UI.XRLabel label1;
|
|
private DevExpress.XtraReports.UI.DetailBand Detail;
|
|
private DevExpress.XtraReports.UI.XRRichText xrRichText1;
|
|
private DevExpress.XtraReports.UI.XRTable table1;
|
|
private DevExpress.XtraReports.UI.XRTableRow tableRow1;
|
|
private DevExpress.DataAccess.Sql.SqlDataSource sqlDataSource1;
|
|
private DevExpress.XtraReports.UI.XRControlStyle Title;
|
|
private DevExpress.XtraReports.UI.XRControlStyle DetailCaption1;
|
|
private DevExpress.XtraReports.UI.XRControlStyle DetailData1;
|
|
private DevExpress.XtraReports.UI.XRControlStyle DetailData3_Odd;
|
|
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
|
|
}
|
|
}
|