private void CreateChart() { try { chartBTS.Legends.Clear(); //chartBTS.AppearanceNameSerializable = "Chameleon"; Series series1 = new Series("BTS", ViewType.Bar); chartBTS.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged; DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); Series series2 = new Series("Target", ViewType.Line); DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView(); lineSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.False; sideBySideBarSeriesView1.ColorEach = false; sideBySideBarSeriesView1.Color = System.Drawing.Color.LimeGreen; sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid; series1.Label.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); series1.Label.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); series1.Label.TextPattern = "{V:#,#.0}" + "%"; series1.View = sideBySideBarSeriesView1; series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; series2.Label.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False; series2.Label.TextPattern = "{V:#,#.0}" + "%"; lineSeriesView1.Color = System.Drawing.Color.LimeGreen; lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80))))); lineSeriesView1.LineStyle.Thickness = 4; series2.View = lineSeriesView1; DataTable dt = SEL_SMT_BTS("C", line, mline, opcd, UC_MONTH.GetValue()); if (dt != null && dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { series1.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["BTS"])); series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["TARGET"])); if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) && Convert.ToDouble(dt.Rows[i]["BTS"]) >= Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5) { series1.Points[i].Color = Color.Yellow; } else if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5) { series1.Points[i].Color = Color.Red; } else { series1.Points[i].Color = System.Drawing.Color.LimeGreen; } } chartBTS.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; ((XYDiagram)chartBTS.Diagram).AxisX.Label.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); ((XYDiagram)chartBTS.Diagram).AxisX.Title.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); ((XYDiagram)chartBTS.Diagram).AxisY.Label.TextPattern = "{V:#,#}"; ((XYDiagram)chartBTS.Diagram).AxisY.Label.Font = new System.Drawing.Font("Tahoma", 13F); ((XYDiagram)chartBTS.Diagram).AxisY.Title.Font = new System.Drawing.Font("Calibri", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); ((XYDiagram)chartBTS.Diagram).AxisY.Title.Text = "BTS (%)"; ((XYDiagram)chartBTS.Diagram).AxisY.Title.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); DevExpress.XtraCharts.Legend legend1 = new DevExpress.XtraCharts.Legend(); DevExpress.XtraCharts.CustomLegendItem customLegendItem1 = new DevExpress.XtraCharts.CustomLegendItem(); DevExpress.XtraCharts.CustomLegendItem customLegendItem2 = new DevExpress.XtraCharts.CustomLegendItem(); DevExpress.XtraCharts.CustomLegendItem customLegendItem3 = new DevExpress.XtraCharts.CustomLegendItem(); customLegendItem1.MarkerColor = System.Drawing.Color.LimeGreen; customLegendItem1.Name = "GREEN"; customLegendItem1.Text = ">=" + dt.Rows[0]["TARGET"].ToString() + "%"; customLegendItem2.MarkerColor = System.Drawing.Color.Yellow; customLegendItem2.Name = "YELLOW"; customLegendItem2.Text = ">=" + (Convert.ToDouble(dt.Rows[0]["TARGET"].ToString()) - 5).ToString() + "% and <" + dt.Rows[0]["TARGET"].ToString() + "%"; customLegendItem3.MarkerColor = System.Drawing.Color.Red; customLegendItem3.Name = "RED"; customLegendItem3.Text = "<" + (Convert.ToDouble(dt.Rows[0]["TARGET"].ToString()) - 5).ToString() + "%"; legend1.CustomItems.AddRange(new DevExpress.XtraCharts.CustomLegendItem[] { customLegendItem1, customLegendItem2, customLegendItem3 }); legend1.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Right; legend1.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.TopOutside; legend1.Direction = DevExpress.XtraCharts.LegendDirection.LeftToRight; legend1.Font = new System.Drawing.Font("Tahoma", 12F); legend1.Name = "Legend1"; this.chartBTS.Legends.AddRange(new DevExpress.XtraCharts.Legend[] { legend1 }); } } catch (Exception EX) { } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.RectangleGradientFillOptions rectangleGradientFillOptions1 = new DevExpress.XtraCharts.RectangleGradientFillOptions(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesItemComparsion)); this.salesByItemBindingSource = new System.Windows.Forms.BindingSource(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.dateEdit2 = new DevExpress.XtraEditors.DateEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.dateEdit1 = new DevExpress.XtraEditors.DateEdit(); this.panel2 = new System.Windows.Forms.Panel(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colItemname = new DevExpress.XtraGrid.Columns.GridColumn(); this.colValue = new DevExpress.XtraGrid.Columns.GridColumn(); this.panel3 = new System.Windows.Forms.Panel(); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); ((System.ComponentModel.ISupportInitialize)(this.salesByItemBindingSource)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit(); this.SuspendLayout(); // // salesByItemBindingSource // this.salesByItemBindingSource.DataMember = "SalesByItem"; this.salesByItemBindingSource.DataSource = typeof(VIRETAILENTITIES.DsReports); // // panel1 // this.panel1.Controls.Add(this.simpleButton1); this.panel1.Controls.Add(this.textEdit1); this.panel1.Controls.Add(this.textEdit2); this.panel1.Controls.Add(this.labelControl4); this.panel1.Controls.Add(this.labelControl3); this.panel1.Controls.Add(this.labelControl2); this.panel1.Controls.Add(this.dateEdit2); this.panel1.Controls.Add(this.labelControl1); this.panel1.Controls.Add(this.dateEdit1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(793, 64); this.panel1.TabIndex = 2; // // simpleButton1 // this.simpleButton1.Location = new System.Drawing.Point(408, 34); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(59, 20); this.simpleButton1.TabIndex = 18; this.simpleButton1.Text = "Key F10"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(533, 34); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(189, 20); this.textEdit1.TabIndex = 1; // // textEdit2 // this.textEdit2.EnterMoveNextControl = true; this.textEdit2.Location = new System.Drawing.Point(84, 34); this.textEdit2.Name = "textEdit2"; this.textEdit2.Size = new System.Drawing.Size(318, 20); this.textEdit2.TabIndex = 0; this.textEdit2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textEdit2_KeyDown); // // labelControl4 // this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl4.Location = new System.Drawing.Point(475, 36); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(52, 14); this.labelControl4.TabIndex = 17; this.labelControl4.Text = "Barcode :"; // // labelControl3 // this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl3.Location = new System.Drawing.Point(13, 40); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(68, 14); this.labelControl3.TabIndex = 16; this.labelControl3.Text = "Item name :"; // // labelControl2 // this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl2.Location = new System.Drawing.Point(239, 8); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(53, 14); this.labelControl2.TabIndex = 3; this.labelControl2.Text = "To Date :"; // // dateEdit2 // this.dateEdit2.EditValue = null; this.dateEdit2.Location = new System.Drawing.Point(298, 5); this.dateEdit2.Name = "dateEdit2"; this.dateEdit2.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dateEdit2.Properties.Appearance.Options.UseFont = true; this.dateEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit2.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dateEdit2.Size = new System.Drawing.Size(104, 20); this.dateEdit2.TabIndex = 3; // // labelControl1 // this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl1.Location = new System.Drawing.Point(13, 8); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(65, 14); this.labelControl1.TabIndex = 1; this.labelControl1.Text = "From Date :"; // // dateEdit1 // this.dateEdit1.EditValue = null; this.dateEdit1.Location = new System.Drawing.Point(84, 5); this.dateEdit1.Name = "dateEdit1"; this.dateEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dateEdit1.Properties.Appearance.Options.UseFont = true; this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit1.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dateEdit1.Size = new System.Drawing.Size(104, 20); this.dateEdit1.TabIndex = 2; // // panel2 // this.panel2.Controls.Add(this.gridControl1); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 276); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(793, 173); this.panel2.TabIndex = 3; // // gridControl1 // this.gridControl1.DataSource = this.salesByItemBindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(0, 0); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(793, 173); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colItemname, this.colValue}); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True; this.gridView1.OptionsCustomization.AllowFilter = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // colItemname // this.colItemname.AppearanceCell.Options.UseTextOptions = true; this.colItemname.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.colItemname.AppearanceHeader.Options.UseTextOptions = true; this.colItemname.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colItemname.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.colItemname.Caption = "Item name"; this.colItemname.FieldName = "Itemname"; this.colItemname.Name = "colItemname"; this.colItemname.Visible = true; this.colItemname.VisibleIndex = 0; this.colItemname.Width = 210; // // colValue // this.colValue.AppearanceCell.Options.UseTextOptions = true; this.colValue.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colValue.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.colValue.AppearanceHeader.Options.UseTextOptions = true; this.colValue.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colValue.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.colValue.Caption = "Quantity"; this.colValue.FieldName = "Value"; this.colValue.Name = "colValue"; this.colValue.OptionsColumn.AllowEdit = false; this.colValue.OptionsColumn.ReadOnly = true; this.colValue.Visible = true; this.colValue.VisibleIndex = 1; this.colValue.Width = 87; // // panel3 // this.panel3.Controls.Add(this.chartControl1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 64); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(793, 212); this.panel3.TabIndex = 4; this.panel3.Paint += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint); // // chartControl1 // this.chartControl1.DataSource = this.salesByItemBindingSource; xyDiagram1.AxisX.GridSpacing = 0.5D; xyDiagram1.AxisX.GridSpacingAuto = false; xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram1.AxisX.Range.SideMarginsEnabled = true; xyDiagram1.AxisX.Reverse = true; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram1.AxisY.Range.SideMarginsEnabled = true; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chartControl1.Diagram = xyDiagram1; this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.chartControl1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Gradient; rectangleGradientFillOptions1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); rectangleGradientFillOptions1.GradientMode = DevExpress.XtraCharts.RectangleGradientMode.TopRightToBottomLeft; this.chartControl1.FillStyle.Options = rectangleGradientFillOptions1; this.chartControl1.Location = new System.Drawing.Point(0, 0); this.chartControl1.Name = "chartControl1"; this.chartControl1.SeriesDataMember = "Itemname"; this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; this.chartControl1.SeriesTemplate.ArgumentDataMember = "Itemname"; sideBySideBarSeriesLabel1.LineVisible = true; this.chartControl1.SeriesTemplate.Label = sideBySideBarSeriesLabel1; this.chartControl1.SeriesTemplate.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; this.chartControl1.SeriesTemplate.ValueDataMembersSerializable = "Value"; this.chartControl1.Size = new System.Drawing.Size(793, 212); this.chartControl1.TabIndex = 0; // // SalesItemComparsion // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(793, 449); this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "SalesItemComparsion"; this.Text = "Sales Item Comparsion"; this.Load += new System.EventHandler(this.SalesItemComparsion_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SalesItemComparsion_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.salesByItemBindingSource)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit(); this.ResumeLayout(false); }
private void CreateChart() { try { //chartBTS.AppearanceNameSerializable = "Chameleon"; Series series1 = new Series("BTS", ViewType.Bar); chartBTS.AnimationStartMode = DevExpress.XtraCharts.ChartAnimationMode.OnDataChanged; DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); Series series2 = new Series("Target", ViewType.Line); DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView(); lineSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.False; sideBySideBarSeriesView1.ColorEach = false; sideBySideBarSeriesView1.Color = System.Drawing.Color.LimeGreen; sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid; series1.Label.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); series1.Label.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); series1.Label.TextPattern = "{V:#,#.0}" + "%"; series1.View = sideBySideBarSeriesView1; series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; series2.Label.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False; series2.Label.TextPattern = "{V:#,#.0}" + "%"; lineSeriesView1.Color = System.Drawing.Color.LimeGreen; lineSeriesView1.LineMarkerOptions.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(208)))), ((int)(((byte)(80))))); lineSeriesView1.LineStyle.Thickness = 4; series2.View = lineSeriesView1; DataTable dt = SEL_SMT_BTS_YEAR("C", line, mline, opcd, UC_YEAR.GetValue().ToString()); if (dt != null && dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { series1.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["BTS"])); series2.Points.Add(new SeriesPoint(dt.Rows[i]["DAY"].ToString(), dt.Rows[i]["TARGET"])); if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) && Convert.ToDouble(dt.Rows[i]["BTS"]) >= Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5) { series1.Points[i].Color = Color.Yellow; } else if (Convert.ToDouble(dt.Rows[i]["BTS"]) < Convert.ToDouble(dt.Rows[i]["TARGET"]) - 5) { series1.Points[i].Color = Color.Red; } else { series1.Points[i].Color = System.Drawing.Color.LimeGreen; } } chartBTS.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; ((XYDiagram)chartBTS.Diagram).AxisX.Label.Font = new System.Drawing.Font("Tahoma", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); ((XYDiagram)chartBTS.Diagram).AxisX.Title.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); ((XYDiagram)chartBTS.Diagram).AxisY.Label.TextPattern = "{V:#,#}"; ((XYDiagram)chartBTS.Diagram).AxisY.Label.Font = new System.Drawing.Font("Tahoma", 13F); ((XYDiagram)chartBTS.Diagram).AxisY.Title.Font = new System.Drawing.Font("Calibri", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); ((XYDiagram)chartBTS.Diagram).AxisY.Title.Text = "BTS (%)"; ((XYDiagram)chartBTS.Diagram).AxisY.Title.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); } } catch (Exception EX) { } }
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.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 xrSummary2 = new DevExpress.XtraReports.UI.XRSummary(); this.groupFooterBand1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); 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(); ((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)(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)).BeginInit(); // // groupFooterBand1 // this.groupFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel2, this.xrLabel4 }); this.groupFooterBand1.Dpi = 254F; this.groupFooterBand1.HeightF = 62.81247F; 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.Bottom; this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "name_form") }); 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(221.9238F, 0F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel7.SizeF = new System.Drawing.SizeF(1128.625F, 62.81246F); 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; this.xrLabel7.PrintOnPage += new DevExpress.XtraReports.UI.PrintOnPageEventHandler(this.xrLabel7_PrintOnPage); // // xrLabel2 // this.xrLabel2.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.xrLabel2.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.xrLabel2.BackColor = System.Drawing.Color.White; this.xrLabel2.BorderColor = System.Drawing.Color.Black; this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel2.CanGrow = false; this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "form_id") }); this.xrLabel2.Dpi = 254F; this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0.0002018611F, 0F); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel2.SizeF = new System.Drawing.SizeF(221.9236F, 62.81247F); this.xrLabel2.StylePriority.UseBackColor = false; this.xrLabel2.StylePriority.UseBorderColor = false; this.xrLabel2.StylePriority.UseBorders = false; this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.StylePriority.UsePadding = false; this.xrLabel2.StylePriority.UseTextAlignment = false; this.xrLabel2.Text = "xrLabel2"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrLabel2.WordWrap = false; // // xrLabel4 // this.xrLabel4.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.xrLabel4.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); 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.CanGrow = false; 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", 9.75F, 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(1350.549F, 1.458325F); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel4.SizeF = new System.Drawing.SizeF(402.0969F, 61.35414F); 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:HH:mm}"; xrSummary1.IgnoreNullValues = true; xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group; this.xrLabel4.Summary = xrSummary1; this.xrLabel4.Text = "xrLabel4"; 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"; this.bottomMarginBand1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.bottomMarginBand1_BeforePrint); // // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel5 }); this.topMarginBand1.Dpi = 254F; this.topMarginBand1.HeightF = 326.4375F; this.topMarginBand1.Name = "topMarginBand1"; // // xrLabel5 // this.xrLabel5.CanGrow = false; this.xrLabel5.Dpi = 254F; this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 16F); this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190.2292F); this.xrLabel5.Multiline = true; this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel5.SizeF = new System.Drawing.SizeF(1812F, 136.2083F); this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.StylePriority.UseTextAlignment = false; this.xrLabel5.Text = "Отчет о работе с формами c "; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // 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(1350.549F, 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(1350.549F, 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(402.097F, 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.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("form_id", 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 = 1730.587F; 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.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(3.00018F, 95.25003F); this.xrChart1.Name = "xrChart1"; this.xrChart1.PaletteName = "Mixed"; 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.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; 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, 1635.337F); // // 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.0002018611F, 0F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel10.SizeF = new System.Drawing.SizeF(1350.548F, 63.99998F); 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(1350.549F, 0F); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel6.SizeF = new System.Drawing.SizeF(400.597F, 64F); 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.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom; 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.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel6_SummaryGetResult); this.xrLabel6.SummaryRowChanged += new System.EventHandler(this.xrLabel6_SummaryRowChanged); // // press_form_report // 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, 326, 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 = "16.2"; this.DataSourceRowChanged += new DevExpress.XtraReports.UI.DataSourceRowEventHandler(this.press_form_report_DataSourceRowChanged); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit(); ((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)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraCharts.SwiftPlotDiagram swiftPlotDiagram1 = new DevExpress.XtraCharts.SwiftPlotDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SwiftPlotSeriesView swiftPlotSeriesView1 = new DevExpress.XtraCharts.SwiftPlotSeriesView(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.ChartTitle chartTitle1 = new DevExpress.XtraCharts.ChartTitle(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(swiftPlotDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(swiftPlotSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit(); this.SuspendLayout(); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 10; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // chartControl1 // swiftPlotDiagram1.AxisX.DateTimeScaleOptions.MeasureUnit = DateTimeMeasureUnit.Millisecond; swiftPlotDiagram1.AxisX.Label.TextPattern = "{A:mm:ss}"; swiftPlotDiagram1.AxisX.WholeRange.AlwaysShowZeroLevel = true; swiftPlotDiagram1.AxisX.WholeRange.AutoSideMargins = true; swiftPlotDiagram1.AxisX.VisualRange.AutoSideMargins = true; swiftPlotDiagram1.AxisX.VisibleInPanesSerializable = "-1"; swiftPlotDiagram1.AxisY.WholeRange.AlwaysShowZeroLevel = true; swiftPlotDiagram1.AxisY.WholeRange.AutoSideMargins = true; swiftPlotDiagram1.AxisY.VisualRange.AutoSideMargins = true; swiftPlotDiagram1.AxisY.VisibleInPanesSerializable = "-1"; swiftPlotDiagram1.Margins.Left = 40; swiftPlotDiagram1.Margins.Right = 30; this.chartControl1.Diagram = swiftPlotDiagram1; this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; this.chartControl1.Location = new System.Drawing.Point(0, 0); this.chartControl1.Name = "chartControl1"; series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.DateTime; series1.LegendText = "Swift Plot Series"; series1.Name = "series1"; swiftPlotSeriesView1.Antialiasing = true; series1.View = swiftPlotSeriesView1; this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; sideBySideBarSeriesLabel1.LineVisibility = DevExpress.Utils.DefaultBoolean.True; this.chartControl1.SeriesTemplate.Label = sideBySideBarSeriesLabel1; this.chartControl1.Size = new System.Drawing.Size(459, 264); this.chartControl1.TabIndex = 0; chartTitle1.Text = "The Swift Plot"; this.chartControl1.Titles.AddRange(new DevExpress.XtraCharts.ChartTitle[] { chartTitle1 }); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(459, 264); this.Controls.Add(this.chartControl1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(swiftPlotDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(swiftPlotSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); 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.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel3 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.KeyColorColorizer keyColorColorizer1 = new DevExpress.XtraCharts.KeyColorColorizer(); this.groupFooterBand1 = new DevExpress.XtraReports.UI.GroupFooterBand(); 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.FIOLabel = new DevExpress.XtraReports.UI.XRLabel(); this.TotalTime = new DevExpress.XtraReports.UI.XRLabel(); this.NeedTime = new DevExpress.XtraReports.UI.XRLabel(); this.SubTime = new DevExpress.XtraReports.UI.XRLabel(); 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(); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // groupFooterBand1 // this.groupFooterBand1.Dpi = 254F; this.groupFooterBand1.HeightF = 0F; this.groupFooterBand1.Name = "groupFooterBand1"; this.groupFooterBand1.StyleName = "ReportGroupFooterBandStyle"; // // 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"; this.bottomMarginBand1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.bottomMarginBand1_BeforePrint); // // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel5 }); this.topMarginBand1.Dpi = 254F; this.topMarginBand1.HeightF = 326.4375F; this.topMarginBand1.Name = "topMarginBand1"; // // xrLabel5 // this.xrLabel5.CanGrow = false; this.xrLabel5.Dpi = 254F; this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 16F); this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 190.2292F); this.xrLabel5.Multiline = true; this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel5.SizeF = new System.Drawing.SizeF(1812F, 136.2083F); this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.StylePriority.UseTextAlignment = false; this.xrLabel5.Text = "Отчет о работе с формами c "; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // pageHeaderBand1 // this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel12, this.xrLabel7, 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 = 160.7083F; this.pageHeaderBand1.Name = "pageHeaderBand1"; this.pageHeaderBand1.StyleName = "ReportHeaderBandStyle"; this.pageHeaderBand1.StylePriority.UseFont = false; // // xrLabel12 // this.xrLabel12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel12.Dpi = 254F; this.xrLabel12.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(878.7346F, 0F); this.xrLabel12.Multiline = true; this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel12.SizeF = new System.Drawing.SizeF(356.861F, 160.7083F); this.xrLabel12.StylePriority.UseBackColor = false; this.xrLabel12.StylePriority.UseBorders = false; this.xrLabel12.StylePriority.UseFont = false; this.xrLabel12.StylePriority.UsePadding = false; this.xrLabel12.StylePriority.UseTextAlignment = false; this.xrLabel12.Text = "Количество\r\nрабочих часов по\r\nтабелю, ч."; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel12.WordWrap = false; // // 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))); this.xrLabel7.Dpi = 254F; this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(516.5819F, 0F); this.xrLabel7.Multiline = true; this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel7.SizeF = new System.Drawing.SizeF(362.1527F, 160.7083F); 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 = "Фактически \r\nотработано за\r\n месяц, ч."; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel7.WordWrap = 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(154.429F, 0F); this.xrLabel1.Multiline = true; this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel1.SizeF = new System.Drawing.SizeF(362.153F, 160.7083F); 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 = "Ф.И.О \r\nсотрудника"; 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(1235.596F, 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(402.0969F, 160.7083F); 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.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.FIOLabel, this.TotalTime, this.NeedTime, this.SubTime }); this.detailBand1.Dpi = 254F; this.detailBand1.EvenStyleName = "ReportEvenStyle"; this.detailBand1.HeightF = 64.27082F; 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"; // // FIOLabel // this.FIOLabel.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.FIOLabel.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.FIOLabel.BackColor = System.Drawing.Color.White; this.FIOLabel.BorderColor = System.Drawing.Color.Black; this.FIOLabel.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.FIOLabel.CanGrow = false; this.FIOLabel.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "FIO") }); this.FIOLabel.Dpi = 254F; this.FIOLabel.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.FIOLabel.LocationFloat = new DevExpress.Utils.PointFloat(154.429F, 0F); this.FIOLabel.Name = "FIOLabel"; this.FIOLabel.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.FIOLabel.SizeF = new System.Drawing.SizeF(362.1527F, 64.27082F); this.FIOLabel.StylePriority.UseBackColor = false; this.FIOLabel.StylePriority.UseBorderColor = false; this.FIOLabel.StylePriority.UseBorders = false; this.FIOLabel.StylePriority.UseFont = false; this.FIOLabel.StylePriority.UsePadding = false; this.FIOLabel.StylePriority.UseTextAlignment = false; this.FIOLabel.Text = "FIOLabel"; this.FIOLabel.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.FIOLabel.WordWrap = false; // // TotalTime // this.TotalTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.TotalTime.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.TotalTime.BackColor = System.Drawing.Color.White; this.TotalTime.BorderColor = System.Drawing.Color.Black; this.TotalTime.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.TotalTime.CanGrow = false; this.TotalTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalTime") }); this.TotalTime.Dpi = 254F; this.TotalTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.TotalTime.LocationFloat = new DevExpress.Utils.PointFloat(516.5821F, 0F); this.TotalTime.Name = "TotalTime"; this.TotalTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.TotalTime.SizeF = new System.Drawing.SizeF(362.1527F, 64.27082F); this.TotalTime.StylePriority.UseBackColor = false; this.TotalTime.StylePriority.UseBorderColor = false; this.TotalTime.StylePriority.UseBorders = false; this.TotalTime.StylePriority.UseFont = false; this.TotalTime.StylePriority.UsePadding = false; this.TotalTime.StylePriority.UseTextAlignment = false; this.TotalTime.Text = "xrLabel2"; this.TotalTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.TotalTime.WordWrap = false; // // NeedTime // this.NeedTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.NeedTime.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.NeedTime.BackColor = System.Drawing.Color.White; this.NeedTime.BorderColor = System.Drawing.Color.Black; this.NeedTime.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.NeedTime.CanGrow = false; this.NeedTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "ttime") }); this.NeedTime.Dpi = 254F; this.NeedTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.NeedTime.LocationFloat = new DevExpress.Utils.PointFloat(878.7352F, 0F); this.NeedTime.Name = "NeedTime"; this.NeedTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.NeedTime.SizeF = new System.Drawing.SizeF(356.8608F, 64.27082F); this.NeedTime.StylePriority.UseBackColor = false; this.NeedTime.StylePriority.UseBorderColor = false; this.NeedTime.StylePriority.UseBorders = false; this.NeedTime.StylePriority.UseFont = false; this.NeedTime.StylePriority.UsePadding = false; this.NeedTime.StylePriority.UseTextAlignment = false; this.NeedTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.NeedTime.WordWrap = false; // // SubTime // this.SubTime.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.SubTime.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.SubTime.BackColor = System.Drawing.Color.White; this.SubTime.BorderColor = System.Drawing.Color.Black; this.SubTime.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.SubTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.SubTime.CanGrow = false; this.SubTime.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "SubTime") }); this.SubTime.Dpi = 254F; this.SubTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.SubTime.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.SubTime.LocationFloat = new DevExpress.Utils.PointFloat(1235.596F, 0F); this.SubTime.Name = "SubTime"; this.SubTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.SubTime.SizeF = new System.Drawing.SizeF(402.0969F, 64.27082F); this.SubTime.StylePriority.UseBackColor = false; this.SubTime.StylePriority.UseBorderColor = false; this.SubTime.StylePriority.UseBorderDashStyle = false; this.SubTime.StylePriority.UseBorders = false; this.SubTime.StylePriority.UseFont = false; this.SubTime.StylePriority.UseForeColor = false; this.SubTime.StylePriority.UsePadding = false; this.SubTime.StylePriority.UseTextAlignment = false; this.SubTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.SubTime.WordWrap = false; // // 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("form_id", 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.reportFooterBand1.Dpi = 254F; this.reportFooterBand1.HeightF = 1106.17F; 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 = "Chameleon"; 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.Borders = DevExpress.XtraPrinting.BorderSide.None; xyDiagram1.AxisX.MinorCount = 2; xyDiagram1.AxisX.Title.MaxLineCount = 1; xyDiagram1.AxisX.Title.Text = "ФИО"; xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisX.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.Title.Text = "Часы"; xyDiagram1.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisY.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; xyDiagram1.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisXZooming = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.DefaultPane.EnableAxisYZooming = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.LabelsResolveOverlappingMinIndent = 5; this.xrChart1.Diagram = xyDiagram1; this.xrChart1.Dpi = 254F; this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center; this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside; this.xrChart1.Legend.Name = "Default Legend"; this.xrChart1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True; this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(3.00014F, 0F); this.xrChart1.Name = "xrChart1"; this.xrChart1.PaletteName = "Chameleon"; 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; sideBySideBarSeriesLabel2.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True; sideBySideBarSeriesLabel2.LineVisibility = DevExpress.Utils.DefaultBoolean.False; sideBySideBarSeriesLabel2.Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top; sideBySideBarSeriesLabel2.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default; sideBySideBarSeriesLabel2.TextPattern = "{HINT}"; series2.Label = sideBySideBarSeriesLabel2; series2.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; series2.LegendTextPattern = "{A}"; series2.Name = "Фактически отработано за месяц, ч"; sideBySideBarSeriesLabel3.Position = DevExpress.XtraCharts.BarSeriesLabelPosition.Top; sideBySideBarSeriesLabel3.TextPattern = "{HINT}"; series3.Label = sideBySideBarSeriesLabel3; series3.LabelsVisibility = DevExpress.Utils.DefaultBoolean.True; series3.Name = "Количество рабочих часов по табелю, ч."; this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2, series3 }; this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1; this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1092.941F); // // OverWork_report // 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, 326, 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"; this.DataSourceRowChanged += new DevExpress.XtraReports.UI.DataSourceRowEventHandler(this.press_form_report_DataSourceRowChanged); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
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(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barCheckItem1 = new DevExpress.XtraBars.BarCheckItem(); this.barChkShowRight = new DevExpress.XtraBars.BarCheckItem(); this.ctxMnuCommodity = new DevExpress.XtraBars.PopupMenu(this.components); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ctxMnuCommodity)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit(); this.SuspendLayout(); // // barManager1 // this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] { new DevExpress.XtraBars.BarManagerCategory("CtxMnu", new System.Guid("b4fade50-dc87-48f8-aea7-a64f19117308"))}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barCheckItem1, this.barChkShowRight}); this.barManager1.MaxItemId = 11; // // barButtonItem1 // this.barButtonItem1.Caption = "导出"; this.barButtonItem1.Id = 7; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "打印"; this.barButtonItem2.Id = 8; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barCheckItem1 // this.barCheckItem1.Caption = "barCheckItem1"; this.barCheckItem1.Id = 9; this.barCheckItem1.Name = "barCheckItem1"; // // barChkShowRight // this.barChkShowRight.Caption = "显示汇总面板"; this.barChkShowRight.Checked = true; this.barChkShowRight.Id = 10; this.barChkShowRight.Name = "barChkShowRight"; this.barChkShowRight.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.barChkShowRight_CheckedChanged); // // ctxMnuCommodity // this.ctxMnuCommodity.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barChkShowRight)}); this.ctxMnuCommodity.Manager = this.barManager1; this.ctxMnuCommodity.Name = "ctxMnuCommodity"; // // ChartControlEx // this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; sideBySideBarSeriesLabel2.LineVisible = true; //sideBySideBarSeriesLabel2.OverlappingOptionsTypeName = "OverlappingOptions"; this.SeriesTemplate.Label = sideBySideBarSeriesLabel2; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ctxMnuCommodity)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }