private void InitXChart() { //出现滚动条? DevExpress.XtraCharts.XYDiagram xyDiagram1 = (XYDiagram)this.chartControl1.Diagram; xyDiagram1.AxisX.VisualRange.SetMinMaxValues(-0.5D, 3); //xyDiagram1.AxisX.Range.MaxValueInternal = 3; //这个属性在设计视图里面是看不到的,只有代码里面才可以设置。 //xyDiagram1.AxisX.Range.MinValueInternal = -0.5D; //AxisX ax = (XYDiagram)chartControl1.Diagram; //ax.GridSpacingAuto = false; //ax.DateTimeMeasureUnit = DateTimeMeasurementUnit.Minute;//这个可以根据你自己的情况设置 //ax.DateTimeGridAlignment = DateTimeMeasurementUnit.Second; //这个是间隔单位 //ax.GridSpacing = 10; // 每10秒为一个间隔。 }
public void SetAxisXScale(DateTime startWholeRange) { //DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); //Diagram xyDiagram1 = this.chartControl1.Diagram; DevExpress.XtraCharts.XYDiagram xyDiagram1 = this.chartControl1.Diagram as DevExpress.XtraCharts.XYDiagram; if (xyDiagram1 == null) { return; } xyDiagram1.AxisX.VisualRange.Auto = false; xyDiagram1.AxisX.VisualRange.MaxValueSerializable = $"{DateTime.Now.AddHours(1):G}"; // "11/17/2017 18:00:00.000"; xyDiagram1.AxisX.VisualRange.MinValueSerializable = $"{DateTime.Today.AddHours(16):G}"; // "11/17/2017 16:00:00.000"; xyDiagram1.AxisX.WholeRange.Auto = false; xyDiagram1.AxisX.WholeRange.MaxValueSerializable = $"{DateTime.Now.AddHours(1):G}"; xyDiagram1.AxisX.WholeRange.MinValueSerializable = $"{startWholeRange:G}"; this.chartControl1.Titles[0].Text = "FB Trading Data"; }
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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatForm)); this.label1 = new System.Windows.Forms.Label(); this.ChartKind = new System.Windows.Forms.ComboBox(); this.DoIt = new System.Windows.Forms.Button(); this.ultraChart1 = new DevExpress.XtraCharts.ChartControl(); this.CountRadio = new System.Windows.Forms.RadioButton(); this.sumRadio = new System.Windows.Forms.RadioButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.panel1 = new System.Windows.Forms.Panel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); ((System.ComponentModel.ISupportInitialize)(this.ultraChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 0; this.label1.Text = "图表类型"; // // ChartKind // this.ChartKind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ChartKind.FormattingEnabled = true; this.ChartKind.Items.AddRange(new object[] { "柱状图", "饼图" }); this.ChartKind.Location = new System.Drawing.Point(71, 10); this.ChartKind.Name = "ChartKind"; this.ChartKind.Size = new System.Drawing.Size(115, 20); this.ChartKind.TabIndex = 1; this.ChartKind.SelectedIndexChanged += new System.EventHandler(this.ChartType_SelectedIndexChanged); // // DoIt // this.DoIt.Location = new System.Drawing.Point(192, 9); this.DoIt.Name = "DoIt"; this.DoIt.Size = new System.Drawing.Size(69, 23); this.DoIt.TabIndex = 2; this.DoIt.Text = "打印预览"; this.DoIt.UseVisualStyleBackColor = true; this.DoIt.Click += new System.EventHandler(this.DoIt_Click); // // ultraChart1 // xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.ultraChart1.Diagram = xyDiagram1; this.ultraChart1.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraChart1.Legend.Name = "Default Legend"; this.ultraChart1.Location = new System.Drawing.Point(0, 0); this.ultraChart1.Name = "ultraChart1"; series1.Name = "Series 1"; this.ultraChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; this.ultraChart1.Size = new System.Drawing.Size(694, 307); this.ultraChart1.TabIndex = 3; this.ultraChart1.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True; // // CountRadio // this.CountRadio.AutoSize = true; this.CountRadio.Checked = true; this.CountRadio.Location = new System.Drawing.Point(276, 13); this.CountRadio.Name = "CountRadio"; this.CountRadio.Size = new System.Drawing.Size(83, 16); this.CountRadio.TabIndex = 7; this.CountRadio.TabStop = true; this.CountRadio.Text = "个数分布图"; this.CountRadio.UseVisualStyleBackColor = true; this.CountRadio.CheckedChanged += new System.EventHandler(this.CountRadio_CheckedChanged); // // sumRadio // this.sumRadio.AutoSize = true; this.sumRadio.Location = new System.Drawing.Point(365, 13); this.sumRadio.Name = "sumRadio"; this.sumRadio.Size = new System.Drawing.Size(83, 16); this.sumRadio.TabIndex = 8; this.sumRadio.Text = "数量分布图"; this.sumRadio.UseVisualStyleBackColor = true; this.sumRadio.CheckedChanged += new System.EventHandler(this.sumRadio_CheckedChanged); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "btnPicSetting.Image.png"); this.imageList1.Images.SetKeyName(1, ""); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // panel1 // this.panel1.Controls.Add(this.sumRadio); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.ChartKind); this.panel1.Controls.Add(this.CountRadio); this.panel1.Controls.Add(this.DoIt); 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(694, 37); this.panel1.TabIndex = 12; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 37); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.ultraChart1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.gridControl1); this.splitContainer1.Size = new System.Drawing.Size(694, 463); this.splitContainer1.SplitterDistance = 307; this.splitContainer1.TabIndex = 13; // // gridControl1 // 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(694, 152); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowFixedGroups = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsBehavior.ReadOnly = true; this.gridView1.OptionsView.ShowGroupPanel = false; // // StatForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(694, 500); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.panel1); this.Name = "StatForm"; this.ShowInTaskbar = false; this.Text = "统计图表"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.StatForm_FormClosed); this.Load += new System.EventHandler(this.StatForm_Load); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraChart1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.ResumeLayout(false); }
/// <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 InitializeComponent() { DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); this.btn_Stats = new DevExpress.XtraEditors.SimpleButton(); this.clbx_disList = new DevExpress.XtraEditors.CheckedListBoxControl(); this.btn_chartOutput = new DevExpress.XtraEditors.SimpleButton(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.cbx_prop = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.clbx_disList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbx_prop.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.chartControl1); this.layoutControl1.Controls.Add(this.btn_Stats); this.layoutControl1.Controls.Add(this.clbx_disList); this.layoutControl1.Controls.Add(this.btn_chartOutput); this.layoutControl1.Controls.Add(this.labelControl1); this.layoutControl1.Controls.Add(this.cbx_prop); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(574, 357); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // chartControl1 // xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chartControl1.Diagram = xyDiagram1; this.chartControl1.Location = new System.Drawing.Point(158, 25); this.chartControl1.Name = "chartControl1"; series1.Name = "Series 1"; series2.Name = "Series 2"; this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; this.chartControl1.Size = new System.Drawing.Size(411, 327); this.chartControl1.TabIndex = 12; // // btn_Stats // this.btn_Stats.Location = new System.Drawing.Point(5, 304); this.btn_Stats.Name = "btn_Stats"; this.btn_Stats.Size = new System.Drawing.Size(143, 22); this.btn_Stats.StyleController = this.layoutControl1; this.btn_Stats.TabIndex = 11; this.btn_Stats.Text = "生成统计"; this.btn_Stats.Click += new System.EventHandler(this.btn_Stats_Click); // // clbx_disList // this.clbx_disList.Location = new System.Drawing.Point(5, 25); this.clbx_disList.Name = "clbx_disList"; this.clbx_disList.Size = new System.Drawing.Size(143, 249); this.clbx_disList.StyleController = this.layoutControl1; this.clbx_disList.TabIndex = 9; // // btn_chartOutput // this.btn_chartOutput.Location = new System.Drawing.Point(5, 330); this.btn_chartOutput.Name = "btn_chartOutput"; this.btn_chartOutput.Size = new System.Drawing.Size(143, 22); this.btn_chartOutput.StyleController = this.layoutControl1; this.btn_chartOutput.TabIndex = 8; this.btn_chartOutput.Text = "图表输出"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(5, 278); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(60, 14); this.labelControl1.StyleController = this.layoutControl1; this.labelControl1.TabIndex = 7; this.labelControl1.Text = "属性字段:"; // // cbx_prop // this.cbx_prop.Location = new System.Drawing.Point(69, 278); this.cbx_prop.Name = "cbx_prop"; this.cbx_prop.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbx_prop.Size = new System.Drawing.Size(79, 22); this.cbx_prop.StyleController = this.layoutControl1; this.cbx_prop.TabIndex = 6; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup3, this.layoutControlGroup2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(574, 357); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "参数设置"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem2, this.layoutControlItem7 }); this.layoutControlGroup3.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup3.Size = new System.Drawing.Size(153, 357); this.layoutControlGroup3.Text = "参数设置"; // // layoutControlItem3 // this.layoutControlItem3.Control = this.cbx_prop; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(64, 253); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(83, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.labelControl1; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 253); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(64, 26); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // layoutControlItem5 // this.layoutControlItem5.Control = this.btn_chartOutput; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 305); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(147, 26); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.clbx_disList; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(147, 253); this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // layoutControlItem7 // this.layoutControlItem7.Control = this.btn_Stats; this.layoutControlItem7.CustomizationFormText = "layoutControlItem7"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 279); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(147, 26); this.layoutControlItem7.Text = "layoutControlItem7"; this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextToControlDistance = 0; this.layoutControlItem7.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "柱状图"; this.layoutControlGroup2.ExpandButtonMode = DevExpress.Utils.Controls.ExpandButtonMode.Inverted; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1 }); this.layoutControlGroup2.Location = new System.Drawing.Point(153, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup2.Size = new System.Drawing.Size(421, 357); this.layoutControlGroup2.Text = "柱状图"; // // layoutControlItem1 // this.layoutControlItem1.Control = this.chartControl1; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(415, 331); this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // UCEconomyStatsChartOutput2D // this.Controls.Add(this.layoutControl1); this.Name = "UCEconomyStatsChartOutput2D"; this.Size = new System.Drawing.Size(574, 357); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.clbx_disList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbx_prop.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAuto)); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.btn_Reset = new System.Windows.Forms.Button(); this.btn_Start = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Outset; this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 225F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); this.tableLayoutPanel1.Controls.Add(this.chartControl1, 1, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(1110, 640); this.tableLayoutPanel1.TabIndex = 8; // // tableLayoutPanel2 // this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.panel1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.panel2, 0, 1); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 5); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(219, 630); this.tableLayoutPanel2.TabIndex = 0; // // panel1 // this.panel1.Controls.Add(this.btn_Reset); this.panel1.Controls.Add(this.btn_Start); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(4, 4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(211, 94); this.panel1.TabIndex = 0; // // btn_Reset // this.btn_Reset.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_Reset.BackgroundImage"))); this.btn_Reset.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btn_Reset.Location = new System.Drawing.Point(121, 18); this.btn_Reset.Name = "btn_Reset"; this.btn_Reset.Size = new System.Drawing.Size(58, 60); this.btn_Reset.TabIndex = 1; this.btn_Reset.Text = "复位"; this.btn_Reset.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btn_Reset.UseVisualStyleBackColor = true; // // btn_Start // this.btn_Start.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_Start.BackgroundImage"))); this.btn_Start.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btn_Start.Location = new System.Drawing.Point(28, 18); this.btn_Start.Name = "btn_Start"; this.btn_Start.Size = new System.Drawing.Size(58, 60); this.btn_Start.TabIndex = 0; this.btn_Start.Text = "开始"; this.btn_Start.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btn_Start.UseVisualStyleBackColor = true; this.btn_Start.Click += new System.EventHandler(this.btn_Start_Click); // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(4, 105); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(211, 521); this.panel2.TabIndex = 1; // // chartControl1 // xyDiagram1.AxisX.GridLines.MinorVisible = true; xyDiagram1.AxisX.GridLines.Visible = true; xyDiagram1.AxisX.Title.Text = "角度/度"; xyDiagram1.AxisX.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.Title.Text = "阻值/KΩ"; xyDiagram1.AxisY.Title.Visibility = DevExpress.Utils.DefaultBoolean.True; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chartControl1.Diagram = xyDiagram1; this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.chartControl1.Legend.Name = "Default Legend"; this.chartControl1.Legend.TextVisible = false; this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; this.chartControl1.Location = new System.Drawing.Point(232, 5); this.chartControl1.Name = "chartControl1"; series1.Name = "Series 1"; series1.View = lineSeriesView1; this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; this.chartControl1.Size = new System.Drawing.Size(873, 630); this.chartControl1.TabIndex = 1; // // FormAuto // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "FormAuto"; this.Size = new System.Drawing.Size(1110, 640); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).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(); }
/// <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(); Series series1 = new DevExpress.XtraCharts.Series(); LineSeriesView lineSeriesView1 = new DevExpress.XtraCharts.LineSeriesView(); Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PointSeriesView pointSeriesView1 = new DevExpress.XtraCharts.PointSeriesView(); Series series3 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PointSeriesView pointSeriesView2 = new DevExpress.XtraCharts.PointSeriesView(); this.lj_lab = new DevComponents.DotNetBar.LabelX(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.panel3d = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.txtkw = new System.Windows.Forms.TextBox(); this.textcl = new System.Windows.Forms.TextBox(); this.combjg = new System.Windows.Forms.ComboBox(); this.button1 = new System.Windows.Forms.Button(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.dgv1 = new System.Windows.Forms.DataGridView(); this.nearNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.LJH = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.xuhao = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.TestTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.step1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.step2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.step3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.step4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.step5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.OkOrNg = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.buttonX4 = new DevComponents.DotNetBar.ButtonX(); this.buttonX3 = new DevComponents.DotNetBar.ButtonX(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.toptime = new System.Windows.Forms.Timer(this.components); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.lab_step_data = new System.Windows.Forms.Label(); this.lab_st = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.lab_canselect = new System.Windows.Forms.Label(); this.cbb_canselect = new System.Windows.Forms.ComboBox(); this.lab_defportname = new System.Windows.Forms.Label(); this.lab_defport = new System.Windows.Forms.Label(); this.lble = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.txtbox_gcxia = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtgc = new System.Windows.Forms.TextBox(); this.txtll = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.label5 = new System.Windows.Forms.Label(); this.lab_cc = new System.Windows.Forms.Label(); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); this.timer_portst = new System.Windows.Forms.Timer(this.components); this.timer_tostep = new System.Windows.Forms.Timer(this.components); this.timer_shine = new System.Windows.Forms.Timer(this.components); this.timer_ref = new System.Windows.Forms.Timer(this.components); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv1)).BeginInit(); this.groupBox1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel4.SuspendLayout(); this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); this.SuspendLayout(); // // lj_lab // this.lj_lab.BackColor = System.Drawing.Color.Transparent; // // // this.lj_lab.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lj_lab.ForeColor = System.Drawing.Color.Black; this.lj_lab.Location = new System.Drawing.Point(28, 86); this.lj_lab.Name = "lj_lab"; this.lj_lab.Size = new System.Drawing.Size(37, 23); this.lj_lab.TabIndex = 0; this.lj_lab.Text = "零件:"; // // comboBox1 // this.comboBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.ForeColor = System.Drawing.Color.Black; this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(28, 115); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // panel3d // this.panel3d.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3d.ForeColor = System.Drawing.Color.Black; this.panel3d.Location = new System.Drawing.Point(340, 3); this.panel3d.Name = "panel3d"; this.panel3d.Size = new System.Drawing.Size(339, 221); this.panel3d.TabIndex = 2; this.panel3d.Paint += new System.Windows.Forms.PaintEventHandler(this.panel3d_Paint); this.panel3d.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel3d_MouseDown); this.panel3d.MouseEnter += new System.EventHandler(this.panel3d_MouseEnter); this.panel3d.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel3d_MouseUp); // // panel2 // this.panel2.BackColor = System.Drawing.Color.Transparent; this.panel2.Controls.Add(this.txtkw); this.panel2.Controls.Add(this.textcl); this.panel2.Controls.Add(this.combjg); this.panel2.Controls.Add(this.button1); this.panel2.Controls.Add(this.labelX4); this.panel2.Controls.Add(this.labelX3); this.panel2.Controls.Add(this.labelX2); this.panel2.Controls.Add(this.labelX1); this.panel2.Controls.Add(this.pictureBox1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.ForeColor = System.Drawing.Color.Black; this.panel2.Location = new System.Drawing.Point(685, 3); this.panel2.Name = "panel2"; this.tableLayoutPanel1.SetRowSpan(this.panel2, 2); this.panel2.Size = new System.Drawing.Size(438, 261); this.panel2.TabIndex = 3; this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); // // txtkw // this.txtkw.BackColor = System.Drawing.Color.White; this.txtkw.ForeColor = System.Drawing.Color.Black; this.txtkw.Location = new System.Drawing.Point(163, 223); this.txtkw.Name = "txtkw"; this.txtkw.Size = new System.Drawing.Size(58, 22); this.txtkw.TabIndex = 8; this.txtkw.TextChanged += new System.EventHandler(this.txtkw_TextChanged); // // textcl // this.textcl.BackColor = System.Drawing.Color.White; this.textcl.ForeColor = System.Drawing.Color.Black; this.textcl.Location = new System.Drawing.Point(302, 225); this.textcl.Name = "textcl"; this.textcl.Size = new System.Drawing.Size(100, 22); this.textcl.TabIndex = 7; this.textcl.TextChanged += new System.EventHandler(this.textcl_TextChanged); // // combjg // this.combjg.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.combjg.ForeColor = System.Drawing.Color.Black; this.combjg.FormattingEnabled = true; this.combjg.Location = new System.Drawing.Point(88, 192); this.combjg.Name = "combjg"; this.combjg.Size = new System.Drawing.Size(121, 21); this.combjg.TabIndex = 6; this.combjg.Visible = false; this.combjg.SelectedIndexChanged += new System.EventHandler(this.combjg_SelectedIndexChanged); // // button1 // this.button1.ForeColor = System.Drawing.Color.Black; this.button1.Location = new System.Drawing.Point(327, 190); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 5; this.button1.Text = "退出"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // labelX4 // // // // this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX4.ForeColor = System.Drawing.Color.Black; this.labelX4.Location = new System.Drawing.Point(103, 200); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(70, 23); this.labelX4.TabIndex = 4; this.labelX4.Text = "结果:"; this.labelX4.Visible = false; // // labelX3 // // // // this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX3.ForeColor = System.Drawing.Color.Black; this.labelX3.Location = new System.Drawing.Point(228, 191); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(103, 23); this.labelX3.TabIndex = 3; this.labelX3.Text = "工具: 卡尺"; // // labelX2 // // // // this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX2.ForeColor = System.Drawing.Color.Black; this.labelX2.Location = new System.Drawing.Point(237, 223); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(70, 23); this.labelX2.TabIndex = 2; this.labelX2.Text = "测量值为: "; // // labelX1 // // // // this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.ForeColor = System.Drawing.Color.Black; this.labelX1.Location = new System.Drawing.Point(107, 223); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(60, 23); this.labelX1.TabIndex = 1; this.labelX1.Text = "所在工位: "; // // pictureBox1 // this.pictureBox1.ForeColor = System.Drawing.Color.Black; this.pictureBox1.Image = global::NepslidingTools.Properties.Resources._4318727ea8c1806a17c555929d2dea8e; this.pictureBox1.Location = new System.Drawing.Point(3, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(435, 186); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // dgv1 // this.dgv1.AllowUserToAddRows = false; this.dgv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.nearNo, this.LJH, this.xuhao, this.TestTime, this.step1, this.step2, this.step3, this.step4, this.step5, this.OkOrNg }); this.tableLayoutPanel1.SetColumnSpan(this.dgv1, 3); this.dgv1.Dock = System.Windows.Forms.DockStyle.Fill; this.dgv1.Location = new System.Drawing.Point(3, 419); this.dgv1.Name = "dgv1"; this.dgv1.ReadOnly = true; this.dgv1.RowTemplate.Height = 23; this.dgv1.Size = new System.Drawing.Size(1120, 320); this.dgv1.TabIndex = 4; this.dgv1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv1_CellEndEdit); // // nearNo // this.nearNo.DataPropertyName = "measureb"; this.nearNo.HeaderText = "测量编号"; this.nearNo.Name = "nearNo"; this.nearNo.ReadOnly = true; this.nearNo.Visible = false; // // LJH // this.LJH.DataPropertyName = "PN"; this.LJH.HeaderText = "零件号"; this.LJH.Name = "LJH"; this.LJH.ReadOnly = true; this.LJH.Visible = false; // // xuhao // this.xuhao.DataPropertyName = "id"; this.xuhao.HeaderText = "序号"; this.xuhao.Name = "xuhao"; this.xuhao.ReadOnly = true; this.xuhao.Visible = false; // // TestTime // this.TestTime.DataPropertyName = "time"; this.TestTime.HeaderText = "测试时间"; this.TestTime.Name = "TestTime"; this.TestTime.ReadOnly = true; this.TestTime.Visible = false; // // step1 // this.step1.DataPropertyName = "step1"; this.step1.HeaderText = "步骤1"; this.step1.Name = "step1"; this.step1.ReadOnly = true; this.step1.Visible = false; // // step2 // this.step2.DataPropertyName = "step2"; this.step2.HeaderText = "步骤2"; this.step2.Name = "step2"; this.step2.ReadOnly = true; this.step2.Visible = false; // // step3 // this.step3.DataPropertyName = "step3"; this.step3.HeaderText = "步骤3"; this.step3.Name = "step3"; this.step3.ReadOnly = true; this.step3.Visible = false; // // step4 // this.step4.DataPropertyName = "step4"; this.step4.HeaderText = "步骤4"; this.step4.Name = "step4"; this.step4.ReadOnly = true; this.step4.Visible = false; // // step5 // this.step5.DataPropertyName = "step5"; this.step5.HeaderText = "步骤5"; this.step5.Name = "step5"; this.step5.ReadOnly = true; this.step5.Visible = false; // // OkOrNg // this.OkOrNg.DataPropertyName = "OKorNG"; this.OkOrNg.HeaderText = "OkOrNg"; this.OkOrNg.Name = "OkOrNg"; this.OkOrNg.ReadOnly = true; this.OkOrNg.Visible = false; // // groupBox1 // this.groupBox1.Controls.Add(this.buttonX2); this.groupBox1.Controls.Add(this.buttonX1); this.groupBox1.Controls.Add(this.buttonX4); this.groupBox1.Controls.Add(this.buttonX3); this.groupBox1.ForeColor = System.Drawing.Color.Black; this.groupBox1.Location = new System.Drawing.Point(28, 146); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(194, 122); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "操作"; this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter); // // buttonX2 // this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX2.Location = new System.Drawing.Point(102, 70); this.buttonX2.Name = "buttonX2"; this.buttonX2.Size = new System.Drawing.Size(75, 23); this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX2.TabIndex = 5; this.buttonX2.Text = "取消"; this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click); // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX1.Location = new System.Drawing.Point(102, 33); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(75, 23); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 4; this.buttonX1.Text = "完成"; this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); // // buttonX4 // this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX4.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX4.Location = new System.Drawing.Point(10, 68); this.buttonX4.Name = "buttonX4"; this.buttonX4.Size = new System.Drawing.Size(75, 23); this.buttonX4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX4.TabIndex = 3; this.buttonX4.Text = "重测"; this.buttonX4.Click += new System.EventHandler(this.buttonX4_Click); // // buttonX3 // this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX3.Location = new System.Drawing.Point(10, 33); this.buttonX3.Name = "buttonX3"; this.buttonX3.Size = new System.Drawing.Size(75, 23); this.buttonX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX3.TabIndex = 2; this.buttonX3.Text = "跳过"; this.buttonX3.Click += new System.EventHandler(this.buttonX3_Click); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // toptime // this.toptime.Tick += new System.EventHandler(this.toptime_Tick); // // tableLayoutPanel1 // this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent; this.tableLayoutPanel1.ColumnCount = 3; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 29.9787F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30.70642F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 39.31488F)); this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.panel2, 2, 0); this.tableLayoutPanel1.Controls.Add(this.dgv1, 0, 3); this.tableLayoutPanel1.Controls.Add(this.panel3d, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel3, 1, 1); this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.ForeColor = System.Drawing.Color.Black; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(12); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 32.40405F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.2333F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 46.36264F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(1126, 742); this.tableLayoutPanel1.TabIndex = 6; this.tableLayoutPanel1.MouseEnter += new System.EventHandler(this.tableLayoutPanel1_MouseEnter); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.lab_step_data); this.panel1.Controls.Add(this.lab_st); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.lab_canselect); this.panel1.Controls.Add(this.cbb_canselect); this.panel1.Controls.Add(this.lab_defportname); this.panel1.Controls.Add(this.lab_defport); this.panel1.Controls.Add(this.lble); this.panel1.Controls.Add(this.lj_lab); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.groupBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.ForeColor = System.Drawing.Color.Black; this.panel1.Location = new System.Drawing.Point(3, 3); this.panel1.Name = "panel1"; this.tableLayoutPanel1.SetRowSpan(this.panel1, 2); this.panel1.Size = new System.Drawing.Size(331, 261); this.panel1.TabIndex = 7; // // lab_step_data // this.lab_step_data.AutoSize = true; this.lab_step_data.Location = new System.Drawing.Point(267, 13); this.lab_step_data.Name = "lab_step_data"; this.lab_step_data.Size = new System.Drawing.Size(38, 13); this.lab_step_data.TabIndex = 13; this.lab_step_data.Text = "label6"; // // lab_st // this.lab_st.AutoSize = true; this.lab_st.BackColor = System.Drawing.Color.DarkTurquoise; this.lab_st.ForeColor = System.Drawing.Color.OrangeRed; this.lab_st.Location = new System.Drawing.Point(122, 34); this.lab_st.Name = "lab_st"; this.lab_st.Size = new System.Drawing.Size(43, 13); this.lab_st.TabIndex = 12; this.lab_st.Text = "未连接"; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.Color.ForestGreen; this.label4.Location = new System.Drawing.Point(27, 34); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(55, 13); this.label4.TabIndex = 11; this.label4.Text = "工具状态"; // // lab_canselect // this.lab_canselect.AutoSize = true; this.lab_canselect.ForeColor = System.Drawing.Color.ForestGreen; this.lab_canselect.Location = new System.Drawing.Point(27, 56); this.lab_canselect.Name = "lab_canselect"; this.lab_canselect.Size = new System.Drawing.Size(55, 13); this.lab_canselect.TabIndex = 10; this.lab_canselect.Text = "可选工具"; this.lab_canselect.Visible = false; // // cbb_canselect // this.cbb_canselect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbb_canselect.FormattingEnabled = true; this.cbb_canselect.Location = new System.Drawing.Point(120, 53); this.cbb_canselect.Name = "cbb_canselect"; this.cbb_canselect.Size = new System.Drawing.Size(121, 21); this.cbb_canselect.TabIndex = 9; this.cbb_canselect.Visible = false; this.cbb_canselect.SelectedIndexChanged += new System.EventHandler(this.cbb_canselect_SelectedIndexChanged); // // lab_defportname // this.lab_defportname.AutoSize = true; this.lab_defportname.BackColor = System.Drawing.Color.DarkTurquoise; this.lab_defportname.ForeColor = System.Drawing.Color.OrangeRed; this.lab_defportname.Location = new System.Drawing.Point(122, 13); this.lab_defportname.Name = "lab_defportname"; this.lab_defportname.Size = new System.Drawing.Size(57, 13); this.lab_defportname.TabIndex = 8; this.lab_defportname.Text = "portname"; // // lab_defport // this.lab_defport.AutoSize = true; this.lab_defport.ForeColor = System.Drawing.Color.ForestGreen; this.lab_defport.Location = new System.Drawing.Point(27, 13); this.lab_defport.Name = "lab_defport"; this.lab_defport.Size = new System.Drawing.Size(79, 13); this.lab_defport.TabIndex = 7; this.lab_defport.Text = "默认使用工具"; // // lble // this.lble.AutoSize = true; this.lble.Location = new System.Drawing.Point(65, 91); this.lble.Name = "lble"; this.lble.Size = new System.Drawing.Size(0, 13); this.lble.TabIndex = 6; // // panel3 // this.panel3.Controls.Add(this.txtbox_gcxia); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.txtgc); this.panel3.Controls.Add(this.txtll); this.panel3.Controls.Add(this.label2); this.panel3.Controls.Add(this.label1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.ForeColor = System.Drawing.Color.Black; this.panel3.Location = new System.Drawing.Point(340, 230); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(339, 34); this.panel3.TabIndex = 9; // // txtbox_gcxia // this.txtbox_gcxia.BackColor = System.Drawing.Color.White; this.txtbox_gcxia.ForeColor = System.Drawing.Color.Black; this.txtbox_gcxia.Location = new System.Drawing.Point(263, 6); this.txtbox_gcxia.Name = "txtbox_gcxia"; this.txtbox_gcxia.Size = new System.Drawing.Size(45, 22); this.txtbox_gcxia.TabIndex = 12; this.txtbox_gcxia.Text = "0.15"; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(208, 11); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(58, 13); this.label3.TabIndex = 11; this.label3.Text = "下公差: "; // // txtgc // this.txtgc.BackColor = System.Drawing.Color.White; this.txtgc.ForeColor = System.Drawing.Color.Black; this.txtgc.Location = new System.Drawing.Point(157, 6); this.txtgc.Name = "txtgc"; this.txtgc.Size = new System.Drawing.Size(45, 22); this.txtgc.TabIndex = 10; this.txtgc.Text = "0.15"; // // txtll // this.txtll.BackColor = System.Drawing.Color.White; this.txtll.ForeColor = System.Drawing.Color.Black; this.txtll.Location = new System.Drawing.Point(57, 7); this.txtll.Name = "txtll"; this.txtll.Size = new System.Drawing.Size(39, 22); this.txtll.TabIndex = 9; this.txtll.Text = "13.15"; // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.Black; this.label2.Location = new System.Drawing.Point(102, 11); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(58, 13); this.label2.TabIndex = 1; this.label2.Text = "上公差: "; // // label1 // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(3, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(58, 13); this.label1.TabIndex = 0; this.label1.Text = "理论值: "; // // panel4 // this.tableLayoutPanel1.SetColumnSpan(this.panel4, 3); this.panel4.Controls.Add(this.panel5); this.panel4.Controls.Add(this.chartControl1); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(3, 270); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1120, 143); this.panel4.TabIndex = 10; // // panel5 // this.panel5.BackColor = System.Drawing.Color.White; this.panel5.Controls.Add(this.label5); this.panel5.Controls.Add(this.lab_cc); this.panel5.Location = new System.Drawing.Point(950, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(167, 143); this.panel5.TabIndex = 9; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("微软雅黑", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label5.Location = new System.Drawing.Point(4, 5); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(170, 50); this.label5.TabIndex = 10; this.label5.Text = "结果判定"; // // lab_cc // this.lab_cc.AutoSize = true; this.lab_cc.Font = new System.Drawing.Font("微软雅黑", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lab_cc.Location = new System.Drawing.Point(0, 71); this.lab_cc.Name = "lab_cc"; this.lab_cc.Size = new System.Drawing.Size(0, 64); this.lab_cc.TabIndex = 0; // // chartControl1 // this.chartControl1.CrosshairEnabled = DevExpress.Utils.DefaultBoolean.False; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chartControl1.Diagram = xyDiagram1; this.chartControl1.Dock = System.Windows.Forms.DockStyle.Left; this.chartControl1.Legend.TextVisible = false; this.chartControl1.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False; this.chartControl1.Location = new System.Drawing.Point(0, 0); this.chartControl1.Name = "chartControl1"; series1.Name = "测量结果波动"; lineSeriesView1.MarkerVisibility = DevExpress.Utils.DefaultBoolean.True; series1.View = lineSeriesView1; series2.Name = "超差"; series2.View = pointSeriesView1; series2.Visible = false; series3.Name = "负超差"; series3.View = pointSeriesView2; series3.Visible = false; this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2, series3 }; this.chartControl1.Size = new System.Drawing.Size(950, 143); this.chartControl1.TabIndex = 8; // // timer_portst // this.timer_portst.Interval = 500; this.timer_portst.Tick += new System.EventHandler(this.timer_portst_Tick); // // timer_tostep // this.timer_tostep.Interval = 1000; this.timer_tostep.Tick += new System.EventHandler(this.timer_tostep_Tick); // // timer_shine // this.timer_shine.Tick += new System.EventHandler(this.timer_shine_Tick); // // timer_ref // this.timer_ref.Interval = 400; this.timer_ref.Tick += new System.EventHandler(this.timer_ref_Tick); // // StepTestFrom // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1126, 742); this.Controls.Add(this.tableLayoutPanel1); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "StepTestFrom"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "测量界面"; this.Deactivate += new System.EventHandler(this.StepTestFrom_Deactivate); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.StepTestFrom_FormClosed); this.Load += new System.EventHandler(this.StepTestFrom_Load); this.Scroll += new System.Windows.Forms.ScrollEventHandler(this.StepTestFrom_Scroll); this.MouseEnter += new System.EventHandler(this.StepTestFrom_MouseEnter); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv1)).EndInit(); this.groupBox1.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel4.ResumeLayout(false); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit(); this.ResumeLayout(false); }