Esempio n. 1
0
    private void addTable(XRTable tableHeader, XRTable tableDetail, string tableName)
    {
        DetailReportBand DetailReportBand1 = new DevExpress.XtraReports.UI.DetailReportBand();

        DetailReportBand1.Level = level;
        GroupHeaderBand GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();

        GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            tableHeader
        });
        GroupHeader1.Height          = 20;
        GroupHeader1.Name            = "GroupHeader" + level.ToString();
        GroupHeader1.RepeatEveryPage = true;
        DetailBand Detail1 = new DevExpress.XtraReports.UI.DetailBand();

        Detail1.Height    = 20;
        Detail1.PageBreak = PageBreak.AfterBand;
        Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            tableDetail
        });
        DetailReportBand1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            GroupHeader1,
            Detail1
        });
        _report.Bands.Add(DetailReportBand1);
    }
Esempio n. 2
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraReports.UI.XRSummary                xrSummary1                    = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraCharts.SimpleDiagram                simpleDiagram1                = new DevExpress.XtraCharts.SimpleDiagram();
     DevExpress.XtraCharts.Series                       series1                       = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.RangeBarSeriesLabel          rangeBarSeriesLabel1          = new DevExpress.XtraCharts.RangeBarSeriesLabel();
     DevExpress.XtraCharts.OverlappedRangeBarSeriesView overlappedRangeBarSeriesView1 = new DevExpress.XtraCharts.OverlappedRangeBarSeriesView();
     DevExpress.XtraCharts.Series                       series2                       = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PieSeriesLabel               pieSeriesLabel1               = new DevExpress.XtraCharts.PieSeriesLabel();
     DevExpress.XtraCharts.PieSeriesView                pieSeriesView1                = new DevExpress.XtraCharts.PieSeriesView();
     DevExpress.XtraReports.UI.XRSummary                xrSummary2                    = new DevExpress.XtraReports.UI.XRSummary();
     this.groupFooterBand1           = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrLabel7                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4                   = new DevExpress.XtraReports.UI.XRLabel();
     this.ReportDetailBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportOddStyle             = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportFooterBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.bottomMarginBand1          = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.topMarginBand1             = new DevExpress.XtraReports.UI.TopMarginBand();
     this.pageHeaderBand1            = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
     this.detailBand1                = new DevExpress.XtraReports.UI.DetailBand();
     this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportHeaderBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.groupHeaderBand1           = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.ReportEvenStyle            = new DevExpress.XtraReports.UI.XRControlStyle();
     this.totalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
     this.reportFooterBand1          = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrChart1                   = new DevExpress.XtraReports.UI.XRChart();
     this.xrLabel10                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6                   = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2                   = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(rangeBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(overlappedRangeBarSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // groupFooterBand1
     //
     this.groupFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel7,
         this.xrLabel4
     });
     this.groupFooterBand1.Dpi       = 254F;
     this.groupFooterBand1.HeightF   = 52.22913F;
     this.groupFooterBand1.Name      = "groupFooterBand1";
     this.groupFooterBand1.StyleName = "ReportGroupFooterBandStyle";
     //
     // xrLabel7
     //
     this.xrLabel7.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
     this.xrLabel7.AnchorVertical   = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top;
     this.xrLabel7.BackColor        = System.Drawing.Color.Empty;
     this.xrLabel7.BorderColor      = System.Drawing.Color.Black;
     this.xrLabel7.Borders          = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "work")
     });
     this.xrLabel7.Dpi           = 254F;
     this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0.0003229777F, 0F);
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(1243.804F, 52.22913F);
     this.xrLabel7.StylePriority.UseBackColor     = false;
     this.xrLabel7.StylePriority.UseBorderColor   = false;
     this.xrLabel7.StylePriority.UseBorders       = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UsePadding       = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text          = "xrLabel4";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel4
     //
     this.xrLabel4.BackColor       = System.Drawing.Color.White;
     this.xrLabel4.BorderColor     = System.Drawing.Color.Black;
     this.xrLabel4.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrLabel4.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                            | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
     });
     this.xrLabel4.Dpi           = 254F;
     this.xrLabel4.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel4.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F);
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(527.1958F, 52.22913F);
     this.xrLabel4.StylePriority.UseBackColor       = false;
     this.xrLabel4.StylePriority.UseBorderColor     = false;
     this.xrLabel4.StylePriority.UseBorderDashStyle = false;
     this.xrLabel4.StylePriority.UseBorders         = false;
     this.xrLabel4.StylePriority.UseFont            = false;
     this.xrLabel4.StylePriority.UseForeColor       = false;
     this.xrLabel4.StylePriority.UsePadding         = false;
     this.xrLabel4.StylePriority.UseTextAlignment   = false;
     xrSummary1.FormatString          = "{0:}";
     xrSummary1.Func                  = DevExpress.XtraReports.UI.SummaryFunc.Custom;
     xrSummary1.IgnoreNullValues      = true;
     xrSummary1.Running               = DevExpress.XtraReports.UI.SummaryRunning.Group;
     this.xrLabel4.Summary            = xrSummary1;
     this.xrLabel4.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel4.WordWrap           = false;
     this.xrLabel4.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel4_SummaryGetResult);
     this.xrLabel4.SummaryReset      += new System.EventHandler(this.xrLabel4_SummaryReset);
     this.xrLabel4.SummaryRowChanged += new System.EventHandler(this.xrLabel4_SummaryRowChanged);
     //
     // ReportDetailBandStyle
     //
     this.ReportDetailBandStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportDetailBandStyle.Name          = "ReportDetailBandStyle";
     this.ReportDetailBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportOddStyle
     //
     this.ReportOddStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportOddStyle.Name          = "ReportOddStyle";
     this.ReportOddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportFooterBandStyle
     //
     this.ReportFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportFooterBandStyle.Name            = "ReportFooterBandStyle";
     this.ReportFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // bottomMarginBand1
     //
     this.bottomMarginBand1.Dpi     = 254F;
     this.bottomMarginBand1.HeightF = 254F;
     this.bottomMarginBand1.Name    = "bottomMarginBand1";
     //
     // topMarginBand1
     //
     this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2
     });
     this.topMarginBand1.Dpi     = 254F;
     this.topMarginBand1.HeightF = 323F;
     this.topMarginBand1.Name    = "topMarginBand1";
     //
     // pageHeaderBand1
     //
     this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1,
         this.xrLabel3
     });
     this.pageHeaderBand1.Dpi                   = 254F;
     this.pageHeaderBand1.Font                  = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.pageHeaderBand1.HeightF               = 74.58331F;
     this.pageHeaderBand1.Name                  = "pageHeaderBand1";
     this.pageHeaderBand1.StyleName             = "ReportHeaderBandStyle";
     this.pageHeaderBand1.StylePriority.UseFont = false;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel1.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel1.Dpi           = 254F;
     this.xrLabel1.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(1243.804F, 74.58331F);
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UsePadding       = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "Вид работы";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel1.WordWrap      = false;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
     this.xrLabel3.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel3.Dpi           = 254F;
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F);
     this.xrLabel3.Multiline     = true;
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(527.1958F, 74.58331F);
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseBorders       = false;
     this.xrLabel3.StylePriority.UsePadding       = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "Время";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // detailBand1
     //
     this.detailBand1.Dpi                  = 254F;
     this.detailBand1.EvenStyleName        = "ReportEvenStyle";
     this.detailBand1.HeightF              = 0F;
     this.detailBand1.LockedInUserDesigner = true;
     this.detailBand1.Name                 = "detailBand1";
     this.detailBand1.OddStyleName         = "ReportOddStyle";
     this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None)
     });
     this.detailBand1.StyleName = "ReportDetailBandStyle";
     //
     // ReportGroupHeaderBandStyle
     //
     this.ReportGroupHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportGroupHeaderBandStyle.Name          = "ReportGroupHeaderBandStyle";
     this.ReportGroupHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F);
     this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportHeaderBandStyle
     //
     this.ReportHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
     this.ReportHeaderBandStyle.Name          = "ReportHeaderBandStyle";
     this.ReportHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // groupHeaderBand1
     //
     this.groupHeaderBand1.Dpi      = 254F;
     this.groupHeaderBand1.Expanded = false;
     this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("work", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
     this.groupHeaderBand1.HeightF    = 0F;
     this.groupHeaderBand1.Name       = "groupHeaderBand1";
     this.groupHeaderBand1.StyleName  = "ReportGroupHeaderBandStyle";
     //
     // ReportGroupFooterBandStyle
     //
     this.ReportGroupFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
     this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.ReportGroupFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
     this.ReportGroupFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ReportGroupFooterBandStyle.Name            = "ReportGroupFooterBandStyle";
     this.ReportGroupFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportGroupFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // ReportEvenStyle
     //
     this.ReportEvenStyle.BackColor     = System.Drawing.Color.Transparent;
     this.ReportEvenStyle.Name          = "ReportEvenStyle";
     this.ReportEvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
     this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // totalBindingSource
     //
     this.totalBindingSource.DataMember = "total";
     //
     // reportFooterBand1
     //
     this.reportFooterBand1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.reportFooterBand1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrChart1,
         this.xrLabel10,
         this.xrLabel6
     });
     this.reportFooterBand1.Dpi       = 254F;
     this.reportFooterBand1.HeightF   = 1651.213F;
     this.reportFooterBand1.Name      = "reportFooterBand1";
     this.reportFooterBand1.StyleName = "ReportFooterBandStyle";
     this.reportFooterBand1.StylePriority.UseBackColor   = false;
     this.reportFooterBand1.StylePriority.UseBorderColor = false;
     //
     // xrChart1
     //
     this.xrChart1.AnchorHorizontal           = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
     this.xrChart1.AnchorVertical             = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
     this.xrChart1.AppearanceNameSerializable = "Nature Colors";
     this.xrChart1.AutoLayout      = true;
     this.xrChart1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.xrChart1.BorderColor     = System.Drawing.Color.Black;
     this.xrChart1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrChart1.Borders         = DevExpress.XtraPrinting.BorderSide.None;
     simpleDiagram1.LabelsResolveOverlappingMinIndent = 5;
     this.xrChart1.Diagram = simpleDiagram1;
     this.xrChart1.Dpi     = 254F;
     this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
     this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
     this.xrChart1.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
     this.xrChart1.Legend.Name               = "Default Legend";
     this.xrChart1.LocationFloat             = new DevExpress.Utils.PointFloat(4.037221E-05F, 66.14697F);
     this.xrChart1.Name                      = "xrChart1";
     this.xrChart1.PaletteName               = "Mixed";
     rangeBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
     series1.Label             = rangeBarSeriesLabel1;
     series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
     series1.LegendTextPattern = "{A}{VP:0.00%}";
     series1.Name = "Ряд 1";
     overlappedRangeBarSeriesView1.BarWidth           = 0.5D;
     overlappedRangeBarSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
     overlappedRangeBarSeriesView1.ColorEach          = true;
     overlappedRangeBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch;
     series1.View    = overlappedRangeBarSeriesView1;
     series1.Visible = false;
     pieSeriesLabel1.EnableAntialiasing     = DevExpress.Utils.DefaultBoolean.True;
     pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default;
     pieSeriesLabel1.TextPattern            = "{A} {VP:0.00%}";
     series2.Label             = pieSeriesLabel1;
     series2.LegendName        = "Default Legend";
     series2.LegendTextPattern = "{A}";
     series2.Name = "Ряд 2";
     pieSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
     pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
     pieSeriesView1.Rotation           = 270;
     pieSeriesView1.SweepDirection     = DevExpress.XtraCharts.PieSweepDirection.Clockwise;
     series2.View = pieSeriesView1;
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series1,
         series2
     };
     this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1585.066F);
     this.xrChart1.StylePriority.UseBorderDashStyle = false;
     //
     // xrLabel10
     //
     this.xrLabel10.BackColor     = System.Drawing.Color.White;
     this.xrLabel10.BorderColor   = System.Drawing.Color.Black;
     this.xrLabel10.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel10.Dpi           = 254F;
     this.xrLabel10.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.0003229777F, 0F);
     this.xrLabel10.Name          = "xrLabel10";
     this.xrLabel10.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel10.SizeF         = new System.Drawing.SizeF(1243.804F, 45.47914F);
     this.xrLabel10.StylePriority.UseBackColor     = false;
     this.xrLabel10.StylePriority.UseBorderColor   = false;
     this.xrLabel10.StylePriority.UseBorders       = false;
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text          = "Итого:";
     this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.xrLabel6.BorderColor     = System.Drawing.Color.Red;
     this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrLabel6.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                            | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
     });
     this.xrLabel6.Dpi           = 254F;
     this.xrLabel6.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.xrLabel6.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F);
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(527.1958F, 45.47914F);
     this.xrLabel6.StylePriority.UseBackColor       = false;
     this.xrLabel6.StylePriority.UseBorderColor     = false;
     this.xrLabel6.StylePriority.UseBorderDashStyle = false;
     this.xrLabel6.StylePriority.UseBorders         = false;
     this.xrLabel6.StylePriority.UseFont            = false;
     this.xrLabel6.StylePriority.UseForeColor       = false;
     this.xrLabel6.StylePriority.UsePadding         = false;
     this.xrLabel6.StylePriority.UseTextAlignment   = false;
     xrSummary2.FormatString          = "{0:HH:mm}";
     xrSummary2.IgnoreNullValues      = true;
     xrSummary2.Running               = DevExpress.XtraReports.UI.SummaryRunning.Report;
     this.xrLabel6.Summary            = xrSummary2;
     this.xrLabel6.Text               = "xrLabel6";
     this.xrLabel6.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel6.WordWrap           = false;
     this.xrLabel6.XlsxFormatString   = "[h]:mm";
     this.xrLabel6.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel6_SummaryGetResult);
     this.xrLabel6.SummaryRowChanged += new System.EventHandler(this.xrLabel6_SummaryRowChanged);
     //
     // xrLabel2
     //
     this.xrLabel2.Dpi                            = 254F;
     this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 16F);
     this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 109.455F);
     this.xrLabel2.Multiline                      = true;
     this.xrLabel2.Name                           = "xrLabel2";
     this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel2.SizeF                          = new System.Drawing.SizeF(1809F, 213.3366F);
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text                           = "Отчет по видам работ c ";
     this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // month
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.topMarginBand1,
         this.pageHeaderBand1,
         this.groupHeaderBand1,
         this.detailBand1,
         this.groupFooterBand1,
         this.reportFooterBand1,
         this.bottomMarginBand1
     });
     this.Dpi          = 254F;
     this.Margins      = new System.Drawing.Printing.Margins(201, 87, 323, 254);
     this.PageHeight   = 2970;
     this.PageWidth    = 2100;
     this.PaperKind    = System.Drawing.Printing.PaperKind.A4;
     this.ReportUnit   = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
     this.SnapGridSize = 25F;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.ReportHeaderBandStyle,
         this.ReportGroupHeaderBandStyle,
         this.ReportDetailBandStyle,
         this.ReportGroupFooterBandStyle,
         this.ReportFooterBandStyle,
         this.ReportOddStyle,
         this.ReportEvenStyle
     });
     this.Version = "18.1";
     ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(rangeBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(overlappedRangeBarSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail       = new DevExpress.XtraReports.UI.DetailBand();
     this.PageHeader   = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.PageFooter   = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLabel1     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2     = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel4     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3     = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel1
     });
     this.Detail.Height = 21;
     this.Detail.Name   = "Detail";
     //
     // PageHeader
     //
     this.PageHeader.Height = 30;
     this.PageHeader.Name   = "PageHeader";
     //
     // PageFooter
     //
     this.PageFooter.Height = 30;
     this.PageFooter.Name   = "PageFooter";
     //
     // xrLabel1
     //
     this.xrLabel1.Location = new System.Drawing.Point(67, 0);
     this.xrLabel1.Name     = "xrLabel1";
     this.xrLabel1.Size     = new System.Drawing.Size(100, 20);
     this.xrLabel1.Text     = "xrLabel1";
     //
     // xrLabel2
     //
     this.xrLabel2.Location = new System.Drawing.Point(207, 0);
     this.xrLabel2.Name     = "xrLabel2";
     this.xrLabel2.Size     = new System.Drawing.Size(100, 20);
     this.xrLabel2.Text     = "xrLabel2";
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel3,
         this.xrLabel4
     });
     this.GroupHeader1.Height = 20;
     this.GroupHeader1.Name   = "GroupHeader1";
     //
     // xrLabel4
     //
     this.xrLabel4.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel4.Location = new System.Drawing.Point(207, 0);
     this.xrLabel4.Name     = "xrLabel4";
     this.xrLabel4.ParentStyleUsing.UseFont = false;
     this.xrLabel4.Size = new System.Drawing.Size(100, 20);
     this.xrLabel4.Text = "xrLabel4";
     //
     // xrLabel3
     //
     this.xrLabel3.Font     = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.Location = new System.Drawing.Point(67, 0);
     this.xrLabel3.Name     = "xrLabel3";
     this.xrLabel3.ParentStyleUsing.UseFont = false;
     this.xrLabel3.Size = new System.Drawing.Size(100, 20);
     this.xrLabel3.Text = "xrLabel3";
     //
     // XtraReport1
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.PageHeader,
         this.PageFooter,
         this.GroupHeader1
     });
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.xrLabel11         = new DevExpress.XtraReports.UI.XRLabel();
     this.consItem1         = new CMSM.Report.ConsItem();
     this.xrLabel13         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel14         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel15         = new DevExpress.XtraReports.UI.XRLabel();
     this.PageHeader        = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel29         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel28         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrlCardID         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel27         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrlIg             = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel26         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel25         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel24         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrlCharge         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel23         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine1           = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader0      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel10         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel9          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupFooter0      = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.ndRate            = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel30         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel17         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel20         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine2           = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel12         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel16         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel18         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel19         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel21         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel22         = new DevExpress.XtraReports.UI.XRLabel();
     this.sqlDataAdapter1   = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection1    = new System.Data.SqlClient.SqlConnection();
     this.PageFooter        = new DevExpress.XtraReports.UI.PageFooterBand();
     ((System.ComponentModel.ISupportInitialize)(this.consItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel11,
         this.xrLabel13,
         this.xrLabel14,
         this.xrLabel15
     });
     this.Detail.Font   = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Detail.Height = 16;
     this.Detail.Name   = "Detail";
     this.Detail.ParentStyleUsing.UseFont = false;
     //
     // xrLabel11
     //
     this.xrLabel11.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.vcGoodsName", ""));
     this.xrLabel11.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel11.Location = new System.Drawing.Point(0, 0);
     this.xrLabel11.Name     = "xrLabel11";
     this.xrLabel11.ParentStyleUsing.UseFont = false;
     this.xrLabel11.Size      = new System.Drawing.Size(86, 16);
     this.xrLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // consItem1
     //
     this.consItem1.DataSetName = "ConsItem";
     this.consItem1.Locale      = new System.Globalization.CultureInfo("zh-CN");
     //
     // xrLabel13
     //
     this.xrLabel13.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nPrice", ""));
     this.xrLabel13.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel13.Location = new System.Drawing.Point(86, 0);
     this.xrLabel13.Name     = "xrLabel13";
     this.xrLabel13.ParentStyleUsing.UseFont = false;
     this.xrLabel13.Size      = new System.Drawing.Size(32, 16);
     this.xrLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel14
     //
     this.xrLabel14.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.iCount", ""));
     this.xrLabel14.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel14.Location = new System.Drawing.Point(118, 0);
     this.xrLabel14.Name     = "xrLabel14";
     this.xrLabel14.ParentStyleUsing.UseFont = false;
     this.xrLabel14.Size      = new System.Drawing.Size(30, 16);
     this.xrLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel15
     //
     this.xrLabel15.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nFee", ""));
     this.xrLabel15.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel15.Location = new System.Drawing.Point(148, 0);
     this.xrLabel15.Name     = "xrLabel15";
     this.xrLabel15.ParentStyleUsing.UseFont = false;
     this.xrLabel15.Size      = new System.Drawing.Size(41, 16);
     this.xrLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel29,
         this.xrLabel28,
         this.xrlCardID,
         this.xrLabel27,
         this.xrlIg,
         this.xrLabel26,
         this.xrLabel25,
         this.xrLabel24,
         this.xrlCharge,
         this.xrLabel23,
         this.xrLine1,
         this.xrLabel6,
         this.xrLabel5,
         this.xrLabel4,
         this.xrLabel3,
         this.xrLabel2,
         this.xrLabel1
     });
     this.PageHeader.Height = 201;
     this.PageHeader.Name   = "PageHeader";
     //
     // xrLabel29
     //
     this.xrLabel29.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel29.Location = new System.Drawing.Point(58, 133);
     this.xrLabel29.Name     = "xrLabel29";
     this.xrLabel29.ParentStyleUsing.UseFont = false;
     this.xrLabel29.Size = new System.Drawing.Size(93, 17);
     //
     // xrLabel28
     //
     this.xrLabel28.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel28.Location = new System.Drawing.Point(2, 133);
     this.xrLabel28.Name     = "xrLabel28";
     this.xrLabel28.ParentStyleUsing.UseFont = false;
     this.xrLabel28.Size      = new System.Drawing.Size(48, 17);
     this.xrLabel28.Text      = "操作员:";
     this.xrLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // xrlCardID
     //
     this.xrlCardID.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrlCardID.Location = new System.Drawing.Point(46, 67);
     this.xrlCardID.Name     = "xrlCardID";
     this.xrlCardID.ParentStyleUsing.UseFont = false;
     this.xrlCardID.Size = new System.Drawing.Size(127, 17);
     //
     // xrLabel27
     //
     this.xrLabel27.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel27.Location = new System.Drawing.Point(0, 67);
     this.xrLabel27.Name     = "xrLabel27";
     this.xrLabel27.ParentStyleUsing.UseFont = false;
     this.xrLabel27.Size      = new System.Drawing.Size(46, 17);
     this.xrLabel27.Text      = "会员卡:";
     this.xrLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // xrlIg
     //
     this.xrlIg.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrlIg.Location = new System.Drawing.Point(73, 117);
     this.xrlIg.Name     = "xrlIg";
     this.xrlIg.ParentStyleUsing.UseFont = false;
     this.xrlIg.Size = new System.Drawing.Size(93, 17);
     this.xrlIg.Text = "0分";
     //
     // xrLabel26
     //
     this.xrLabel26.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel26.Location = new System.Drawing.Point(0, 117);
     this.xrLabel26.Name     = "xrLabel26";
     this.xrLabel26.ParentStyleUsing.UseFont = false;
     this.xrLabel26.Size      = new System.Drawing.Size(73, 16);
     this.xrLabel26.Text      = "会员积分:";
     this.xrLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // xrLabel25
     //
     this.xrLabel25.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel25.Location = new System.Drawing.Point(58, 167);
     this.xrLabel25.Name     = "xrLabel25";
     this.xrLabel25.ParentStyleUsing.UseFont = false;
     this.xrLabel25.Size = new System.Drawing.Size(126, 17);
     //
     // xrLabel24
     //
     this.xrLabel24.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel24.Location = new System.Drawing.Point(2, 167);
     this.xrLabel24.Name     = "xrLabel24";
     this.xrLabel24.ParentStyleUsing.UseFont = false;
     this.xrLabel24.Size      = new System.Drawing.Size(67, 17);
     this.xrLabel24.Text      = "服务电话:";
     this.xrLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // xrlCharge
     //
     this.xrlCharge.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrlCharge.Location = new System.Drawing.Point(57, 83);
     this.xrlCharge.Name     = "xrlCharge";
     this.xrlCharge.ParentStyleUsing.UseFont = false;
     this.xrlCharge.Size = new System.Drawing.Size(119, 16);
     this.xrlCharge.Text = "0元";
     //
     // xrLabel23
     //
     this.xrLabel23.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel23.Location = new System.Drawing.Point(0, 83);
     this.xrLabel23.Name     = "xrLabel23";
     this.xrLabel23.ParentStyleUsing.UseFont = false;
     this.xrLabel23.Size      = new System.Drawing.Size(57, 16);
     this.xrLabel23.Text      = "会员余额:";
     this.xrLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // xrLine1
     //
     this.xrLine1.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
     this.xrLine1.Location  = new System.Drawing.Point(0, 175);
     this.xrLine1.Name      = "xrLine1";
     this.xrLine1.Size      = new System.Drawing.Size(186, 8);
     //
     // xrLabel6
     //
     this.xrLabel6.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel6.Location = new System.Drawing.Point(50, 100);
     this.xrLabel6.Name     = "xrLabel6";
     this.xrLabel6.ParentStyleUsing.UseFont = false;
     this.xrLabel6.Size = new System.Drawing.Size(123, 16);
     this.xrLabel6.Text = "0";
     //
     // xrLabel5
     //
     this.xrLabel5.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel5.Location = new System.Drawing.Point(3, 100);
     this.xrLabel5.Name     = "xrLabel5";
     this.xrLabel5.ParentStyleUsing.UseFont = false;
     this.xrLabel5.Size = new System.Drawing.Size(46, 16);
     this.xrLabel5.Text = "小票号:";
     //
     // xrLabel4
     //
     this.xrLabel4.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel4.Location = new System.Drawing.Point(58, 150);
     this.xrLabel4.Name     = "xrLabel4";
     this.xrLabel4.ParentStyleUsing.UseFont = false;
     this.xrLabel4.Size = new System.Drawing.Size(112, 20);
     this.xrLabel4.Text = "2007-04-28";
     //
     // xrLabel3
     //
     this.xrLabel3.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel3.Location = new System.Drawing.Point(2, 150);
     this.xrLabel3.Name     = "xrLabel3";
     this.xrLabel3.ParentStyleUsing.UseFont = false;
     this.xrLabel3.Size = new System.Drawing.Size(48, 19);
     this.xrLabel3.Text = "日  期:";
     //
     // xrLabel2
     //
     this.xrLabel2.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel2.Location = new System.Drawing.Point(0, 33);
     this.xrLabel2.Name     = "xrLabel2";
     this.xrLabel2.ParentStyleUsing.UseFont = false;
     this.xrLabel2.Size = new System.Drawing.Size(185, 27);
     this.xrLabel2.Text = "谢谢惠顾!";
     //
     // xrLabel1
     //
     this.xrLabel1.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel1.Location = new System.Drawing.Point(50, 8);
     this.xrLabel1.Name     = "xrLabel1";
     this.xrLabel1.ParentStyleUsing.UseFont = false;
     this.xrLabel1.Size = new System.Drawing.Size(97, 16);
     //
     // GroupHeader0
     //
     this.GroupHeader0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel10,
         this.xrLabel9,
         this.xrLabel8,
         this.xrLabel7
     });
     this.GroupHeader0.Height = 16;
     this.GroupHeader0.Name   = "GroupHeader0";
     //
     // xrLabel10
     //
     this.xrLabel10.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel10.Location = new System.Drawing.Point(148, 0);
     this.xrLabel10.Name     = "xrLabel10";
     this.xrLabel10.ParentStyleUsing.UseFont = false;
     this.xrLabel10.Size      = new System.Drawing.Size(41, 16);
     this.xrLabel10.Text      = "小计";
     this.xrLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel9
     //
     this.xrLabel9.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel9.Location = new System.Drawing.Point(118, 0);
     this.xrLabel9.Name     = "xrLabel9";
     this.xrLabel9.ParentStyleUsing.UseFont = false;
     this.xrLabel9.Size      = new System.Drawing.Size(30, 16);
     this.xrLabel9.Text      = "数量";
     this.xrLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel8
     //
     this.xrLabel8.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel8.Location = new System.Drawing.Point(86, 0);
     this.xrLabel8.Name     = "xrLabel8";
     this.xrLabel8.ParentStyleUsing.UseFont = false;
     this.xrLabel8.Size      = new System.Drawing.Size(32, 16);
     this.xrLabel8.Text      = "单价";
     this.xrLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel7
     //
     this.xrLabel7.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel7.Location = new System.Drawing.Point(0, 0);
     this.xrLabel7.Name     = "xrLabel7";
     this.xrLabel7.ParentStyleUsing.UseFont = false;
     this.xrLabel7.Size = new System.Drawing.Size(86, 16);
     this.xrLabel7.Text = "商品名称";
     //
     // GroupFooter0
     //
     this.GroupFooter0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.ndRate,
         this.xrLabel30,
         this.xrLabel17,
         this.xrLabel20,
         this.xrLine2,
         this.xrLabel12,
         this.xrLabel16,
         this.xrLabel18,
         this.xrLabel19,
         this.xrLabel21,
         this.xrLabel22
     });
     this.GroupFooter0.Height = 88;
     this.GroupFooter0.Name   = "GroupFooter0";
     //
     // ndRate
     //
     this.ndRate.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.ndRate.Location = new System.Drawing.Point(133, 16);
     this.ndRate.Name     = "ndRate";
     this.ndRate.ParentStyleUsing.UseFont = false;
     this.ndRate.Size      = new System.Drawing.Size(56, 16);
     this.ndRate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel30
     //
     this.xrLabel30.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel30.Location = new System.Drawing.Point(65, 16);
     this.xrLabel30.Name     = "xrLabel30";
     this.xrLabel30.ParentStyleUsing.UseFont = false;
     this.xrLabel30.Size      = new System.Drawing.Size(67, 16);
     this.xrLabel30.Text      = "折扣率:";
     this.xrLabel30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // xrLabel17
     //
     this.xrLabel17.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel17.Location = new System.Drawing.Point(65, 32);
     this.xrLabel17.Name     = "xrLabel17";
     this.xrLabel17.ParentStyleUsing.UseFont = false;
     this.xrLabel17.Size      = new System.Drawing.Size(67, 16);
     this.xrLabel17.Text      = "折扣合计:";
     this.xrLabel17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // xrLabel20
     //
     this.xrLabel20.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel20.Location = new System.Drawing.Point(65, 64);
     this.xrLabel20.Name     = "xrLabel20";
     this.xrLabel20.ParentStyleUsing.UseFont = false;
     this.xrLabel20.Size      = new System.Drawing.Size(67, 16);
     this.xrLabel20.Text      = "找零:";
     this.xrLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // xrLine2
     //
     this.xrLine2.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot;
     this.xrLine2.Location  = new System.Drawing.Point(0, 80);
     this.xrLine2.Name      = "xrLine2";
     this.xrLine2.Size      = new System.Drawing.Size(186, 8);
     //
     // xrLabel12
     //
     this.xrLabel12.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel12.Location = new System.Drawing.Point(65, 0);
     this.xrLabel12.Name     = "xrLabel12";
     this.xrLabel12.ParentStyleUsing.UseFont = false;
     this.xrLabel12.Size      = new System.Drawing.Size(67, 16);
     this.xrLabel12.Text      = "应收合计:";
     this.xrLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // xrLabel16
     //
     this.xrLabel16.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nTFee", ""));
     this.xrLabel16.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel16.Location = new System.Drawing.Point(133, 0);
     this.xrLabel16.Name     = "xrLabel16";
     this.xrLabel16.ParentStyleUsing.UseFont = false;
     this.xrLabel16.Size      = new System.Drawing.Size(55, 16);
     this.xrLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel18
     //
     this.xrLabel18.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nTRate", ""));
     this.xrLabel18.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel18.Location = new System.Drawing.Point(133, 32);
     this.xrLabel18.Name     = "xrLabel18";
     this.xrLabel18.ParentStyleUsing.UseFont = false;
     this.xrLabel18.Size      = new System.Drawing.Size(55, 16);
     this.xrLabel18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel19
     //
     this.xrLabel19.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.vcCommName", ""));
     this.xrLabel19.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel19.Location = new System.Drawing.Point(65, 48);
     this.xrLabel19.Name     = "xrLabel19";
     this.xrLabel19.ParentStyleUsing.UseFont = false;
     this.xrLabel19.Size      = new System.Drawing.Size(67, 16);
     this.xrLabel19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // xrLabel21
     //
     this.xrLabel21.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nPay", ""));
     this.xrLabel21.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel21.Location = new System.Drawing.Point(133, 48);
     this.xrLabel21.Name     = "xrLabel21";
     this.xrLabel21.ParentStyleUsing.UseFont = false;
     this.xrLabel21.Size      = new System.Drawing.Size(55, 16);
     this.xrLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel22
     //
     this.xrLabel22.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nBalance", ""));
     this.xrLabel22.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel22.Location = new System.Drawing.Point(133, 64);
     this.xrLabel22.Name     = "xrLabel22";
     this.xrLabel22.ParentStyleUsing.UseFont = false;
     this.xrLabel22.Size      = new System.Drawing.Size(55, 16);
     this.xrLabel22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // sqlDataAdapter1
     //
     this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
     this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "tbConsItem", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("vcGoodsName", "vcGoodsName"),
             new System.Data.Common.DataColumnMapping("nPrice", "nPrice"),
             new System.Data.Common.DataColumnMapping("iCount", "iCount"),
             new System.Data.Common.DataColumnMapping("nFee", "nFee"),
             new System.Data.Common.DataColumnMapping("nTRate", "nTRate"),
             new System.Data.Common.DataColumnMapping("nTFee", "nTFee"),
             new System.Data.Common.DataColumnMapping("nPay", "nPay"),
             new System.Data.Common.DataColumnMapping("nBalance", "nBalance"),
             new System.Data.Common.DataColumnMapping("vcCommName", "vcCommName")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = @"SELECT tbGoods.vcGoodsName, tbConsItem.vcCardID, tbConsItem.nPrice, tbConsItem.iCount, tbConsItem.nFee, tbBill.nTRate, tbBill.nFee AS nTFee, tbBill.nPay, tbBill.nBalance, tbCommCode.vcCommName, tbConsItem.vcOperName FROM tbConsItem INNER JOIN tbGoods ON tbConsItem.vcGoodsID = tbGoods.vcGoodsID INNER JOIN tbBill ON tbConsItem.iSerial = tbBill.iSerial INNER JOIN tbCommCode ON tbBill.vcConsType = tbCommCode.vcCommCode";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = "workstation id=\"KMDX-Z9E5N5MK76\";packet size=4096;user id=sa;data source=\".\\sqlex" +
                                            "press\";persist security info=False;initial catalog=AMSCM_GY";
     this.sqlConnection1.InfoMessage += new System.Data.SqlClient.SqlInfoMessageEventHandler(this.sqlConnection1_InfoMessage);
     //
     // PageFooter
     //
     this.PageFooter.Height = 0;
     this.PageFooter.Name   = "PageFooter";
     //
     // xrConsTiny
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.PageHeader,
         this.GroupHeader0,
         this.GroupFooter0,
         this.PageFooter
     });
     this.DataAdapter = this.sqlDataAdapter1;
     this.DataSource  = this.consItem1;
     this.PageWidth   = 392;
     ((System.ComponentModel.ISupportInitialize)(this.consItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Esempio n. 5
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary1                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary2                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary3                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary4                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraCharts.SimpleDiagram                       simpleDiagram1            = new DevExpress.XtraCharts.SimpleDiagram();
            DevExpress.XtraCharts.Series                              series1                   = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.SideBySideBarSeriesLabel            sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
            DevExpress.XtraCharts.SideBySideBarSeriesView             sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
            DevExpress.XtraCharts.Series                              series2                   = new DevExpress.XtraCharts.Series();
            DevExpress.XtraCharts.PieSeriesLabel                      pieSeriesLabel1           = new DevExpress.XtraCharts.PieSeriesLabel();
            DevExpress.XtraCharts.PieSeriesView                       pieSeriesView1            = new DevExpress.XtraCharts.PieSeriesView();
            DevExpress.XtraCharts.KeyColorColorizer                   keyColorColorizer1        = new DevExpress.XtraCharts.KeyColorColorizer();
            DevExpress.XtraReports.UI.XRSummary                       xrSummary5                = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo objectConstructorInfo1    = new DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo();
            this.ReportFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportDetailBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.detailBand1           = new DevExpress.XtraReports.UI.DetailBand();
            this.xrLabel14             = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel12             = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel8                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel10                  = new DevExpress.XtraReports.UI.XRLabel();
            this.ReportOddStyle             = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportHeaderBandStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
            this.bottomMarginBand1          = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.pageHeaderBand1            = new DevExpress.XtraReports.UI.PageHeaderBand();
            this.xrLabel5                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel3                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel6                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel7                   = new DevExpress.XtraReports.UI.XRLabel();
            this.topMarginBand1             = new DevExpress.XtraReports.UI.TopMarginBand();
            this.xrLabel2                   = new DevExpress.XtraReports.UI.XRLabel();
            this.reportFooterBand1          = new DevExpress.XtraReports.UI.ReportFooterBand();
            this.xrChart1                   = new DevExpress.XtraReports.UI.XRChart();
            this.xrLabel1                   = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel9                   = new DevExpress.XtraReports.UI.XRLabel();
            this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportEvenStyle            = new DevExpress.XtraReports.UI.XRControlStyle();
            this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle();
            this.groupHeaderBand1           = new DevExpress.XtraReports.UI.GroupHeaderBand();
            this.formattingRule1            = new DevExpress.XtraReports.UI.FormattingRule();
            this.totalBindingSource         = new System.Windows.Forms.BindingSource(this.components);
            this.objectDataSource1          = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
            this.objectDataSource2          = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // ReportFooterBandStyle
            //
            this.ReportFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.ReportFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
            this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.ReportFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
            this.ReportFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.ReportFooterBandStyle.Name            = "ReportFooterBandStyle";
            this.ReportFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportDetailBandStyle
            //
            this.ReportDetailBandStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportDetailBandStyle.Name          = "ReportDetailBandStyle";
            this.ReportDetailBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // detailBand1
            //
            this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel14,
                this.xrLabel12,
                this.xrLabel8,
                this.xrLabel10
            });
            this.detailBand1.Dpi           = 254F;
            this.detailBand1.EvenStyleName = "ReportEvenStyle";
            this.detailBand1.HeightF       = 52.22913F;
            this.detailBand1.Name          = "detailBand1";
            this.detailBand1.OddStyleName  = "ReportOddStyle";
            this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None)
            });
            this.detailBand1.StyleName = "ReportDetailBandStyle";
            //
            // xrLabel14
            //
            this.xrLabel14.AnchorVertical  = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top;
            this.xrLabel14.BackColor       = System.Drawing.Color.White;
            this.xrLabel14.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel14.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel14.Borders         = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "other")
            });
            this.xrLabel14.Dpi           = 254F;
            this.xrLabel14.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel14.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F);
            this.xrLabel14.Name          = "xrLabel14";
            this.xrLabel14.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F);
            this.xrLabel14.SizeF         = new System.Drawing.SizeF(911.8032F, 52.22913F);
            this.xrLabel14.StylePriority.UseBackColor       = false;
            this.xrLabel14.StylePriority.UseBorderColor     = false;
            this.xrLabel14.StylePriority.UseBorderDashStyle = false;
            this.xrLabel14.StylePriority.UseBorders         = false;
            this.xrLabel14.StylePriority.UseFont            = false;
            this.xrLabel14.StylePriority.UseForeColor       = false;
            this.xrLabel14.StylePriority.UsePadding         = false;
            this.xrLabel14.StylePriority.UseTextAlignment   = false;
            xrSummary1.FormatString      = "{0:}";
            xrSummary1.IgnoreNullValues  = true;
            this.xrLabel14.Summary       = xrSummary1;
            this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrLabel14.Multiline     = true;
            this.xrLabel14.WordWrap      = true;
            //
            // xrLabel12
            //
            this.xrLabel12.AnchorVertical  = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both;
            this.xrLabel12.BackColor       = System.Drawing.Color.White;
            this.xrLabel12.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel12.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel12.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "work")
            });
            this.xrLabel12.Dpi                              = 254F;
            this.xrLabel12.Font                             = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel12.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel12.LocationFloat                    = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel12.Name                             = "xrLabel12";
            this.xrLabel12.Padding                          = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F);
            this.xrLabel12.ProcessDuplicatesMode            = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
            this.xrLabel12.SizeF                            = new System.Drawing.SizeF(378.7435F, 52.22913F);
            this.xrLabel12.StylePriority.UseBackColor       = false;
            this.xrLabel12.StylePriority.UseBorderColor     = false;
            this.xrLabel12.StylePriority.UseBorderDashStyle = false;
            this.xrLabel12.StylePriority.UseBorders         = false;
            this.xrLabel12.StylePriority.UseFont            = false;
            this.xrLabel12.StylePriority.UseForeColor       = false;
            this.xrLabel12.StylePriority.UsePadding         = false;
            this.xrLabel12.StylePriority.UseTextAlignment   = false;
            xrSummary2.FormatString                         = "{0:}";
            xrSummary2.IgnoreNullValues                     = true;
            this.xrLabel12.Summary                          = xrSummary2;
            this.xrLabel12.TextAlignment                    = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrLabel12.WordWrap                         = true;
            this.xrLabel12.Multiline                        = true;
            //
            // xrLabel8
            //
            this.xrLabel14.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both;
            this.xrLabel8.BackColor       = System.Drawing.Color.White;
            this.xrLabel8.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel8.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel8.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
            });
            this.xrLabel8.Dpi           = 254F;
            this.xrLabel8.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel8.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F);
            this.xrLabel8.Name          = "xrLabel8";
            this.xrLabel8.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel8.SizeF         = new System.Drawing.SizeF(270.757F, 52.22913F);
            this.xrLabel8.StylePriority.UseBackColor       = false;
            this.xrLabel8.StylePriority.UseBorderColor     = false;
            this.xrLabel8.StylePriority.UseBorderDashStyle = false;
            this.xrLabel8.StylePriority.UseBorders         = false;
            this.xrLabel8.StylePriority.UseFont            = false;
            this.xrLabel8.StylePriority.UseForeColor       = false;
            this.xrLabel8.StylePriority.UsePadding         = false;
            this.xrLabel8.StylePriority.UseTextAlignment   = false;
            this.xrLabel8.Multiline     = true;
            xrSummary3.FormatString     = "{0:}";
            xrSummary3.IgnoreNullValues = true;
            this.xrLabel8.Summary       = xrSummary3;
            this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel8.WordWrap      = false;
            //
            // xrLabel10
            //
            this.xrLabel10.BackColor       = System.Drawing.Color.White;
            this.xrLabel10.BorderColor     = System.Drawing.Color.Black;
            this.xrLabel10.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel10.Borders         = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "work_time_span")
            });
            this.xrLabel10.Dpi                              = 254F;
            this.xrLabel10.Font                             = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel10.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel10.LocationFloat                    = new DevExpress.Utils.PointFloat(1561.304F, 0F);
            this.xrLabel10.Name                             = "xrLabel10";
            this.xrLabel10.Padding                          = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel10.ProcessDuplicatesMode            = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
            this.xrLabel10.SizeF                            = new System.Drawing.SizeF(247.696F, 52.22913F);
            this.xrLabel10.StylePriority.UseBackColor       = false;
            this.xrLabel10.StylePriority.UseBorderColor     = false;
            this.xrLabel10.StylePriority.UseBorderDashStyle = false;
            this.xrLabel10.StylePriority.UseBorders         = false;
            this.xrLabel10.StylePriority.UseFont            = false;
            this.xrLabel10.StylePriority.UseForeColor       = false;
            this.xrLabel10.StylePriority.UsePadding         = false;
            this.xrLabel10.StylePriority.UseTextAlignment   = false;
            xrSummary4.FormatString                         = "{0:}";
            xrSummary4.IgnoreNullValues                     = true;
            this.xrLabel10.Summary                          = xrSummary4;
            this.xrLabel10.TextAlignment                    = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel10.WordWrap                         = false;
            //
            // ReportOddStyle
            //
            this.ReportOddStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportOddStyle.Name          = "ReportOddStyle";
            this.ReportOddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportHeaderBandStyle
            //
            this.ReportHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
            this.ReportHeaderBandStyle.Name          = "ReportHeaderBandStyle";
            this.ReportHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // bottomMarginBand1
            //
            this.bottomMarginBand1.Dpi         = 254F;
            this.bottomMarginBand1.HeightF     = 217F;
            this.bottomMarginBand1.Name        = "bottomMarginBand1";
            this.bottomMarginBand1.AfterPrint += new System.EventHandler(this.bottomMarginBand1_AfterPrint);
            //
            // pageHeaderBand1
            //
            this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel5,
                this.xrLabel3,
                this.xrLabel6,
                this.xrLabel7
            });
            this.pageHeaderBand1.Dpi       = 254F;
            this.pageHeaderBand1.HeightF   = 71.93747F;
            this.pageHeaderBand1.Name      = "pageHeaderBand1";
            this.pageHeaderBand1.StyleName = "ReportHeaderBandStyle";
            //
            // xrLabel5
            //
            this.xrLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel5.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel5.Dpi           = 254F;
            this.xrLabel5.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(1561.304F, 0F);
            this.xrLabel5.Name          = "xrLabel5";
            this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel5.SizeF         = new System.Drawing.SizeF(247.6963F, 71.93747F);
            this.xrLabel5.StylePriority.UseBackColor     = false;
            this.xrLabel5.StylePriority.UseBorders       = false;
            this.xrLabel5.StylePriority.UseFont          = false;
            this.xrLabel5.StylePriority.UsePadding       = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text          = "Итого";
            this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel3
            //
            this.xrLabel3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel3.Borders       = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Bottom | DevExpress.XtraPrinting.BorderSide.Top))));
            this.xrLabel3.Dpi           = 254F;
            this.xrLabel3.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F);
            this.xrLabel3.Name          = "xrLabel3";
            this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel3.SizeF         = new System.Drawing.SizeF(911.8033F, 71.93747F);
            this.xrLabel3.StylePriority.UseBackColor     = false;
            this.xrLabel3.StylePriority.UseBorders       = false;
            this.xrLabel3.StylePriority.UseFont          = false;
            this.xrLabel3.StylePriority.UsePadding       = false;
            this.xrLabel3.StylePriority.UseTextAlignment = false;
            this.xrLabel3.Text          = "Дополнительная информация";
            this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel6
            //
            this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel6.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                              | DevExpress.XtraPrinting.BorderSide.Right)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel6.Dpi           = 254F;
            this.xrLabel6.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F);
            this.xrLabel6.Name          = "xrLabel6";
            this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel6.SizeF         = new System.Drawing.SizeF(270.757F, 71.93747F);
            this.xrLabel6.StylePriority.UseBackColor     = false;
            this.xrLabel6.StylePriority.UseBorders       = false;
            this.xrLabel6.StylePriority.UseFont          = false;
            this.xrLabel6.StylePriority.UsePadding       = false;
            this.xrLabel6.StylePriority.UseTextAlignment = false;
            this.xrLabel6.Text          = "Время";
            this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel7
            //
            this.xrLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251)))));
            this.xrLabel7.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                             | DevExpress.XtraPrinting.BorderSide.Bottom)
                                                                            | DevExpress.XtraPrinting.BorderSide.Right));
            this.xrLabel7.Dpi           = 254F;
            this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel7.Name          = "xrLabel7";
            this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel7.SizeF         = new System.Drawing.SizeF(378.7435F, 71.93747F);
            this.xrLabel7.StylePriority.UseBackColor     = false;
            this.xrLabel7.StylePriority.UseBorders       = false;
            this.xrLabel7.StylePriority.UseFont          = false;
            this.xrLabel7.StylePriority.UsePadding       = false;
            this.xrLabel7.StylePriority.UseTextAlignment = false;
            this.xrLabel7.Text          = "Вид работ";
            this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // topMarginBand1
            //
            this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel2
            });
            this.topMarginBand1.Dpi     = 254F;
            this.topMarginBand1.HeightF = 323F;
            this.topMarginBand1.Name    = "topMarginBand1";
            //
            // xrLabel2
            //
            this.xrLabel2.Dpi                            = 254F;
            this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 16F);
            this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 109.455F);
            this.xrLabel2.Multiline                      = true;
            this.xrLabel2.Name                           = "xrLabel2";
            this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel2.SizeF                          = new System.Drawing.SizeF(1809F, 213.3366F);
            this.xrLabel2.StylePriority.UseFont          = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text                           = "Отчет по видам работ c ";
            this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // reportFooterBand1
            //
            this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrChart1,
                this.xrLabel1,
                this.xrLabel9
            });
            this.reportFooterBand1.Dpi       = 254F;
            this.reportFooterBand1.HeightF   = 1651.213F;
            this.reportFooterBand1.Name      = "reportFooterBand1";
            this.reportFooterBand1.StyleName = "ReportFooterBandStyle";
            //
            // xrChart1
            //
            this.xrChart1.AnchorHorizontal           = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right)));
            this.xrChart1.AnchorVertical             = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
            this.xrChart1.AppearanceNameSerializable = "Nature Colors";
            this.xrChart1.AutoLayout      = true;
            this.xrChart1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.xrChart1.BorderColor     = System.Drawing.Color.Black;
            this.xrChart1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrChart1.Borders         = DevExpress.XtraPrinting.BorderSide.None;
            simpleDiagram1.LabelsResolveOverlappingMinIndent = 5;
            this.xrChart1.Diagram = simpleDiagram1;
            this.xrChart1.Dpi     = 254F;
            this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
            this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
            this.xrChart1.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
            this.xrChart1.Legend.Name   = "Default Legend";
            this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.35414F);
            this.xrChart1.Name          = "xrChart1";
            this.xrChart1.PaletteName   = "Pastel Kit";
            sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesLabel1.Position           = DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside;
            series1.Label             = sideBySideBarSeriesLabel1;
            series1.LabelsVisibility  = DevExpress.Utils.DefaultBoolean.False;
            series1.LegendTextPattern = "{A}";
            series1.Name = "Ряд 1";
            sideBySideBarSeriesView1.BarWidth           = 0.5D;
            sideBySideBarSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
            sideBySideBarSeriesView1.ColorEach          = true;
            sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch;
            series1.View    = sideBySideBarSeriesView1;
            series1.Visible = false;
            pieSeriesLabel1.EnableAntialiasing     = DevExpress.Utils.DefaultBoolean.True;
            pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default;
            pieSeriesLabel1.TextPattern            = "{A} {VP:0.00%}";
            series2.Label             = pieSeriesLabel1;
            series2.LegendTextPattern = "{A}";
            series2.Name = "Ряд 2";
            pieSeriesView1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
            pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid;
            pieSeriesView1.Rotation           = 270;
            pieSeriesView1.SweepDirection     = DevExpress.XtraCharts.PieSweepDirection.Clockwise;
            series2.View = pieSeriesView1;
            this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
                series1,
                series2
            };
            this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1;
            this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1585.066F);
            this.xrChart1.StylePriority.UseBorderDashStyle = false;
            //
            // xrLabel1
            //
            this.xrLabel1.BackColor     = System.Drawing.Color.White;
            this.xrLabel1.BorderColor   = System.Drawing.Color.Black;
            this.xrLabel1.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrLabel1.Dpi           = 254F;
            this.xrLabel1.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel1.Name          = "xrLabel1";
            this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel1.SizeF         = new System.Drawing.SizeF(1558.304F, 45.47914F);
            this.xrLabel1.StylePriority.UseBackColor     = false;
            this.xrLabel1.StylePriority.UseBorderColor   = false;
            this.xrLabel1.StylePriority.UseBorders       = false;
            this.xrLabel1.StylePriority.UseFont          = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text          = "Итого:";
            this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            //
            // xrLabel9
            //
            this.xrLabel9.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
            this.xrLabel9.BorderColor     = System.Drawing.Color.Red;
            this.xrLabel9.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrLabel9.Borders         = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span")
            });
            this.xrLabel9.Dpi           = 254F;
            this.xrLabel9.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xrLabel9.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1558.304F, 0F);
            this.xrLabel9.Name          = "xrLabel9";
            this.xrLabel9.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
            this.xrLabel9.SizeF         = new System.Drawing.SizeF(250.696F, 45.47914F);
            this.xrLabel9.StylePriority.UseBackColor       = false;
            this.xrLabel9.StylePriority.UseBorderColor     = false;
            this.xrLabel9.StylePriority.UseBorderDashStyle = false;
            this.xrLabel9.StylePriority.UseBorders         = false;
            this.xrLabel9.StylePriority.UseFont            = false;
            this.xrLabel9.StylePriority.UseForeColor       = false;
            this.xrLabel9.StylePriority.UsePadding         = false;
            this.xrLabel9.StylePriority.UseTextAlignment   = false;
            xrSummary5.FormatString          = "{0:HH:mm}";
            xrSummary5.IgnoreNullValues      = true;
            xrSummary5.Running               = DevExpress.XtraReports.UI.SummaryRunning.Report;
            this.xrLabel9.Summary            = xrSummary5;
            this.xrLabel9.Text               = "xrLabel9";
            this.xrLabel9.TextAlignment      = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrLabel9.WordWrap           = false;
            this.xrLabel9.XlsxFormatString   = "[h]:mm";
            this.xrLabel9.SummaryGetResult  += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel9_SummaryGetResult);
            this.xrLabel9.SummaryRowChanged += new System.EventHandler(this.xrLabel9_SummaryRowChanged);
            //
            // ReportGroupFooterBandStyle
            //
            this.ReportGroupFooterBandStyle.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.ReportGroupFooterBandStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255)))));
            this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.ReportGroupFooterBandStyle.Font            = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold);
            this.ReportGroupFooterBandStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.ReportGroupFooterBandStyle.Name            = "ReportGroupFooterBandStyle";
            this.ReportGroupFooterBandStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportGroupFooterBandStyle.TextAlignment   = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportEvenStyle
            //
            this.ReportEvenStyle.BackColor     = System.Drawing.Color.Transparent;
            this.ReportEvenStyle.Name          = "ReportEvenStyle";
            this.ReportEvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F);
            this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // ReportGroupHeaderBandStyle
            //
            this.ReportGroupHeaderBandStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206)))));
            this.ReportGroupHeaderBandStyle.Name          = "ReportGroupHeaderBandStyle";
            this.ReportGroupHeaderBandStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F);
            this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //
            // groupHeaderBand1
            //

            this.groupHeaderBand1.Dpi      = 254F;
            this.groupHeaderBand1.Expanded = false;
            this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("work", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
            });
            this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
            this.groupHeaderBand1.HeightF    = 63.99997F;
            this.groupHeaderBand1.Name       = "groupHeaderBand1";
            this.groupHeaderBand1.StyleName  = "ReportGroupHeaderBandStyle";
            //
            // formattingRule1
            //
            this.formattingRule1.Name = "formattingRule1";
            //
            // totalBindingSource
            //
            this.totalBindingSource.DataMember = "total";
            //
            // objectDataSource1
            //
            this.objectDataSource1.Constructor = objectConstructorInfo1;
            this.objectDataSource1.DataSource  = typeof(formUser);
            this.objectDataSource1.Name        = "objectDataSource1";
            //
            // objectDataSource2
            //
            this.objectDataSource2.DataSource = typeof(formUser);
            this.objectDataSource2.Name       = "objectDataSource2";
            //
            // ReportPrint
            //
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                this.topMarginBand1,
                this.pageHeaderBand1,
                this.groupHeaderBand1,
                this.detailBand1,
                this.reportFooterBand1,
                this.bottomMarginBand1
            });
            this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
                this.objectDataSource1,
                this.objectDataSource2
            });
            this.DataSource = this.totalBindingSource;
            this.Dpi        = 254F;
            this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
                this.formattingRule1
            });
            this.Margins    = new System.Drawing.Printing.Margins(193, 98, 323, 217);
            this.PageHeight = 2970;
            this.PageWidth  = 2100;
            this.PaperKind  = System.Drawing.Printing.PaperKind.A4;
            this.PaperName  = "Custom";
            this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
            this.Scripts.OnDataSourceDemanded = "ReportPrint_DataSourceDemanded";
            this.SnapGridSize = 25F;
            this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
                this.ReportHeaderBandStyle,
                this.ReportGroupHeaderBandStyle,
                this.ReportDetailBandStyle,
                this.ReportGroupFooterBandStyle,
                this.ReportFooterBandStyle,
                this.ReportOddStyle,
                this.ReportEvenStyle
            });
            this.Version = "16.2";
            this.VerticalContentSplitting = DevExpress.XtraPrinting.VerticalContentSplitting.Smart;
            this.PrintProgress           += new DevExpress.XtraPrinting.PrintProgressEventHandler(this.ReportPrint_PrintProgress);
            this.DesignerLoaded          += new DevExpress.XtraReports.UserDesigner.DesignerLoadedEventHandler(this.ReportPrint_DesignerLoaded);
            this.DataSourceDemanded      += new System.EventHandler <System.EventArgs>(this.ReportPrint_DataSourceDemanded);
            this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.ReportPrint_BeforePrint);
            this.AfterPrint  += new System.EventHandler(this.ReportPrint_AfterPrint);
            ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }
