277 lines
17 KiB
C#
277 lines
17 KiB
C#
|
namespace ReportsLibrary
|
||
|
{
|
||
|
using System.ComponentModel;
|
||
|
using System.Drawing;
|
||
|
using System.Windows.Forms;
|
||
|
using Telerik.Reporting;
|
||
|
using Telerik.Reporting.Drawing;
|
||
|
|
||
|
partial class ONOFFReport
|
||
|
{
|
||
|
#region Component Designer generated code
|
||
|
/// <summary>
|
||
|
/// Required method for telerik Reporting designer support - do not modify
|
||
|
/// the contents of this method with the code editor.
|
||
|
/// </summary>
|
||
|
private void InitializeComponent()
|
||
|
{
|
||
|
Telerik.Reporting.Group group1 = new Telerik.Reporting.Group();
|
||
|
Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule();
|
||
|
Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule();
|
||
|
Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule();
|
||
|
Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule();
|
||
|
this.labelsGroupFooter = new Telerik.Reporting.GroupFooterSection();
|
||
|
this.labelsGroupHeader = new Telerik.Reporting.GroupHeaderSection();
|
||
|
this.nameCaptionTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.timeCaptionTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.statusCaptionTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.pageHeader = new Telerik.Reporting.PageHeaderSection();
|
||
|
this.pageFooter = new Telerik.Reporting.PageFooterSection();
|
||
|
this.currentTimeTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.pageInfoTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.reportHeader = new Telerik.Reporting.ReportHeaderSection();
|
||
|
this.titleTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.periodTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.detail = new Telerik.Reporting.DetailSection();
|
||
|
this.nameDataTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.timeDataTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.statusDataTextBox = new Telerik.Reporting.TextBox();
|
||
|
this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource();
|
||
|
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||
|
//
|
||
|
// labelsGroupFooter
|
||
|
//
|
||
|
this.labelsGroupFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.28125D);
|
||
|
this.labelsGroupFooter.Name = "labelsGroupFooter";
|
||
|
this.labelsGroupFooter.Style.Visible = false;
|
||
|
//
|
||
|
// labelsGroupHeader
|
||
|
//
|
||
|
this.labelsGroupHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(0.28125D);
|
||
|
this.labelsGroupHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
|
||
|
this.nameCaptionTextBox,
|
||
|
this.timeCaptionTextBox,
|
||
|
this.statusCaptionTextBox});
|
||
|
this.labelsGroupHeader.Name = "labelsGroupHeader";
|
||
|
this.labelsGroupHeader.PrintOnEveryPage = true;
|
||
|
//
|
||
|
// nameCaptionTextBox
|
||
|
//
|
||
|
this.nameCaptionTextBox.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom)));
|
||
|
this.nameCaptionTextBox.CanGrow = true;
|
||
|
this.nameCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D), Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D));
|
||
|
this.nameCaptionTextBox.Name = "nameCaptionTextBox";
|
||
|
this.nameCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.nameCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.nameCaptionTextBox.StyleName = "Caption";
|
||
|
this.nameCaptionTextBox.Value = "Name";
|
||
|
//
|
||
|
// timeCaptionTextBox
|
||
|
//
|
||
|
this.timeCaptionTextBox.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom)));
|
||
|
this.timeCaptionTextBox.CanGrow = true;
|
||
|
this.timeCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1666667461395264D), Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D));
|
||
|
this.timeCaptionTextBox.Name = "timeCaptionTextBox";
|
||
|
this.timeCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.timeCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.timeCaptionTextBox.StyleName = "Caption";
|
||
|
this.timeCaptionTextBox.Value = "Time";
|
||
|
//
|
||
|
// statusCaptionTextBox
|
||
|
//
|
||
|
this.statusCaptionTextBox.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Bottom)));
|
||
|
this.statusCaptionTextBox.CanGrow = true;
|
||
|
this.statusCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.3125D), Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D));
|
||
|
this.statusCaptionTextBox.Name = "statusCaptionTextBox";
|
||
|
this.statusCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.statusCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.statusCaptionTextBox.StyleName = "Caption";
|
||
|
this.statusCaptionTextBox.Value = "Status";
|
||
|
//
|
||
|
// pageHeader
|
||
|
//
|
||
|
this.pageHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(0.0520833320915699D);
|
||
|
this.pageHeader.Name = "pageHeader";
|
||
|
//
|
||
|
// pageFooter
|
||
|
//
|
||
|
this.pageFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.28125D);
|
||
|
this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
|
||
|
this.currentTimeTextBox,
|
||
|
this.pageInfoTextBox});
|
||
|
this.pageFooter.Name = "pageFooter";
|
||
|
//
|
||
|
// currentTimeTextBox
|
||
|
//
|
||
|
this.currentTimeTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D), Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D));
|
||
|
this.currentTimeTextBox.Name = "currentTimeTextBox";
|
||
|
this.currentTimeTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1979167461395264D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.currentTimeTextBox.StyleName = "PageInfo";
|
||
|
this.currentTimeTextBox.Value = "=NOW()";
|
||
|
//
|
||
|
// pageInfoTextBox
|
||
|
//
|
||
|
this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.2395832538604736D), Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D));
|
||
|
this.pageInfoTextBox.Name = "pageInfoTextBox";
|
||
|
this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1979167461395264D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
|
||
|
this.pageInfoTextBox.StyleName = "PageInfo";
|
||
|
this.pageInfoTextBox.Value = "=PageNumber";
|
||
|
//
|
||
|
// reportHeader
|
||
|
//
|
||
|
this.reportHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(0.80823493003845215D);
|
||
|
this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
|
||
|
this.titleTextBox,
|
||
|
this.periodTextBox});
|
||
|
this.reportHeader.Name = "reportHeader";
|
||
|
//
|
||
|
// titleTextBox
|
||
|
//
|
||
|
this.titleTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D));
|
||
|
this.titleTextBox.Name = "titleTextBox";
|
||
|
this.titleTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4583334922790527D), Telerik.Reporting.Drawing.Unit.Inch(0.34791669249534607D));
|
||
|
this.titleTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.titleTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
|
||
|
this.titleTextBox.StyleName = "Title";
|
||
|
this.titleTextBox.Value = "ONOFFReport";
|
||
|
//
|
||
|
// periodTextBox
|
||
|
//
|
||
|
this.periodTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.34799537062644958D));
|
||
|
this.periodTextBox.Name = "periodTextBox";
|
||
|
this.periodTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4583334922790527D), Telerik.Reporting.Drawing.Unit.Inch(0.34791669249534607D));
|
||
|
this.periodTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.periodTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
|
||
|
this.periodTextBox.StyleName = "Title";
|
||
|
this.periodTextBox.Value = "";
|
||
|
//
|
||
|
// detail
|
||
|
//
|
||
|
this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D);
|
||
|
this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
|
||
|
this.nameDataTextBox,
|
||
|
this.timeDataTextBox,
|
||
|
this.statusDataTextBox});
|
||
|
this.detail.Name = "detail";
|
||
|
this.detail.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid;
|
||
|
//
|
||
|
// nameDataTextBox
|
||
|
//
|
||
|
this.nameDataTextBox.CanGrow = true;
|
||
|
this.nameDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.02083333395421505D), Telerik.Reporting.Drawing.Unit.Inch(0D));
|
||
|
this.nameDataTextBox.Name = "nameDataTextBox";
|
||
|
this.nameDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.nameDataTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.nameDataTextBox.StyleName = "Data";
|
||
|
this.nameDataTextBox.Value = "=Fields.Name";
|
||
|
//
|
||
|
// timeDataTextBox
|
||
|
//
|
||
|
this.timeDataTextBox.CanGrow = true;
|
||
|
this.timeDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1666667461395264D), Telerik.Reporting.Drawing.Unit.Inch(0D));
|
||
|
this.timeDataTextBox.Name = "timeDataTextBox";
|
||
|
this.timeDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.timeDataTextBox.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid;
|
||
|
this.timeDataTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.timeDataTextBox.StyleName = "Data";
|
||
|
this.timeDataTextBox.Value = "=Fields.Time";
|
||
|
//
|
||
|
// statusDataTextBox
|
||
|
//
|
||
|
this.statusDataTextBox.CanGrow = true;
|
||
|
this.statusDataTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.3125D), Telerik.Reporting.Drawing.Unit.Inch(0D));
|
||
|
this.statusDataTextBox.Name = "statusDataTextBox";
|
||
|
this.statusDataTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.125D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D));
|
||
|
this.statusDataTextBox.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid;
|
||
|
this.statusDataTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center;
|
||
|
this.statusDataTextBox.StyleName = "Data";
|
||
|
this.statusDataTextBox.Value = "=Fields.Status";
|
||
|
//
|
||
|
// objectDataSource1
|
||
|
//
|
||
|
this.objectDataSource1.DataMember = "GetALL";
|
||
|
this.objectDataSource1.DataSource = typeof(ReportsLibrary.ONOFFDataObj);
|
||
|
this.objectDataSource1.Name = "objectDataSource1";
|
||
|
//
|
||
|
// ONOFFReport
|
||
|
//
|
||
|
this.DataSource = this.objectDataSource1;
|
||
|
group1.GroupFooter = this.labelsGroupFooter;
|
||
|
group1.GroupHeader = this.labelsGroupHeader;
|
||
|
group1.Name = "labelsGroup";
|
||
|
this.Groups.AddRange(new Telerik.Reporting.Group[] {
|
||
|
group1});
|
||
|
this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
|
||
|
this.labelsGroupHeader,
|
||
|
this.labelsGroupFooter,
|
||
|
this.pageHeader,
|
||
|
this.pageFooter,
|
||
|
this.reportHeader,
|
||
|
this.detail});
|
||
|
this.Name = "ONOFFReport";
|
||
|
this.PageSettings.Landscape = false;
|
||
|
this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D));
|
||
|
this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter;
|
||
|
this.Style.BackgroundColor = System.Drawing.Color.White;
|
||
|
styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
|
||
|
new Telerik.Reporting.Drawing.StyleSelector("Title")});
|
||
|
styleRule1.Style.BackgroundColor = System.Drawing.Color.Empty;
|
||
|
styleRule1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(58)))), ((int)(((byte)(112)))));
|
||
|
styleRule1.Style.Font.Name = "Tahoma";
|
||
|
styleRule1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18D);
|
||
|
styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
|
||
|
new Telerik.Reporting.Drawing.StyleSelector("Caption")});
|
||
|
styleRule2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(58)))), ((int)(((byte)(112)))));
|
||
|
styleRule2.Style.Color = System.Drawing.Color.White;
|
||
|
styleRule2.Style.Font.Bold = true;
|
||
|
styleRule2.Style.Font.Italic = false;
|
||
|
styleRule2.Style.Font.Name = "Tahoma";
|
||
|
styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D);
|
||
|
styleRule2.Style.Font.Strikeout = false;
|
||
|
styleRule2.Style.Font.Underline = false;
|
||
|
styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
|
||
|
styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
|
||
|
new Telerik.Reporting.Drawing.StyleSelector("Data")});
|
||
|
styleRule3.Style.Color = System.Drawing.Color.Black;
|
||
|
styleRule3.Style.Font.Name = "Tahoma";
|
||
|
styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D);
|
||
|
styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
|
||
|
styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
|
||
|
new Telerik.Reporting.Drawing.StyleSelector("PageInfo")});
|
||
|
styleRule4.Style.Color = System.Drawing.Color.Black;
|
||
|
styleRule4.Style.Font.Name = "Tahoma";
|
||
|
styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D);
|
||
|
styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
|
||
|
this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
|
||
|
styleRule1,
|
||
|
styleRule2,
|
||
|
styleRule3,
|
||
|
styleRule4});
|
||
|
this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.4583334922790527D);
|
||
|
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||
|
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
private ObjectDataSource objectDataSource1;
|
||
|
private GroupHeaderSection labelsGroupHeader;
|
||
|
private GroupFooterSection labelsGroupFooter;
|
||
|
private Group labelsGroup;
|
||
|
private PageHeaderSection pageHeader;
|
||
|
private PageFooterSection pageFooter;
|
||
|
private Telerik.Reporting.TextBox currentTimeTextBox;
|
||
|
private Telerik.Reporting.TextBox pageInfoTextBox;
|
||
|
private ReportHeaderSection reportHeader;
|
||
|
private DetailSection detail;
|
||
|
private Telerik.Reporting.TextBox nameDataTextBox;
|
||
|
private Telerik.Reporting.TextBox timeDataTextBox;
|
||
|
private Telerik.Reporting.TextBox statusDataTextBox;
|
||
|
public Telerik.Reporting.TextBox titleTextBox;
|
||
|
public Telerik.Reporting.TextBox statusCaptionTextBox;
|
||
|
public Telerik.Reporting.TextBox nameCaptionTextBox;
|
||
|
public Telerik.Reporting.TextBox timeCaptionTextBox;
|
||
|
public Telerik.Reporting.TextBox periodTextBox;
|
||
|
|
||
|
}
|
||
|
}
|