Esempio n. 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     this.goodsNew1         = new CMSM.Report.GoodsNew();
     this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
     this.sqlDataAdapter1   = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection1    = new System.Data.SqlClient.SqlConnection();
     this.ReportHeader      = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.GroupHeader0      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel23         = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader1      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     ((System.ComponentModel.ISupportInitialize)(this.goodsNew1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel3
     });
     this.Detail.Height = 16;
     this.Detail.Name   = "Detail";
     //
     // xrLabel2
     //
     this.xrLabel2.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.goodsNew1, "tbGoods.vcGoodsName", ""));
     this.xrLabel2.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.xrLabel2.Location = new System.Drawing.Point(0, 0);
     this.xrLabel2.Name     = "xrLabel2";
     this.xrLabel2.ParentStyleUsing.UseFont = false;
     this.xrLabel2.Size = new System.Drawing.Size(100, 16);
     //
     // goodsNew1
     //
     this.goodsNew1.DataSetName = "GoodsNew";
     this.goodsNew1.Locale      = new System.Globalization.CultureInfo("zh-CN");
     //
     // xrLabel3
     //
     this.xrLabel3.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.goodsNew1, "tbGoods.nPrice", ""));
     this.xrLabel3.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel3.Location = new System.Drawing.Point(125, 0);
     this.xrLabel3.Name     = "xrLabel3";
     this.xrLabel3.ParentStyleUsing.UseFont = false;
     this.xrLabel3.Size = new System.Drawing.Size(56, 16);
     //
     // sqlDataAdapter1
     //
     this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
     this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "tbGoods", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("vcGoodsName", "vcGoodsName"),
             new System.Data.Common.DataColumnMapping("nPrice", "nPrice")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT vcGoodsName, nPrice FROM tbGoods WHERE (cNewFlag = \'1\')";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = "workstation id=KLONG;packet size=4096;user id=sa;data source=klong;persist securi" +
                                            "ty info=False;initial catalog=AMSCM";
     //
     // ReportHeader
     //
     this.ReportHeader.Height = 0;
     this.ReportHeader.Name   = "ReportHeader";
     //
     // GroupHeader0
     //
     this.GroupHeader0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel7,
         this.xrLabel8,
         this.xrLabel23
     });
     this.GroupHeader0.Height = 29;
     this.GroupHeader0.Name   = "GroupHeader0";
     //
     // xrLabel7
     //
     this.xrLabel7.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel7.Location = new System.Drawing.Point(0, 17);
     this.xrLabel7.Name     = "xrLabel7";
     this.xrLabel7.ParentStyleUsing.UseFont = false;
     this.xrLabel7.Size = new System.Drawing.Size(83, 12);
     this.xrLabel7.Text = "商品名称";
     //
     // xrLabel8
     //
     this.xrLabel8.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.xrLabel8.Location = new System.Drawing.Point(123, 17);
     this.xrLabel8.Name     = "xrLabel8";
     this.xrLabel8.ParentStyleUsing.UseFont = false;
     this.xrLabel8.Size      = new System.Drawing.Size(34, 12);
     this.xrLabel8.Text      = "单价";
     this.xrLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // xrLabel23
     //
     this.xrLabel23.Font     = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.xrLabel23.Location = new System.Drawing.Point(0, 0);
     this.xrLabel23.Name     = "xrLabel23";
     this.xrLabel23.ParentStyleUsing.UseFont = false;
     this.xrLabel23.Size = new System.Drawing.Size(117, 17);
     //
     // GroupHeader1
     //
     this.GroupHeader1.Height = 0;
     this.GroupHeader1.Level  = 1;
     this.GroupHeader1.Name   = "GroupHeader1";
     //
     // ADNew
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.ReportHeader,
         this.GroupHeader0,
         this.GroupHeader1
     });
     this.DataAdapter = this.sqlDataAdapter1;
     this.DataSource  = this.goodsNew1;
     this.Margins     = new System.Drawing.Printing.Margins(10, 10, 10, 10);
     ((System.ComponentModel.ISupportInitialize)(this.goodsNew1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }