public void CreatLinearGaugeShow(Color color) { #region 初始化定义 DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType[] type = new DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType[3]; DevExpress.XtraGauges.Core.Model.ScaleIndicatorState[] state = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState[10]; Color[] colorName = new Color[3]; colorName[0] = color; colorName[1] = color; colorName[2] = color; for (int i = 0; i < 3; i++) { switch (colorName[i].Name) { case "Red": type[i] = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.Equalizer2; break; case "Yellow": type[i] = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.Equalizer3; break; case "Green": type[i] = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.Equalizer4; break; } } #endregion #region 射对应的格子 state[0] = scaleIndicatorState1; state[1] = scaleIndicatorState3; state[2] = scaleIndicatorState5; state[3] = scaleIndicatorState7; state[4] = scaleIndicatorState9; state[5] = scaleIndicatorState11; state[6] = scaleIndicatorState13; state[7] = scaleIndicatorState15; state[8] = scaleIndicatorState17; state[9] = scaleIndicatorState19; #endregion for (int i = 0; i < 3; i++) { state[i].ShapeType = type[0]; } for (int i = 3; i < 6; i++) { state[i].ShapeType = type[1]; } for (int i = 6; i < 10; i++) { state[i].ShapeType = type[2]; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState161 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState162 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState163 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState164 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState165 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState166 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState167 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState168 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState169 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState170 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState171 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState172 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState173 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState174 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState175 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState176 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState177 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState178 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState179 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState180 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); this.gaugeControl2 = new DevExpress.XtraGauges.Win.GaugeControl(); this.linearGauge1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearGauge(); this.linearScaleStateIndicatorComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent(); this.linearScaleStateIndicatorComponent2 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent3 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent4 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent5 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent6 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent7 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent8 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent9 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent10 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.labelComponent1 = new DevExpress.XtraGauges.Win.Base.LabelComponent(); this.timer1 = new System.Timers.Timer(); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labelComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.timer1)).BeginInit(); this.SuspendLayout(); // // gaugeControl2 // this.gaugeControl2.AutoLayout = false; this.gaugeControl2.BackColor = System.Drawing.Color.Transparent; this.gaugeControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gaugeControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.gaugeControl2.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { this.linearGauge1 }); this.gaugeControl2.Location = new System.Drawing.Point(0, 0); this.gaugeControl2.Name = "gaugeControl2"; this.gaugeControl2.Size = new System.Drawing.Size(615, 414); this.gaugeControl2.TabIndex = 16; // // linearGauge1 // this.linearGauge1.Bounds = new System.Drawing.Rectangle(5, 2, 604, 406); this.linearGauge1.Indicators.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent[] { this.linearScaleStateIndicatorComponent1, this.linearScaleStateIndicatorComponent2, this.linearScaleStateIndicatorComponent3, this.linearScaleStateIndicatorComponent4, this.linearScaleStateIndicatorComponent5, this.linearScaleStateIndicatorComponent6, this.linearScaleStateIndicatorComponent7, this.linearScaleStateIndicatorComponent8, this.linearScaleStateIndicatorComponent9, this.linearScaleStateIndicatorComponent10 }); this.linearGauge1.Labels.AddRange(new DevExpress.XtraGauges.Win.Base.LabelComponent[] { this.labelComponent1 }); this.linearGauge1.Name = "RatingControl2"; this.linearGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent[] { this.linearScaleComponent1 }); // // linearScaleStateIndicatorComponent1 // this.linearScaleStateIndicatorComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(12.5F, 125F); this.linearScaleStateIndicatorComponent1.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent1.Name = "Indicator0"; this.linearScaleStateIndicatorComponent1.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState161.IntervalLength = 100F; scaleIndicatorState161.Name = "Colored"; scaleIndicatorState161.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState161.StartValue = 0.01F; scaleIndicatorState162.IntervalLength = 0F; scaleIndicatorState162.Name = "Empty"; scaleIndicatorState162.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent1.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState161, scaleIndicatorState162 }); this.linearScaleStateIndicatorComponent1.ZOrder = 100; // // linearScaleComponent1 // this.linearScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.linearScaleComponent1.EndPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 225F); this.linearScaleComponent1.MajorTickCount = 2; this.linearScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.linearScaleComponent1.MajorTickmark.ShapeOffset = -20F; this.linearScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_1; this.linearScaleComponent1.MajorTickmark.ShowText = false; this.linearScaleComponent1.MajorTickmark.ShowTick = false; this.linearScaleComponent1.MajorTickmark.TextOffset = -32F; this.linearScaleComponent1.MaxValue = 100F; this.linearScaleComponent1.MinorTickCount = 0; this.linearScaleComponent1.MinorTickmark.ShapeOffset = -14F; this.linearScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_2; this.linearScaleComponent1.MinorTickmark.ShowTick = false; this.linearScaleComponent1.Name = "scale1"; this.linearScaleComponent1.StartPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 25F); // // linearScaleStateIndicatorComponent2 // this.linearScaleStateIndicatorComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(22.05F, 95.61F); this.linearScaleStateIndicatorComponent2.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent2.Name = "Indicator1"; this.linearScaleStateIndicatorComponent2.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState163.IntervalLength = 90F; scaleIndicatorState163.Name = "Colored"; scaleIndicatorState163.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState163.StartValue = 10F; scaleIndicatorState164.IntervalLength = 10F; scaleIndicatorState164.Name = "Empty"; scaleIndicatorState164.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent2.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState163, scaleIndicatorState164 }); this.linearScaleStateIndicatorComponent2.ZOrder = 99; // // linearScaleStateIndicatorComponent3 // this.linearScaleStateIndicatorComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(47.05F, 77.45F); this.linearScaleStateIndicatorComponent3.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent3.Name = "Indicator2"; this.linearScaleStateIndicatorComponent3.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState165.IntervalLength = 80F; scaleIndicatorState165.Name = "Colored"; scaleIndicatorState165.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState165.StartValue = 20F; scaleIndicatorState166.IntervalLength = 20F; scaleIndicatorState166.Name = "Empty"; scaleIndicatorState166.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent3.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState165, scaleIndicatorState166 }); this.linearScaleStateIndicatorComponent3.ZOrder = 98; // // linearScaleStateIndicatorComponent4 // this.linearScaleStateIndicatorComponent4.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(77.95F, 77.45F); this.linearScaleStateIndicatorComponent4.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent4.Name = "Indicator3"; this.linearScaleStateIndicatorComponent4.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState167.IntervalLength = 70F; scaleIndicatorState167.Name = "Colored"; scaleIndicatorState167.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState167.StartValue = 30F; scaleIndicatorState168.IntervalLength = 30F; scaleIndicatorState168.Name = "Empty"; scaleIndicatorState168.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent4.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState167, scaleIndicatorState168 }); this.linearScaleStateIndicatorComponent4.ZOrder = 97; // // linearScaleStateIndicatorComponent5 // this.linearScaleStateIndicatorComponent5.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(102.95F, 95.61F); this.linearScaleStateIndicatorComponent5.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent5.Name = "Indicator4"; this.linearScaleStateIndicatorComponent5.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState169.IntervalLength = 60F; scaleIndicatorState169.Name = "Colored"; scaleIndicatorState169.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState169.StartValue = 40F; scaleIndicatorState170.IntervalLength = 40F; scaleIndicatorState170.Name = "Empty"; scaleIndicatorState170.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent5.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState169, scaleIndicatorState170 }); this.linearScaleStateIndicatorComponent5.ZOrder = 96; // // linearScaleStateIndicatorComponent6 // this.linearScaleStateIndicatorComponent6.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(112.5F, 125F); this.linearScaleStateIndicatorComponent6.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent6.Name = "Indicator5"; this.linearScaleStateIndicatorComponent6.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState171.IntervalLength = 50F; scaleIndicatorState171.Name = "Colored"; scaleIndicatorState171.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState171.StartValue = 50F; scaleIndicatorState172.IntervalLength = 50F; scaleIndicatorState172.Name = "Empty"; scaleIndicatorState172.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent6.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState171, scaleIndicatorState172 }); this.linearScaleStateIndicatorComponent6.ZOrder = 95; // // linearScaleStateIndicatorComponent7 // this.linearScaleStateIndicatorComponent7.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(102.92F, 154.39F); this.linearScaleStateIndicatorComponent7.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent7.Name = "Indicator6"; this.linearScaleStateIndicatorComponent7.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState173.IntervalLength = 40F; scaleIndicatorState173.Name = "Colored"; scaleIndicatorState173.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState173.StartValue = 60F; scaleIndicatorState174.IntervalLength = 60F; scaleIndicatorState174.Name = "Empty"; scaleIndicatorState174.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent7.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState173, scaleIndicatorState174 }); this.linearScaleStateIndicatorComponent7.ZOrder = 94; // // linearScaleStateIndicatorComponent8 // this.linearScaleStateIndicatorComponent8.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(77.95F, 172.55F); this.linearScaleStateIndicatorComponent8.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent8.Name = "Indicator7"; this.linearScaleStateIndicatorComponent8.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState175.IntervalLength = 30F; scaleIndicatorState175.Name = "Colored"; scaleIndicatorState175.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState175.StartValue = 70F; scaleIndicatorState176.IntervalLength = 70F; scaleIndicatorState176.Name = "Empty"; scaleIndicatorState176.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent8.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState175, scaleIndicatorState176 }); this.linearScaleStateIndicatorComponent8.ZOrder = 93; // // linearScaleStateIndicatorComponent9 // this.linearScaleStateIndicatorComponent9.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(47.05F, 172.55F); this.linearScaleStateIndicatorComponent9.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent9.Name = "Indicator8"; this.linearScaleStateIndicatorComponent9.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState177.IntervalLength = 20F; scaleIndicatorState177.Name = "Colored"; scaleIndicatorState177.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState177.StartValue = 80F; scaleIndicatorState178.IntervalLength = 80F; scaleIndicatorState178.Name = "Empty"; scaleIndicatorState178.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent9.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState177, scaleIndicatorState178 }); this.linearScaleStateIndicatorComponent9.ZOrder = 92; // // linearScaleStateIndicatorComponent10 // this.linearScaleStateIndicatorComponent10.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(22.05F, 154.39F); this.linearScaleStateIndicatorComponent10.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent10.Name = "Indicator9"; this.linearScaleStateIndicatorComponent10.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState179.IntervalLength = 10F; scaleIndicatorState179.Name = "Colored"; scaleIndicatorState179.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState179.StartValue = 90F; scaleIndicatorState180.IntervalLength = 90F; scaleIndicatorState180.Name = "Empty"; scaleIndicatorState180.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent10.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState179, scaleIndicatorState180 }); this.linearScaleStateIndicatorComponent10.ZOrder = 91; // // labelComponent1 // this.labelComponent1.AppearanceText.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.labelComponent1.AppearanceText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.labelComponent1.Name = "linearGauge1_Label1"; this.labelComponent1.Position = new DevExpress.XtraGauges.Core.Base.PointF2D(58.2F, 31.1F); this.labelComponent1.Size = new System.Drawing.SizeF(350F, 50F); this.labelComponent1.Text = "LOADING"; this.labelComponent1.ZOrder = -1001; // // timer1 // this.timer1.Enabled = true; this.timer1.SynchronizingObject = this; this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Elapsed); // // XtraForm1 // this.Appearance.BackColor = System.Drawing.Color.White; this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(615, 414); this.Controls.Add(this.gaugeControl2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "XtraForm1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "XtraForm1"; this.TransparencyKey = System.Drawing.Color.White; ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labelComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.timer1)).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.XtraGauges.Core.Model.ArcScaleRange arcScaleRange1 = new DevExpress.XtraGauges.Core.Model.ArcScaleRange(); DevExpress.XtraGauges.Core.Model.ArcScaleRange arcScaleRange2 = new DevExpress.XtraGauges.Core.Model.ArcScaleRange(); DevExpress.XtraGauges.Core.Model.ArcScaleRange arcScaleRange3 = new DevExpress.XtraGauges.Core.Model.ArcScaleRange(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState1 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); this.gaugeControl1 = new DevExpress.XtraGauges.Win.GaugeControl(); this.circularGauge1 = new DevExpress.XtraGauges.Win.Gauges.Circular.CircularGauge(); this.arcScaleBackgroundLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleBackgroundLayerComponent(); this.arcScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleNeedleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.linearGauge1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearGauge(); this.linearScaleBackgroundLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleBackgroundLayerComponent(); this.linearScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent(); this.linearScaleStateIndicatorComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleLevelComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleLevelComponent(); this.linearScaleLevelComponent2 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleLevelComponent(); this.linearScaleMarkerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleMarkerComponent(); this.linearScaleRangeBarComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleRangeBarComponent(); this.linearScaleComponent2 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent(); this.circularGauge2 = new DevExpress.XtraGauges.Win.Gauges.Circular.CircularGauge(); this.arcScaleBackgroundLayerComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleBackgroundLayerComponent(); this.arcScaleComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleBackgroundLayerComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleBackgroundLayerComponent(); this.arcScaleEffectLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleEffectLayerComponent(); this.arcScaleNeedleComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.arcScaleNeedleComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.arcScaleComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleSpindleCapComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleSpindleCapComponent(); this.timer1 = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.circularGauge1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleBackgroundLayerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleLevelComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleLevelComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleMarkerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleRangeBarComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.circularGauge2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleEffectLayerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleSpindleCapComponent1)).BeginInit(); this.SuspendLayout(); // // gaugeControl1 // this.gaugeControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gaugeControl1.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { this.circularGauge1, this.linearGauge1, this.circularGauge2 }); this.gaugeControl1.Location = new System.Drawing.Point(0, 0); this.gaugeControl1.Name = "gaugeControl1"; this.gaugeControl1.Size = new System.Drawing.Size(609, 254); this.gaugeControl1.TabIndex = 0; // // circularGauge1 // this.circularGauge1.BackgroundLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleBackgroundLayerComponent[] { this.arcScaleBackgroundLayerComponent1 }); this.circularGauge1.Bounds = new System.Drawing.Rectangle(6, 6, 242, 242); this.circularGauge1.Name = "circularGauge1"; this.circularGauge1.Needles.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent[] { this.arcScaleNeedleComponent1 }); this.circularGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent[] { this.arcScaleComponent1 }); // // arcScaleBackgroundLayerComponent1 // this.arcScaleBackgroundLayerComponent1.ArcScale = this.arcScaleComponent1; this.arcScaleBackgroundLayerComponent1.Name = "bg1"; this.arcScaleBackgroundLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.BackgroundLayerShapeType.CircularFull_Style17; this.arcScaleBackgroundLayerComponent1.ZOrder = 1000; // // arcScaleComponent1 // this.arcScaleComponent1.AppearanceScale.Brush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#058897"); this.arcScaleComponent1.AppearanceScale.Width = 3F; this.arcScaleComponent1.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 10F); this.arcScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#00E1F3"); this.arcScaleComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 125F); this.arcScaleComponent1.EndAngle = 60F; this.arcScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.arcScaleComponent1.MajorTickmark.ShapeOffset = -11F; this.arcScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style17_1; this.arcScaleComponent1.MajorTickmark.TextOffset = -20F; this.arcScaleComponent1.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent1.MaxValue = 100F; this.arcScaleComponent1.MinorTickCount = 4; this.arcScaleComponent1.MinorTickmark.ShapeOffset = -4F; this.arcScaleComponent1.MinorTickmark.ShapeScale = new DevExpress.XtraGauges.Core.Base.FactorF2D(0.6F, 1F); this.arcScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style17_2; this.arcScaleComponent1.Name = "scale1"; this.arcScaleComponent1.RadiusX = 96F; this.arcScaleComponent1.RadiusY = 96F; arcScaleRange1.AppearanceRange.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#09AC86"); arcScaleRange1.EndValue = 33F; arcScaleRange1.Name = "Range0"; arcScaleRange1.ShapeOffset = 0F; arcScaleRange2.AppearanceRange.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#CAB46E"); arcScaleRange2.EndValue = 66F; arcScaleRange2.Name = "Range1"; arcScaleRange2.ShapeOffset = 0F; arcScaleRange2.StartValue = 33F; arcScaleRange3.AppearanceRange.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#C16268"); arcScaleRange3.EndValue = 100F; arcScaleRange3.Name = "Range2"; arcScaleRange3.ShapeOffset = 0F; arcScaleRange3.StartValue = 66F; this.arcScaleComponent1.Ranges.AddRange(new DevExpress.XtraGauges.Core.Model.IRange[] { arcScaleRange1, arcScaleRange2, arcScaleRange3 }); this.arcScaleComponent1.StartAngle = -240F; this.arcScaleComponent1.Value = 31F; // // arcScaleNeedleComponent1 // this.arcScaleNeedleComponent1.ArcScale = this.arcScaleComponent1; this.arcScaleNeedleComponent1.EndOffset = 4F; this.arcScaleNeedleComponent1.Name = "needle1"; this.arcScaleNeedleComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_Style17; this.arcScaleNeedleComponent1.StartOffset = -27F; this.arcScaleNeedleComponent1.ZOrder = -50; // // linearGauge1 // this.linearGauge1.BackgroundLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleBackgroundLayerComponent[] { this.linearScaleBackgroundLayerComponent1 }); this.linearGauge1.Bounds = new System.Drawing.Rectangle(503, 6, 100, 242); this.linearGauge1.Indicators.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent[] { this.linearScaleStateIndicatorComponent1 }); this.linearGauge1.Levels.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleLevelComponent[] { this.linearScaleLevelComponent1, this.linearScaleLevelComponent2 }); this.linearGauge1.Markers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleMarkerComponent[] { this.linearScaleMarkerComponent1 }); this.linearGauge1.Name = "linearGauge1"; this.linearGauge1.RangeBars.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleRangeBarComponent[] { this.linearScaleRangeBarComponent1 }); this.linearGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent[] { this.linearScaleComponent1, this.linearScaleComponent2 }); // // linearScaleBackgroundLayerComponent1 // this.linearScaleBackgroundLayerComponent1.LinearScale = this.linearScaleComponent1; this.linearScaleBackgroundLayerComponent1.Name = "Gauge0_BackgroundLayer1"; this.linearScaleBackgroundLayerComponent1.ScaleStartPos = new DevExpress.XtraGauges.Core.Base.PointF2D(0.5F, 0.85F); this.linearScaleBackgroundLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.BackgroundLayerShapeType.Linear_Style19; this.linearScaleBackgroundLayerComponent1.ZOrder = 1000; // // linearScaleComponent1 // this.linearScaleComponent1.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 9F); this.linearScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#A4D6F7"); this.linearScaleComponent1.EndPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 38F); this.linearScaleComponent1.MajorTickCount = 6; this.linearScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.linearScaleComponent1.MajorTickmark.ShapeOffset = -23F; this.linearScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style19_1; this.linearScaleComponent1.MajorTickmark.TextOffset = -35F; this.linearScaleComponent1.MaxValue = 100F; this.linearScaleComponent1.MinorTickCount = 4; this.linearScaleComponent1.MinorTickmark.ShapeOffset = -23F; this.linearScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style19_2; this.linearScaleComponent1.Name = "Gauge0_Scale1"; this.linearScaleComponent1.StartPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 212F); // // linearScaleStateIndicatorComponent1 // this.linearScaleStateIndicatorComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 230F); this.linearScaleStateIndicatorComponent1.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent1.Name = "Gauge0_Indicator1"; this.linearScaleStateIndicatorComponent1.Size = new System.Drawing.SizeF(25F, 25F); scaleIndicatorState1.IntervalLength = 100F; scaleIndicatorState1.Name = "Default"; this.linearScaleStateIndicatorComponent1.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState1 }); this.linearScaleStateIndicatorComponent1.ZOrder = -100; // // linearScaleLevelComponent1 // this.linearScaleLevelComponent1.LinearScale = this.linearScaleComponent1; this.linearScaleLevelComponent1.Name = "Gauge0_Level1"; this.linearScaleLevelComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.LevelShapeSetType.Style19; this.linearScaleLevelComponent1.ZOrder = -50; // // linearScaleLevelComponent2 // this.linearScaleLevelComponent2.LinearScale = this.linearScaleComponent1; this.linearScaleLevelComponent2.Name = "Gauge0_Level2"; this.linearScaleLevelComponent2.ShapeType = DevExpress.XtraGauges.Core.Model.LevelShapeSetType.Style19; this.linearScaleLevelComponent2.ZOrder = -50; // // linearScaleMarkerComponent1 // this.linearScaleMarkerComponent1.LinearScale = this.linearScaleComponent1; this.linearScaleMarkerComponent1.Name = "Gauge0_Marker1"; this.linearScaleMarkerComponent1.ZOrder = -150; // // linearScaleRangeBarComponent1 // this.linearScaleRangeBarComponent1.LinearScale = this.linearScaleComponent1; this.linearScaleRangeBarComponent1.Name = "Gauge0_RangeBar1"; this.linearScaleRangeBarComponent1.ZOrder = -100; // // linearScaleComponent2 // this.linearScaleComponent2.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 9F); this.linearScaleComponent2.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#A4D6F7"); this.linearScaleComponent2.EndPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 38F); this.linearScaleComponent2.MajorTickCount = 6; this.linearScaleComponent2.MajorTickmark.FormatString = "{0:F0}"; this.linearScaleComponent2.MajorTickmark.ShapeOffset = -23F; this.linearScaleComponent2.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style19_1; this.linearScaleComponent2.MajorTickmark.TextOffset = -35F; this.linearScaleComponent2.MaxValue = 100F; this.linearScaleComponent2.MinorTickCount = 4; this.linearScaleComponent2.MinorTickmark.ShapeOffset = -23F; this.linearScaleComponent2.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style19_2; this.linearScaleComponent2.Name = "Gauge0_Scale2"; this.linearScaleComponent2.StartPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 212F); // // circularGauge2 // this.circularGauge2.BackgroundLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleBackgroundLayerComponent[] { this.arcScaleBackgroundLayerComponent2, this.arcScaleBackgroundLayerComponent3 }); this.circularGauge2.Bounds = new System.Drawing.Rectangle(254, 6, 242, 242); this.circularGauge2.EffectLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleEffectLayerComponent[] { this.arcScaleEffectLayerComponent1 }); this.circularGauge2.Name = "circularGauge2"; this.circularGauge2.Needles.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent[] { this.arcScaleNeedleComponent2, this.arcScaleNeedleComponent3 }); this.circularGauge2.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent[] { this.arcScaleComponent2, this.arcScaleComponent3 }); this.circularGauge2.SpindleCaps.AddRange(new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleSpindleCapComponent[] { this.arcScaleSpindleCapComponent1 }); // // arcScaleBackgroundLayerComponent2 // this.arcScaleBackgroundLayerComponent2.ArcScale = this.arcScaleComponent2; this.arcScaleBackgroundLayerComponent2.Name = "Gauge1_BackgroundLayer1"; this.arcScaleBackgroundLayerComponent2.ScaleCenterPos = new DevExpress.XtraGauges.Core.Base.PointF2D(0.5F, 0.496F); this.arcScaleBackgroundLayerComponent2.ShapeType = DevExpress.XtraGauges.Core.Model.BackgroundLayerShapeType.CircularFull_Style22; this.arcScaleBackgroundLayerComponent2.ZOrder = 1000; // // arcScaleComponent2 // this.arcScaleComponent2.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 8F); this.arcScaleComponent2.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#393939"); this.arcScaleComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 125F); this.arcScaleComponent2.EndAngle = 60F; this.arcScaleComponent2.MajorTickmark.FormatString = "{0:F0}"; this.arcScaleComponent2.MajorTickmark.ShapeOffset = -6F; this.arcScaleComponent2.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style22_1; this.arcScaleComponent2.MajorTickmark.TextOffset = 13F; this.arcScaleComponent2.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent2.MaxValue = 100F; this.arcScaleComponent2.MinorTickCount = 4; this.arcScaleComponent2.MinorTickmark.ShapeOffset = -6F; this.arcScaleComponent2.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style22_2; this.arcScaleComponent2.Name = "Gauge1_Scale1"; this.arcScaleComponent2.RadiusX = 70F; this.arcScaleComponent2.RadiusY = 70F; this.arcScaleComponent2.StartAngle = -240F; this.arcScaleComponent2.Value = 50F; // // arcScaleBackgroundLayerComponent3 // this.arcScaleBackgroundLayerComponent3.ArcScale = this.arcScaleComponent2; this.arcScaleBackgroundLayerComponent3.Name = "Gauge1_BackgroundLayer2"; this.arcScaleBackgroundLayerComponent3.ScaleCenterPos = new DevExpress.XtraGauges.Core.Base.PointF2D(0.5F, 0.496F); this.arcScaleBackgroundLayerComponent3.ShapeType = DevExpress.XtraGauges.Core.Model.BackgroundLayerShapeType.CircularFull_Style22; this.arcScaleBackgroundLayerComponent3.ZOrder = 1000; // // arcScaleEffectLayerComponent1 // this.arcScaleEffectLayerComponent1.ArcScale = this.arcScaleComponent2; this.arcScaleEffectLayerComponent1.Name = "Gauge1_EffectLayer1"; this.arcScaleEffectLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.EffectLayerShapeType.Empty; this.arcScaleEffectLayerComponent1.ZOrder = -1000; // // arcScaleNeedleComponent2 // this.arcScaleNeedleComponent2.ArcScale = this.arcScaleComponent2; this.arcScaleNeedleComponent2.EndOffset = 3F; this.arcScaleNeedleComponent2.Name = "Gauge1_Needle1"; this.arcScaleNeedleComponent2.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_Style22; this.arcScaleNeedleComponent2.ZOrder = -50; // // arcScaleNeedleComponent3 // this.arcScaleNeedleComponent3.ArcScale = this.arcScaleComponent2; this.arcScaleNeedleComponent3.EndOffset = 3F; this.arcScaleNeedleComponent3.Name = "Gauge1_Needle2"; this.arcScaleNeedleComponent3.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_Style22; this.arcScaleNeedleComponent3.ZOrder = -50; // // arcScaleComponent3 // this.arcScaleComponent3.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 8F); this.arcScaleComponent3.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#393939"); this.arcScaleComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 125F); this.arcScaleComponent3.EndAngle = 60F; this.arcScaleComponent3.MajorTickmark.FormatString = "{0:F0}"; this.arcScaleComponent3.MajorTickmark.ShapeOffset = -6F; this.arcScaleComponent3.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style22_1; this.arcScaleComponent3.MajorTickmark.TextOffset = 13F; this.arcScaleComponent3.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent3.MaxValue = 100F; this.arcScaleComponent3.MinorTickCount = 4; this.arcScaleComponent3.MinorTickmark.ShapeOffset = -6F; this.arcScaleComponent3.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style22_2; this.arcScaleComponent3.Name = "Gauge1_Scale2"; this.arcScaleComponent3.RadiusX = 70F; this.arcScaleComponent3.RadiusY = 70F; this.arcScaleComponent3.StartAngle = -240F; this.arcScaleComponent3.Value = 50F; // // arcScaleSpindleCapComponent1 // this.arcScaleSpindleCapComponent1.ArcScale = this.arcScaleComponent2; this.arcScaleSpindleCapComponent1.Name = "Gauge1_SpindleCap1"; this.arcScaleSpindleCapComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.SpindleCapShapeType.CircularFull_Style22; this.arcScaleSpindleCapComponent1.Size = new System.Drawing.SizeF(28F, 28F); this.arcScaleSpindleCapComponent1.ZOrder = -100; // // timer1 // this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.OnTimerTick); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(609, 254); this.Controls.Add(this.gaugeControl1); this.LookAndFeel.SkinName = "DevExpress Dark Style"; this.LookAndFeel.UseDefaultLookAndFeel = false; this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MaximumSize = new System.Drawing.Size(625, 292); this.MinimumSize = new System.Drawing.Size(625, 292); this.Name = "MainForm"; this.Text = "Animate Indicator"; this.Load += new System.EventHandler(this.OnFormLoad); ((System.ComponentModel.ISupportInitialize)(this.circularGauge1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleBackgroundLayerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleLevelComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleLevelComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleMarkerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleRangeBarComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.circularGauge2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleBackgroundLayerComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleEffectLayerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleSpindleCapComponent1)).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() { DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule(); DevExpress.XtraEditors.FormatConditionRuleIconSet formatConditionRuleIconSet1 = new DevExpress.XtraEditors.FormatConditionRuleIconSet(); DevExpress.XtraEditors.FormatConditionIconSet formatConditionIconSet1 = new DevExpress.XtraEditors.FormatConditionIconSet(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon1 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon2 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon3 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon4 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon5 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraEditors.FormatConditionIconSetIcon formatConditionIconSetIcon6 = new DevExpress.XtraEditors.FormatConditionIconSetIcon(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState1 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState2 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState3 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState4 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState5 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState6 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState7 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState8 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState9 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState10 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SeriesPoint seriesPoint1 = new DevExpress.XtraCharts.SeriesPoint("0", new object[] { ((object)(8.2D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint2 = new DevExpress.XtraCharts.SeriesPoint("1", new object[] { ((object)(1.9D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint3 = new DevExpress.XtraCharts.SeriesPoint("2", new object[] { ((object)(0.4D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint4 = new DevExpress.XtraCharts.SeriesPoint("3", new object[] { ((object)(6.1D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint5 = new DevExpress.XtraCharts.SeriesPoint("4", new object[] { ((object)(7.1D)) }); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SeriesPoint seriesPoint6 = new DevExpress.XtraCharts.SeriesPoint("0", new object[] { ((object)(4.1D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint7 = new DevExpress.XtraCharts.SeriesPoint("1", new object[] { ((object)(5.9D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint8 = new DevExpress.XtraCharts.SeriesPoint("2", new object[] { ((object)(4.4D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint9 = new DevExpress.XtraCharts.SeriesPoint("3", new object[] { ((object)(4.1D)) }); DevExpress.XtraCharts.SeriesPoint seriesPoint10 = new DevExpress.XtraCharts.SeriesPoint("4", new object[] { ((object)(4D)) }); DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView1 = new DevExpress.XtraCharts.SideBySideBarSeriesView(); this.gcScore = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.tplMain = new System.Windows.Forms.TableLayoutPanel(); this.tplLeft = new System.Windows.Forms.TableLayoutPanel(); this.gc = new DevExpress.XtraGrid.GridControl(); this.gv = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gcType = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcExecuteDate = new DevExpress.XtraGrid.Columns.GridColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.ucTimer = new ImpossibleMission.Widget.Common.UCTimer(); this.gaugeCtr = new DevExpress.XtraGauges.Win.GaugeControl(); this.linearGauge1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearGauge(); this.linearScaleStateIndicatorComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent(); this.linearScaleStateIndicatorComponent2 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent3 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent4 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent5 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.btnSave = new System.Windows.Forms.Button(); this.chart = new DevExpress.XtraCharts.ChartControl(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); this.tplMain.SuspendLayout(); this.tplLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gv)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit(); this.SuspendLayout(); // // gcScore // this.gcScore.Caption = "Score"; this.gcScore.ColumnEdit = this.repositoryItemSpinEdit1; this.gcScore.FieldName = "Score"; this.gcScore.Name = "gcScore"; this.gcScore.OptionsColumn.AllowEdit = false; this.gcScore.OptionsColumn.AllowFocus = false; this.gcScore.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gcScore.Visible = true; this.gcScore.VisibleIndex = 2; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // tplMain // this.tplMain.ColumnCount = 2; this.tplMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 450F)); this.tplMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tplMain.Controls.Add(this.tplLeft, 0, 0); this.tplMain.Controls.Add(this.chart, 1, 0); this.tplMain.Dock = System.Windows.Forms.DockStyle.Fill; this.tplMain.Location = new System.Drawing.Point(0, 0); this.tplMain.Name = "tplMain"; this.tplMain.RowCount = 1; this.tplMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tplMain.Size = new System.Drawing.Size(997, 320); this.tplMain.TabIndex = 0; // // tplLeft // this.tplLeft.ColumnCount = 1; this.tplLeft.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tplLeft.Controls.Add(this.gc, 0, 1); this.tplLeft.Controls.Add(this.panel1, 0, 0); this.tplLeft.Dock = System.Windows.Forms.DockStyle.Fill; this.tplLeft.Location = new System.Drawing.Point(3, 3); this.tplLeft.Name = "tplLeft"; this.tplLeft.RowCount = 2; this.tplLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 90F)); this.tplLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tplLeft.Size = new System.Drawing.Size(444, 314); this.tplLeft.TabIndex = 0; // // gc // this.gc.Dock = System.Windows.Forms.DockStyle.Fill; this.gc.Location = new System.Drawing.Point(3, 93); this.gc.MainView = this.gv; this.gc.Name = "gc"; this.gc.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemSpinEdit1 }); this.gc.Size = new System.Drawing.Size(438, 218); this.gc.TabIndex = 1; this.gc.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gv }); // // gv // this.gv.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gcType, this.gcName, this.gcExecuteDate, this.gcScore }); gridFormatRule1.Column = this.gcScore; gridFormatRule1.Name = "StartSet"; formatConditionIconSet1.CategoryName = "Ratings"; formatConditionIconSetIcon1.Icon = global::ImpossibleMission.Properties.Resources.Star55; formatConditionIconSetIcon1.Value = new decimal(new int[] { 5, 0, 0, 0 }); formatConditionIconSetIcon1.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSetIcon2.Icon = global::ImpossibleMission.Properties.Resources.Star44; formatConditionIconSetIcon2.Value = new decimal(new int[] { 4, 0, 0, 0 }); formatConditionIconSetIcon2.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSetIcon3.Icon = global::ImpossibleMission.Properties.Resources.Star33; formatConditionIconSetIcon3.Value = new decimal(new int[] { 3, 0, 0, 0 }); formatConditionIconSetIcon3.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSetIcon4.Icon = global::ImpossibleMission.Properties.Resources.Star22; formatConditionIconSetIcon4.Value = new decimal(new int[] { 2, 0, 0, 0 }); formatConditionIconSetIcon4.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSetIcon5.Icon = global::ImpossibleMission.Properties.Resources.Star11; formatConditionIconSetIcon5.Value = new decimal(new int[] { 1, 0, 0, 0 }); formatConditionIconSetIcon5.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSetIcon6.Icon = global::ImpossibleMission.Properties.Resources.star00; formatConditionIconSetIcon6.ValueComparison = DevExpress.XtraEditors.FormatConditionComparisonType.GreaterOrEqual; formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon1); formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon2); formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon3); formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon4); formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon5); formatConditionIconSet1.Icons.Add(formatConditionIconSetIcon6); formatConditionIconSet1.Name = "Score5"; formatConditionIconSet1.ValueType = DevExpress.XtraEditors.FormatConditionValueType.Number; formatConditionRuleIconSet1.IconSet = formatConditionIconSet1; gridFormatRule1.Rule = formatConditionRuleIconSet1; this.gv.FormatRules.Add(gridFormatRule1); this.gv.GridControl = this.gc; this.gv.GroupCount = 1; this.gv.Name = "gv"; this.gv.OptionsView.ShowGroupPanel = false; this.gv.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gcType, DevExpress.Data.ColumnSortOrder.Ascending) }); // // gcType // this.gcType.Caption = "ItemType"; this.gcType.FieldName = "ItemType"; this.gcType.Name = "gcType"; this.gcType.OptionsColumn.AllowEdit = false; this.gcType.OptionsColumn.AllowFocus = false; this.gcType.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.True; this.gcType.OptionsFilter.AllowAutoFilter = false; this.gcType.OptionsFilter.AllowFilter = false; this.gcType.Visible = true; this.gcType.VisibleIndex = 0; // // gcName // this.gcName.Caption = "Name"; this.gcName.FieldName = "Name"; this.gcName.Name = "gcName"; this.gcName.OptionsColumn.AllowEdit = false; this.gcName.OptionsColumn.AllowFocus = false; this.gcName.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False; this.gcName.Visible = true; this.gcName.VisibleIndex = 0; // // gcExecuteDate // this.gcExecuteDate.Caption = "Execute Date"; this.gcExecuteDate.DisplayFormat.FormatString = "yyyy-MM-dd"; this.gcExecuteDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gcExecuteDate.FieldName = "ExecuteDate"; this.gcExecuteDate.Name = "gcExecuteDate"; this.gcExecuteDate.OptionsColumn.AllowEdit = false; this.gcExecuteDate.OptionsColumn.AllowFocus = false; this.gcExecuteDate.OptionsFilter.AllowAutoFilter = false; this.gcExecuteDate.OptionsFilter.AllowFilter = false; this.gcExecuteDate.Visible = true; this.gcExecuteDate.VisibleIndex = 1; // // panel1 // this.panel1.Controls.Add(this.ucTimer); this.panel1.Controls.Add(this.gaugeCtr); this.panel1.Controls.Add(this.btnSave); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(3, 3); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(438, 84); this.panel1.TabIndex = 2; // // ucTimer // this.ucTimer.Location = new System.Drawing.Point(166, 1); this.ucTimer.Name = "ucTimer"; this.ucTimer.Size = new System.Drawing.Size(199, 80); this.ucTimer.TabIndex = 31; this.ucTimer.StatusChanged += new System.EventHandler <System.TimeSpan>(this.ucTimer1_StatusChanged); // // gaugeCtr // this.gaugeCtr.AutoLayout = false; this.gaugeCtr.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gaugeCtr.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { this.linearGauge1 }); this.gaugeCtr.Location = new System.Drawing.Point(3, 29); this.gaugeCtr.Margin = new System.Windows.Forms.Padding(0); this.gaugeCtr.Name = "gaugeCtr"; this.gaugeCtr.Size = new System.Drawing.Size(160, 35); this.gaugeCtr.TabIndex = 30; this.gaugeCtr.MouseDown += new System.Windows.Forms.MouseEventHandler(this.gaugeCtr_MouseDown); this.gaugeCtr.MouseLeave += new System.EventHandler(this.gaugeCtr_MouseLeave); this.gaugeCtr.MouseMove += new System.Windows.Forms.MouseEventHandler(this.gaugeCtr_MouseMove); // // linearGauge1 // this.linearGauge1.Bounds = new System.Drawing.Rectangle(2, 2, 155, 30); this.linearGauge1.Indicators.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent[] { this.linearScaleStateIndicatorComponent1, this.linearScaleStateIndicatorComponent2, this.linearScaleStateIndicatorComponent3, this.linearScaleStateIndicatorComponent4, this.linearScaleStateIndicatorComponent5 }); this.linearGauge1.Name = "linearGauge1"; this.linearGauge1.Orientation = DevExpress.XtraGauges.Core.Model.ScaleOrientation.Horizontal; this.linearGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent[] { this.linearScaleComponent1 }); // // linearScaleStateIndicatorComponent1 // this.linearScaleStateIndicatorComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 225F); this.linearScaleStateIndicatorComponent1.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent1.Name = "Indicator0"; this.linearScaleStateIndicatorComponent1.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState1.IntervalLength = 100F; scaleIndicatorState1.Name = "Colored"; scaleIndicatorState1.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem14; scaleIndicatorState1.StartValue = 1F; scaleIndicatorState2.IntervalLength = 0F; scaleIndicatorState2.Name = "Empty"; scaleIndicatorState2.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem10; this.linearScaleStateIndicatorComponent1.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState1, scaleIndicatorState2 }); this.linearScaleStateIndicatorComponent1.ZOrder = 100; // // linearScaleComponent1 // this.linearScaleComponent1.AppearanceMajorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.linearScaleComponent1.AppearanceMajorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.linearScaleComponent1.AppearanceMinorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.linearScaleComponent1.AppearanceMinorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.linearScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.linearScaleComponent1.CustomLogarithmicBase = 2F; this.linearScaleComponent1.EndPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 225F); this.linearScaleComponent1.MajorTickCount = 2; this.linearScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.linearScaleComponent1.MajorTickmark.ShapeOffset = -20F; this.linearScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_1; this.linearScaleComponent1.MajorTickmark.ShowText = false; this.linearScaleComponent1.MajorTickmark.ShowTick = false; this.linearScaleComponent1.MajorTickmark.TextOffset = -32F; this.linearScaleComponent1.MaxValue = 5F; this.linearScaleComponent1.MinorTickCount = 0; this.linearScaleComponent1.MinorTickmark.ShapeOffset = -14F; this.linearScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_2; this.linearScaleComponent1.MinorTickmark.ShowTick = false; this.linearScaleComponent1.Name = "Gauge0_Scale1"; this.linearScaleComponent1.StartPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 25F); // // linearScaleStateIndicatorComponent2 // this.linearScaleStateIndicatorComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 200F); this.linearScaleStateIndicatorComponent2.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent2.Name = "Indicator1"; this.linearScaleStateIndicatorComponent2.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState3.IntervalLength = 80F; scaleIndicatorState3.Name = "Colored"; scaleIndicatorState3.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem14; scaleIndicatorState3.StartValue = 2F; scaleIndicatorState4.IntervalLength = 20F; scaleIndicatorState4.Name = "Empty"; scaleIndicatorState4.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem10; this.linearScaleStateIndicatorComponent2.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState3, scaleIndicatorState4 }); this.linearScaleStateIndicatorComponent2.ZOrder = 99; // // linearScaleStateIndicatorComponent3 // this.linearScaleStateIndicatorComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 175F); this.linearScaleStateIndicatorComponent3.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent3.Name = "Indicator2"; this.linearScaleStateIndicatorComponent3.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState5.IntervalLength = 60F; scaleIndicatorState5.Name = "Colored"; scaleIndicatorState5.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem14; scaleIndicatorState5.StartValue = 3F; scaleIndicatorState6.IntervalLength = 40F; scaleIndicatorState6.Name = "Empty"; scaleIndicatorState6.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem10; this.linearScaleStateIndicatorComponent3.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState5, scaleIndicatorState6 }); this.linearScaleStateIndicatorComponent3.ZOrder = 98; // // linearScaleStateIndicatorComponent4 // this.linearScaleStateIndicatorComponent4.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 150F); this.linearScaleStateIndicatorComponent4.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent4.Name = "Indicator3"; this.linearScaleStateIndicatorComponent4.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState7.IntervalLength = 40F; scaleIndicatorState7.Name = "Colored"; scaleIndicatorState7.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem14; scaleIndicatorState7.StartValue = 4F; scaleIndicatorState8.IntervalLength = 60F; scaleIndicatorState8.Name = "Empty"; scaleIndicatorState8.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem10; this.linearScaleStateIndicatorComponent4.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState7, scaleIndicatorState8 }); this.linearScaleStateIndicatorComponent4.ZOrder = 97; // // linearScaleStateIndicatorComponent5 // this.linearScaleStateIndicatorComponent5.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 125F); this.linearScaleStateIndicatorComponent5.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent5.Name = "Indicator4"; this.linearScaleStateIndicatorComponent5.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState9.IntervalLength = 20F; scaleIndicatorState9.Name = "Colored"; scaleIndicatorState9.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem14; scaleIndicatorState9.StartValue = 5F; scaleIndicatorState10.IntervalLength = 80F; scaleIndicatorState10.Name = "Empty"; scaleIndicatorState10.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem10; this.linearScaleStateIndicatorComponent5.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState9, scaleIndicatorState10 }); this.linearScaleStateIndicatorComponent5.ZOrder = 96; // // btnSave // this.btnSave.Location = new System.Drawing.Point(3, 3); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(70, 23); this.btnSave.TabIndex = 29; this.btnSave.Text = "保存"; this.btnSave.UseVisualStyleBackColor = true; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // chart // xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chart.Diagram = xyDiagram1; this.chart.Dock = System.Windows.Forms.DockStyle.Fill; this.chart.Location = new System.Drawing.Point(453, 3); this.chart.Name = "chart"; series1.Name = "Actual"; series1.Points.AddRange(new DevExpress.XtraCharts.SeriesPoint[] { seriesPoint1, seriesPoint2, seriesPoint3, seriesPoint4, seriesPoint5 }); series2.Name = "Missed"; series2.Points.AddRange(new DevExpress.XtraCharts.SeriesPoint[] { seriesPoint6, seriesPoint7, seriesPoint8, seriesPoint9, seriesPoint10 }); sideBySideBarSeriesView1.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); sideBySideBarSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True; sideBySideBarSeriesView1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(183)))), ((int)(((byte)(255)))), ((int)(((byte)(71)))), ((int)(((byte)(73))))); sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid; series2.View = sideBySideBarSeriesView1; this.chart.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; this.chart.Size = new System.Drawing.Size(541, 314); this.chart.TabIndex = 1; // // UCComEbbOperator // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tplMain); this.Name = "UCComEbbOperator"; this.Size = new System.Drawing.Size(997, 320); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); this.tplMain.ResumeLayout(false); this.tplLeft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gc)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gv)).EndInit(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chart)).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.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState1 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleLabel scaleLabel1 = new DevExpress.XtraGauges.Core.Model.ScaleLabel(); DevExpress.XtraGauges.Core.Model.ScaleLabel scaleLabel2 = new DevExpress.XtraGauges.Core.Model.ScaleLabel(); DevExpress.XtraGauges.Core.Model.ScaleLabel scaleLabel3 = new DevExpress.XtraGauges.Core.Model.ScaleLabel(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState2 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState3 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmLogin)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.btnDel = new System.Windows.Forms.Button(); this.lblBarcosText = new System.Windows.Forms.Label(); this.btnClose = new System.Windows.Forms.Button(); this.txtPass = new System.Windows.Forms.TextBox(); this.btn0 = new System.Windows.Forms.Button(); this.btn1 = new System.Windows.Forms.Button(); this.btn9 = new System.Windows.Forms.Button(); this.btn2 = new System.Windows.Forms.Button(); this.btn8 = new System.Windows.Forms.Button(); this.btn3 = new System.Windows.Forms.Button(); this.btn7 = new System.Windows.Forms.Button(); this.btn4 = new System.Windows.Forms.Button(); this.btn6 = new System.Windows.Forms.Button(); this.btn5 = new System.Windows.Forms.Button(); this.tmrFalsePass = new System.Windows.Forms.Timer(this.components); this.arcScaleStateIndicatorComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleStateIndicatorComponent(); this.arcScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleStateIndicatorComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleStateIndicatorComponent(); this.arcScaleStateIndicatorComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleStateIndicatorComponent(); this.arcScaleSpindleCapComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleSpindleCapComponent(); this.arcScaleNeedleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.gaugeControl1 = new DevExpress.XtraGauges.Win.GaugeControl(); this.digitalGauge2 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalGauge(); this.digitalBackgroundLayerComponent2 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent(); this.pctLogo = new System.Windows.Forms.PictureBox(); this.arcScaleNeedleComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.arcScaleComponent2 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleNeedleComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleNeedleComponent(); this.arcScaleComponent3 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleComponent(); this.arcScaleEffectLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Circular.ArcScaleEffectLayerComponent(); this.digitalBackgroundLayerComponent1 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent(); this.digitalGauge1 = new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalGauge(); this.tmrAnimate = new System.Windows.Forms.Timer(this.components); this.groupBox1.SuspendLayout(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleSpindleCapComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent1)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.digitalGauge2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pctLogo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleEffectLayerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalGauge1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.White; this.groupBox1.Controls.Add(this.groupBox4); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Right; this.groupBox1.Location = new System.Drawing.Point(850, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(610, 838); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; // // groupBox4 // this.groupBox4.Controls.Add(this.label1); this.groupBox4.Controls.Add(this.btnDel); this.groupBox4.Controls.Add(this.lblBarcosText); this.groupBox4.Controls.Add(this.btnClose); this.groupBox4.Controls.Add(this.txtPass); this.groupBox4.Controls.Add(this.btn0); this.groupBox4.Controls.Add(this.btn1); this.groupBox4.Controls.Add(this.btn9); this.groupBox4.Controls.Add(this.btn2); this.groupBox4.Controls.Add(this.btn8); this.groupBox4.Controls.Add(this.btn3); this.groupBox4.Controls.Add(this.btn7); this.groupBox4.Controls.Add(this.btn4); this.groupBox4.Controls.Add(this.btn6); this.groupBox4.Controls.Add(this.btn5); this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox4.Location = new System.Drawing.Point(3, 18); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(604, 817); this.groupBox4.TabIndex = 17; this.groupBox4.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.label1.Location = new System.Drawing.Point(104, 720); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(164, 28); this.label1.TabIndex = 20; this.label1.Text = "Default Pass:1234"; // // btnDel // this.btnDel.BackColor = System.Drawing.Color.DarkCyan; this.btnDel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnDel.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnDel.ForeColor = System.Drawing.Color.White; this.btnDel.Location = new System.Drawing.Point(379, 590); this.btnDel.Name = "btnDel"; this.btnDel.Size = new System.Drawing.Size(129, 117); this.btnDel.TabIndex = 19; this.btnDel.Text = "DEL"; this.btnDel.UseVisualStyleBackColor = false; this.btnDel.Click += new System.EventHandler(this.btnDel_Click); // // lblBarcosText // this.lblBarcosText.AutoSize = true; this.lblBarcosText.Font = new System.Drawing.Font("Segoe UI", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.lblBarcosText.Location = new System.Drawing.Point(173, 66); this.lblBarcosText.Name = "lblBarcosText"; this.lblBarcosText.Size = new System.Drawing.Size(262, 38); this.lblBarcosText.TabIndex = 11; this.lblBarcosText.Text = "Desti-BarcoS(eller)"; this.lblBarcosText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnClose // this.btnClose.BackColor = System.Drawing.Color.DarkCyan; this.btnClose.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btnClose.ForeColor = System.Drawing.Color.White; this.btnClose.Location = new System.Drawing.Point(529, 21); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(54, 52); this.btnClose.TabIndex = 18; this.btnClose.Text = "X"; this.btnClose.UseVisualStyleBackColor = false; this.btnClose.Click += new System.EventHandler(this.btnClose_Click_1); // // txtPass // this.txtPass.Font = new System.Drawing.Font("Segoe UI", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.txtPass.Location = new System.Drawing.Point(109, 118); this.txtPass.Multiline = true; this.txtPass.Name = "txtPass"; this.txtPass.PasswordChar = '*'; this.txtPass.Size = new System.Drawing.Size(399, 97); this.txtPass.TabIndex = 17; this.txtPass.TextChanged += new System.EventHandler(this.txtPass_TextChanged); // // btn0 // this.btn0.BackColor = System.Drawing.Color.DarkCyan; this.btn0.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn0.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn0.ForeColor = System.Drawing.Color.White; this.btn0.Location = new System.Drawing.Point(109, 590); this.btn0.Name = "btn0"; this.btn0.Size = new System.Drawing.Size(264, 117); this.btn0.TabIndex = 16; this.btn0.Text = "0"; this.btn0.UseVisualStyleBackColor = false; this.btn0.Click += new System.EventHandler(this.btn0_Click); // // btn1 // this.btn1.BackColor = System.Drawing.Color.DarkCyan; this.btn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn1.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn1.ForeColor = System.Drawing.Color.White; this.btn1.Location = new System.Drawing.Point(109, 221); this.btn1.Name = "btn1"; this.btn1.Size = new System.Drawing.Size(129, 117); this.btn1.TabIndex = 6; this.btn1.Text = "1"; this.btn1.UseVisualStyleBackColor = false; this.btn1.Click += new System.EventHandler(this.btn1_Click); // // btn9 // this.btn9.BackColor = System.Drawing.Color.DarkCyan; this.btn9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn9.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn9.ForeColor = System.Drawing.Color.White; this.btn9.Location = new System.Drawing.Point(379, 467); this.btn9.Name = "btn9"; this.btn9.Size = new System.Drawing.Size(129, 117); this.btn9.TabIndex = 14; this.btn9.Text = "9"; this.btn9.UseVisualStyleBackColor = false; this.btn9.Click += new System.EventHandler(this.btn9_Click); // // btn2 // this.btn2.BackColor = System.Drawing.Color.DarkCyan; this.btn2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn2.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn2.ForeColor = System.Drawing.Color.White; this.btn2.Location = new System.Drawing.Point(244, 221); this.btn2.Name = "btn2"; this.btn2.Size = new System.Drawing.Size(129, 117); this.btn2.TabIndex = 7; this.btn2.Text = "2"; this.btn2.UseVisualStyleBackColor = false; this.btn2.Click += new System.EventHandler(this.btn2_Click); // // btn8 // this.btn8.BackColor = System.Drawing.Color.DarkCyan; this.btn8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn8.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn8.ForeColor = System.Drawing.Color.White; this.btn8.Location = new System.Drawing.Point(244, 467); this.btn8.Name = "btn8"; this.btn8.Size = new System.Drawing.Size(129, 117); this.btn8.TabIndex = 13; this.btn8.Text = "8"; this.btn8.UseVisualStyleBackColor = false; this.btn8.Click += new System.EventHandler(this.btn8_Click); // // btn3 // this.btn3.BackColor = System.Drawing.Color.DarkCyan; this.btn3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn3.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn3.ForeColor = System.Drawing.Color.White; this.btn3.Location = new System.Drawing.Point(379, 221); this.btn3.Name = "btn3"; this.btn3.Size = new System.Drawing.Size(129, 117); this.btn3.TabIndex = 8; this.btn3.Text = "3"; this.btn3.UseVisualStyleBackColor = false; this.btn3.Click += new System.EventHandler(this.btn3_Click); // // btn7 // this.btn7.BackColor = System.Drawing.Color.DarkCyan; this.btn7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn7.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn7.ForeColor = System.Drawing.Color.White; this.btn7.Location = new System.Drawing.Point(109, 467); this.btn7.Name = "btn7"; this.btn7.Size = new System.Drawing.Size(129, 117); this.btn7.TabIndex = 12; this.btn7.Text = "7"; this.btn7.UseVisualStyleBackColor = false; this.btn7.Click += new System.EventHandler(this.btn7_Click); // // btn4 // this.btn4.BackColor = System.Drawing.Color.DarkCyan; this.btn4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn4.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn4.ForeColor = System.Drawing.Color.White; this.btn4.Location = new System.Drawing.Point(109, 344); this.btn4.Name = "btn4"; this.btn4.Size = new System.Drawing.Size(129, 117); this.btn4.TabIndex = 9; this.btn4.Text = "4"; this.btn4.UseVisualStyleBackColor = false; this.btn4.Click += new System.EventHandler(this.btn4_Click); // // btn6 // this.btn6.BackColor = System.Drawing.Color.DarkCyan; this.btn6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn6.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn6.ForeColor = System.Drawing.Color.White; this.btn6.Location = new System.Drawing.Point(379, 344); this.btn6.Name = "btn6"; this.btn6.Size = new System.Drawing.Size(129, 117); this.btn6.TabIndex = 11; this.btn6.Text = "6"; this.btn6.UseVisualStyleBackColor = false; this.btn6.Click += new System.EventHandler(this.btn6_Click); // // btn5 // this.btn5.BackColor = System.Drawing.Color.DarkCyan; this.btn5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn5.Font = new System.Drawing.Font("Segoe UI", 25.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162))); this.btn5.ForeColor = System.Drawing.Color.White; this.btn5.Location = new System.Drawing.Point(244, 344); this.btn5.Name = "btn5"; this.btn5.Size = new System.Drawing.Size(129, 117); this.btn5.TabIndex = 10; this.btn5.Text = "5"; this.btn5.UseVisualStyleBackColor = false; this.btn5.Click += new System.EventHandler(this.btn5_Click); // // tmrFalsePass // this.tmrFalsePass.Interval = 200; this.tmrFalsePass.Tick += new System.EventHandler(this.tmrFalsePass_Tick); // // arcScaleStateIndicatorComponent3 // this.arcScaleStateIndicatorComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(195F, 223F); this.arcScaleStateIndicatorComponent3.IndicatorScale = this.arcScaleComponent1; this.arcScaleStateIndicatorComponent3.Name = "arcScaleStateIndicatorComponent12"; this.arcScaleStateIndicatorComponent3.Size = new System.Drawing.SizeF(15F, 15F); scaleIndicatorState1.IntervalLength = 12F; scaleIndicatorState1.Name = "Default"; scaleIndicatorState1.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.Arrow1; this.arcScaleStateIndicatorComponent3.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState1 }); this.arcScaleStateIndicatorComponent3.ZOrder = -100; // // arcScaleComponent1 // this.arcScaleComponent1.AppearanceMajorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent1.AppearanceMajorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent1.AppearanceMinorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent1.AppearanceMinorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent1.AppearanceTickmarkText.Font = new System.Drawing.Font("Tahoma", 10F); this.arcScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.arcScaleComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 110F); this.arcScaleComponent1.EndAngle = 270F; scaleLabel1.AppearanceText.Font = new System.Drawing.Font("Tahoma", 8F); scaleLabel1.AppearanceText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); scaleLabel1.FormatString = "{0}"; scaleLabel1.Name = "Label0"; scaleLabel1.Position = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 135F); scaleLabel1.Size = new System.Drawing.SizeF(70F, 20F); scaleLabel1.Text = "Paris"; scaleLabel2.AppearanceText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); scaleLabel2.FormatString = "{0}"; scaleLabel2.Name = "Label1"; scaleLabel2.Position = new DevExpress.XtraGauges.Core.Base.PointF2D(75F, 238F); scaleLabel2.Size = new System.Drawing.SizeF(50F, 15F); scaleLabel2.Text = "France"; scaleLabel3.AppearanceText.Font = new System.Drawing.Font("Tahoma", 12F); scaleLabel3.AppearanceText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); scaleLabel3.FormatString = "{0:F4}"; scaleLabel3.Name = "Label2"; scaleLabel3.Position = new DevExpress.XtraGauges.Core.Base.PointF2D(160F, 225F); scaleLabel3.Size = new System.Drawing.SizeF(70F, 20F); scaleLabel3.Text = "73.142"; this.arcScaleComponent1.Labels.AddRange(new DevExpress.XtraGauges.Core.Model.ILabel[] { scaleLabel1, scaleLabel2, scaleLabel3 }); this.arcScaleComponent1.MajorTickCount = 13; this.arcScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.arcScaleComponent1.MajorTickmark.ShapeOffset = -9.5F; this.arcScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style5_2; this.arcScaleComponent1.MajorTickmark.ShowFirst = false; this.arcScaleComponent1.MajorTickmark.TextOffset = -18F; this.arcScaleComponent1.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent1.MaxValue = 12F; this.arcScaleComponent1.MinorTickCount = 4; this.arcScaleComponent1.MinorTickmark.ShapeOffset = -1.5F; this.arcScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Circular_Style5_5; this.arcScaleComponent1.Name = "arcScaleComponent10"; this.arcScaleComponent1.RadiusX = 74F; this.arcScaleComponent1.RadiusY = 74F; this.arcScaleComponent1.StartAngle = -90F; // // arcScaleStateIndicatorComponent2 // this.arcScaleStateIndicatorComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(118F, 223F); this.arcScaleStateIndicatorComponent2.IndicatorScale = this.arcScaleComponent1; this.arcScaleStateIndicatorComponent2.Name = "arcScaleStateIndicatorComponent11"; this.arcScaleStateIndicatorComponent2.Shader = new DevExpress.XtraGauges.Core.Drawing.GrayShader(""); this.arcScaleStateIndicatorComponent2.Size = new System.Drawing.SizeF(20F, 20F); scaleIndicatorState2.IntervalLength = 12F; scaleIndicatorState2.Name = "Default"; scaleIndicatorState2.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.CurrencyEUR; this.arcScaleStateIndicatorComponent2.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState2 }); this.arcScaleStateIndicatorComponent2.ZOrder = -100; // // arcScaleStateIndicatorComponent1 // this.arcScaleStateIndicatorComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(75F, 218F); this.arcScaleStateIndicatorComponent1.IndicatorScale = this.arcScaleComponent1; this.arcScaleStateIndicatorComponent1.Name = "arcScaleStateIndicatorComponent10"; this.arcScaleStateIndicatorComponent1.Size = new System.Drawing.SizeF(40F, 21F); scaleIndicatorState3.IntervalLength = 12F; scaleIndicatorState3.Name = "Default"; scaleIndicatorState3.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.FlagFrance; this.arcScaleStateIndicatorComponent1.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState3 }); this.arcScaleStateIndicatorComponent1.ZOrder = -100; // // arcScaleSpindleCapComponent1 // this.arcScaleSpindleCapComponent1.ArcScale = this.arcScaleComponent1; this.arcScaleSpindleCapComponent1.Name = "arcScaleSpindleCapComponent4"; this.arcScaleSpindleCapComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.SpindleCapShapeType.CircularFull_Clock; this.arcScaleSpindleCapComponent1.Size = new System.Drawing.SizeF(12F, 12F); this.arcScaleSpindleCapComponent1.ZOrder = -100; // // arcScaleNeedleComponent1 // this.arcScaleNeedleComponent1.ArcScale = this.arcScaleComponent1; this.arcScaleNeedleComponent1.EndOffset = 10F; this.arcScaleNeedleComponent1.Name = "arcScaleNeedleComponent10"; this.arcScaleNeedleComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_ClockHour; this.arcScaleNeedleComponent1.ZOrder = -50; // // groupBox2 // this.groupBox2.BackColor = System.Drawing.Color.White; this.groupBox2.Controls.Add(this.gaugeControl1); this.groupBox2.Controls.Add(this.pctLogo); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(850, 838); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; // // gaugeControl1 // this.gaugeControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.gaugeControl1.Dock = System.Windows.Forms.DockStyle.Top; this.gaugeControl1.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { this.digitalGauge2 }); this.gaugeControl1.Location = new System.Drawing.Point(3, 446); this.gaugeControl1.Name = "gaugeControl1"; this.gaugeControl1.Size = new System.Drawing.Size(844, 250); this.gaugeControl1.TabIndex = 9; // // digitalGauge2 // this.digitalGauge2.AppearanceOff.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#0A151A"); this.digitalGauge2.AppearanceOn.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#289FB8"); this.digitalGauge2.BackgroundLayers.AddRange(new DevExpress.XtraGauges.Win.Gauges.Digital.DigitalBackgroundLayerComponent[] { this.digitalBackgroundLayerComponent2 }); this.digitalGauge2.Bounds = new System.Drawing.Rectangle(6, 6, 832, 238); this.digitalGauge2.DigitCount = 4; this.digitalGauge2.Name = "digitalGauge2"; this.digitalGauge2.Text = "00,000"; // // digitalBackgroundLayerComponent2 // this.digitalBackgroundLayerComponent2.BottomRight = new DevExpress.XtraGauges.Core.Base.PointF2D(211.85F, 99.9625F); this.digitalBackgroundLayerComponent2.Name = "digitalBackgroundLayerComponent7"; this.digitalBackgroundLayerComponent2.ShapeType = DevExpress.XtraGauges.Core.Model.DigitalBackgroundShapeSetType.Style21; this.digitalBackgroundLayerComponent2.TopLeft = new DevExpress.XtraGauges.Core.Base.PointF2D(20F, 0F); this.digitalBackgroundLayerComponent2.ZOrder = 1000; // // pctLogo // this.pctLogo.BackgroundImage = global::BarcoS.Properties.Resources.destilogo; this.pctLogo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.pctLogo.Dock = System.Windows.Forms.DockStyle.Top; this.pctLogo.Location = new System.Drawing.Point(3, 18); this.pctLogo.Name = "pctLogo"; this.pctLogo.Size = new System.Drawing.Size(844, 428); this.pctLogo.TabIndex = 3; this.pctLogo.TabStop = false; // // arcScaleNeedleComponent2 // this.arcScaleNeedleComponent2.ArcScale = this.arcScaleComponent2; this.arcScaleNeedleComponent2.EndOffset = -5F; this.arcScaleNeedleComponent2.Name = "arcScaleNeedleComponent11"; this.arcScaleNeedleComponent2.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_ClockMinute; this.arcScaleNeedleComponent2.ZOrder = -51; // // arcScaleComponent2 // this.arcScaleComponent2.AppearanceMajorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent2.AppearanceMajorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent2.AppearanceMinorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent2.AppearanceMinorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent2.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 110F); this.arcScaleComponent2.EndAngle = 270F; this.arcScaleComponent2.MajorTickCount = 2; this.arcScaleComponent2.MajorTickmark.ShowText = false; this.arcScaleComponent2.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent2.MaxValue = 12F; this.arcScaleComponent2.MinorTickCount = 0; this.arcScaleComponent2.Name = "arcScaleComponent11"; this.arcScaleComponent2.RadiusX = 74F; this.arcScaleComponent2.RadiusY = 74F; this.arcScaleComponent2.StartAngle = -90F; this.arcScaleComponent2.Value = 3F; // // arcScaleNeedleComponent3 // this.arcScaleNeedleComponent3.ArcScale = this.arcScaleComponent3; this.arcScaleNeedleComponent3.EndOffset = -10F; this.arcScaleNeedleComponent3.Name = "arcScaleNeedleComponent12"; this.arcScaleNeedleComponent3.ShapeType = DevExpress.XtraGauges.Core.Model.NeedleShapeType.CircularFull_ClockSecond; this.arcScaleNeedleComponent3.ZOrder = -52; // // arcScaleComponent3 // this.arcScaleComponent3.AppearanceMajorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent3.AppearanceMajorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent3.AppearanceMinorTickmark.BorderBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent3.AppearanceMinorTickmark.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent3.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:White"); this.arcScaleComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(125F, 110F); this.arcScaleComponent3.EndAngle = 270F; this.arcScaleComponent3.MajorTickCount = 2; this.arcScaleComponent3.MajorTickmark.ShowText = false; this.arcScaleComponent3.MajorTickmark.TextOrientation = DevExpress.XtraGauges.Core.Model.LabelOrientation.LeftToRight; this.arcScaleComponent3.MaxValue = 12F; this.arcScaleComponent3.MinorTickCount = 0; this.arcScaleComponent3.Name = "arcScaleComponent12"; this.arcScaleComponent3.RadiusX = 74F; this.arcScaleComponent3.RadiusY = 74F; this.arcScaleComponent3.StartAngle = -90F; this.arcScaleComponent3.Value = 1.5F; // // arcScaleEffectLayerComponent1 // this.arcScaleEffectLayerComponent1.ArcScale = this.arcScaleComponent1; this.arcScaleEffectLayerComponent1.Name = "arcScaleEffectLayerComponent4"; this.arcScaleEffectLayerComponent1.ScaleCenterPos = new DevExpress.XtraGauges.Core.Base.PointF2D(0.5F, 1F); this.arcScaleEffectLayerComponent1.Shader = new DevExpress.XtraGauges.Core.Drawing.OpacityShader("Opacity[0.7]"); this.arcScaleEffectLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.EffectLayerShapeType.CircularFull_Clock; this.arcScaleEffectLayerComponent1.Size = new System.Drawing.SizeF(170F, 85F); this.arcScaleEffectLayerComponent1.ZOrder = -1000; // // digitalBackgroundLayerComponent1 // this.digitalBackgroundLayerComponent1.BottomRight = new DevExpress.XtraGauges.Core.Base.PointF2D(211.1F, 106.075F); this.digitalBackgroundLayerComponent1.Name = "digitalBackgroundLayerComponent1"; this.digitalBackgroundLayerComponent1.ShapeType = DevExpress.XtraGauges.Core.Model.DigitalBackgroundShapeSetType.Style7; this.digitalBackgroundLayerComponent1.TopLeft = new DevExpress.XtraGauges.Core.Base.PointF2D(26F, 0F); this.digitalBackgroundLayerComponent1.ZOrder = 1000; // // digitalGauge1 // this.digitalGauge1.AppearanceOff.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:#00FFFFFF"); this.digitalGauge1.AppearanceOn.ContentBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:WhiteSmoke"); this.digitalGauge1.Bounds = new System.Drawing.Rectangle(6, 6, 832, 238); this.digitalGauge1.DigitCount = 4; this.digitalGauge1.DisplayMode = DevExpress.XtraGauges.Core.Model.DigitalGaugeDisplayMode.SevenSegment; this.digitalGauge1.Name = "digitalGauge1"; this.digitalGauge1.Padding = new DevExpress.XtraGauges.Core.Base.TextSpacing(26, 20, 26, 20); this.digitalGauge1.Text = "00.000"; // // tmrAnimate // this.tmrAnimate.Interval = 1000; this.tmrAnimate.Tick += new System.EventHandler(this.tmrAnimate_Tick); // // frmLogin // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1460, 838); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmLogin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frmLogin"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmLogin_Load); this.groupBox1.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleStateIndicatorComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleSpindleCapComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent1)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.digitalGauge2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pctLogo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleNeedleComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.arcScaleEffectLayerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalBackgroundLayerComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.digitalGauge1)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MyProgressIndicationForm)); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState1 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState2 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState3 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState4 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState5 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState6 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState7 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState8 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState9 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState10 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState11 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState12 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState13 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState14 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState15 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState16 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState17 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState18 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState19 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); DevExpress.XtraGauges.Core.Model.ScaleIndicatorState scaleIndicatorState20 = new DevExpress.XtraGauges.Core.Model.ScaleIndicatorState(); this.gaugeControl1 = new DevExpress.XtraGauges.Win.GaugeControl(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.linearGauge1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearGauge(); this.linearScaleStateIndicatorComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleComponent1 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent(); this.linearScaleStateIndicatorComponent2 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent3 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent4 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent5 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent6 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent7 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent8 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent9 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.linearScaleStateIndicatorComponent10 = new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent(); this.labelComponent1 = new DevExpress.XtraGauges.Win.Base.LabelComponent(); this.gaugeControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.labelComponent1)).BeginInit(); this.SuspendLayout(); // // gaugeControl1 // this.gaugeControl1.BackColor = System.Drawing.Color.Transparent; this.gaugeControl1.Controls.Add(this.btnClose); this.gaugeControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gaugeControl1.Gauges.AddRange(new DevExpress.XtraGauges.Base.IGauge[] { this.linearGauge1 }); this.gaugeControl1.Location = new System.Drawing.Point(0, 0); this.gaugeControl1.Name = "gaugeControl1"; this.gaugeControl1.Size = new System.Drawing.Size(284, 262); this.gaugeControl1.TabIndex = 0; this.gaugeControl1.UseWaitCursor = true; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image"))); this.btnClose.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnClose.Location = new System.Drawing.Point(252, 0); this.btnClose.Margin = new System.Windows.Forms.Padding(0); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(32, 32); this.btnClose.TabIndex = 1; this.btnClose.UseWaitCursor = true; // // linearGauge1 // this.linearGauge1.Bounds = new System.Drawing.Rectangle(6, 6, 272, 250); this.linearGauge1.Indicators.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleStateIndicatorComponent[] { this.linearScaleStateIndicatorComponent1, this.linearScaleStateIndicatorComponent2, this.linearScaleStateIndicatorComponent3, this.linearScaleStateIndicatorComponent4, this.linearScaleStateIndicatorComponent5, this.linearScaleStateIndicatorComponent6, this.linearScaleStateIndicatorComponent7, this.linearScaleStateIndicatorComponent8, this.linearScaleStateIndicatorComponent9, this.linearScaleStateIndicatorComponent10 }); this.linearGauge1.Labels.AddRange(new DevExpress.XtraGauges.Win.Base.LabelComponent[] { this.labelComponent1 }); this.linearGauge1.Name = "linearGauge1"; this.linearGauge1.Scales.AddRange(new DevExpress.XtraGauges.Win.Gauges.Linear.LinearScaleComponent[] { this.linearScaleComponent1 }); // // linearScaleStateIndicatorComponent1 // this.linearScaleStateIndicatorComponent1.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(12.5F, 125F); this.linearScaleStateIndicatorComponent1.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent1.Name = "Indicator0"; this.linearScaleStateIndicatorComponent1.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState1.IntervalLength = 100F; scaleIndicatorState1.Name = "Colored"; scaleIndicatorState1.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState1.StartValue = 0.01F; scaleIndicatorState2.IntervalLength = 0F; scaleIndicatorState2.Name = "Empty"; scaleIndicatorState2.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent1.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState1, scaleIndicatorState2 }); this.linearScaleStateIndicatorComponent1.ZOrder = 100; // // linearScaleComponent1 // this.linearScaleComponent1.AppearanceTickmarkText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.linearScaleComponent1.CustomLogarithmicBase = 2F; this.linearScaleComponent1.EndPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 225F); this.linearScaleComponent1.MajorTickCount = 2; this.linearScaleComponent1.MajorTickmark.FormatString = "{0:F0}"; this.linearScaleComponent1.MajorTickmark.ShapeOffset = -20F; this.linearScaleComponent1.MajorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_1; this.linearScaleComponent1.MajorTickmark.ShowText = false; this.linearScaleComponent1.MajorTickmark.ShowTick = false; this.linearScaleComponent1.MajorTickmark.TextOffset = -32F; this.linearScaleComponent1.MaxValue = 100F; this.linearScaleComponent1.MinorTickCount = 0; this.linearScaleComponent1.MinorTickmark.ShapeOffset = -14F; this.linearScaleComponent1.MinorTickmark.ShapeType = DevExpress.XtraGauges.Core.Model.TickmarkShapeType.Linear_Style1_2; this.linearScaleComponent1.MinorTickmark.ShowTick = false; this.linearScaleComponent1.Name = "scale1"; this.linearScaleComponent1.StartPoint = new DevExpress.XtraGauges.Core.Base.PointF2D(62.5F, 25F); // // linearScaleStateIndicatorComponent2 // this.linearScaleStateIndicatorComponent2.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(22.05F, 95.61F); this.linearScaleStateIndicatorComponent2.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent2.Name = "Indicator1"; this.linearScaleStateIndicatorComponent2.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState3.IntervalLength = 90F; scaleIndicatorState3.Name = "Colored"; scaleIndicatorState3.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState3.StartValue = 10F; scaleIndicatorState4.IntervalLength = 10F; scaleIndicatorState4.Name = "Empty"; scaleIndicatorState4.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent2.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState3, scaleIndicatorState4 }); this.linearScaleStateIndicatorComponent2.ZOrder = 99; // // linearScaleStateIndicatorComponent3 // this.linearScaleStateIndicatorComponent3.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(47.05F, 77.45F); this.linearScaleStateIndicatorComponent3.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent3.Name = "Indicator2"; this.linearScaleStateIndicatorComponent3.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState5.IntervalLength = 80F; scaleIndicatorState5.Name = "Colored"; scaleIndicatorState5.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState5.StartValue = 20F; scaleIndicatorState6.IntervalLength = 20F; scaleIndicatorState6.Name = "Empty"; scaleIndicatorState6.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent3.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState5, scaleIndicatorState6 }); this.linearScaleStateIndicatorComponent3.ZOrder = 98; // // linearScaleStateIndicatorComponent4 // this.linearScaleStateIndicatorComponent4.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(77.95F, 77.45F); this.linearScaleStateIndicatorComponent4.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent4.Name = "Indicator3"; this.linearScaleStateIndicatorComponent4.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState7.IntervalLength = 70F; scaleIndicatorState7.Name = "Colored"; scaleIndicatorState7.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState7.StartValue = 30F; scaleIndicatorState8.IntervalLength = 30F; scaleIndicatorState8.Name = "Empty"; scaleIndicatorState8.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent4.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState7, scaleIndicatorState8 }); this.linearScaleStateIndicatorComponent4.ZOrder = 97; // // linearScaleStateIndicatorComponent5 // this.linearScaleStateIndicatorComponent5.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(102.95F, 95.61F); this.linearScaleStateIndicatorComponent5.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent5.Name = "Indicator4"; this.linearScaleStateIndicatorComponent5.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState9.IntervalLength = 60F; scaleIndicatorState9.Name = "Colored"; scaleIndicatorState9.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState9.StartValue = 40F; scaleIndicatorState10.IntervalLength = 40F; scaleIndicatorState10.Name = "Empty"; scaleIndicatorState10.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent5.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState9, scaleIndicatorState10 }); this.linearScaleStateIndicatorComponent5.ZOrder = 96; // // linearScaleStateIndicatorComponent6 // this.linearScaleStateIndicatorComponent6.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(112.5F, 125F); this.linearScaleStateIndicatorComponent6.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent6.Name = "Indicator5"; this.linearScaleStateIndicatorComponent6.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState11.IntervalLength = 50F; scaleIndicatorState11.Name = "Colored"; scaleIndicatorState11.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState11.StartValue = 50F; scaleIndicatorState12.IntervalLength = 50F; scaleIndicatorState12.Name = "Empty"; scaleIndicatorState12.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent6.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState11, scaleIndicatorState12 }); this.linearScaleStateIndicatorComponent6.ZOrder = 95; // // linearScaleStateIndicatorComponent7 // this.linearScaleStateIndicatorComponent7.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(102.92F, 154.39F); this.linearScaleStateIndicatorComponent7.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent7.Name = "Indicator6"; this.linearScaleStateIndicatorComponent7.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState13.IntervalLength = 40F; scaleIndicatorState13.Name = "Colored"; scaleIndicatorState13.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState13.StartValue = 60F; scaleIndicatorState14.IntervalLength = 60F; scaleIndicatorState14.Name = "Empty"; scaleIndicatorState14.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent7.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState13, scaleIndicatorState14 }); this.linearScaleStateIndicatorComponent7.ZOrder = 94; // // linearScaleStateIndicatorComponent8 // this.linearScaleStateIndicatorComponent8.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(77.95F, 172.55F); this.linearScaleStateIndicatorComponent8.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent8.Name = "Indicator7"; this.linearScaleStateIndicatorComponent8.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState15.IntervalLength = 30F; scaleIndicatorState15.Name = "Colored"; scaleIndicatorState15.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState15.StartValue = 70F; scaleIndicatorState16.IntervalLength = 70F; scaleIndicatorState16.Name = "Empty"; scaleIndicatorState16.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent8.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState15, scaleIndicatorState16 }); this.linearScaleStateIndicatorComponent8.ZOrder = 93; // // linearScaleStateIndicatorComponent9 // this.linearScaleStateIndicatorComponent9.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(47.05F, 172.55F); this.linearScaleStateIndicatorComponent9.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent9.Name = "Indicator8"; this.linearScaleStateIndicatorComponent9.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState17.IntervalLength = 20F; scaleIndicatorState17.Name = "Colored"; scaleIndicatorState17.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState17.StartValue = 80F; scaleIndicatorState18.IntervalLength = 80F; scaleIndicatorState18.Name = "Empty"; scaleIndicatorState18.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent9.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState17, scaleIndicatorState18 }); this.linearScaleStateIndicatorComponent9.ZOrder = 92; // // linearScaleStateIndicatorComponent10 // this.linearScaleStateIndicatorComponent10.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(22.05F, 154.39F); this.linearScaleStateIndicatorComponent10.IndicatorScale = this.linearScaleComponent1; this.linearScaleStateIndicatorComponent10.Name = "Indicator9"; this.linearScaleStateIndicatorComponent10.Size = new System.Drawing.SizeF(28.94356F, 28.94356F); scaleIndicatorState19.IntervalLength = 10F; scaleIndicatorState19.Name = "Colored"; scaleIndicatorState19.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem9; scaleIndicatorState19.StartValue = 90F; scaleIndicatorState20.IntervalLength = 90F; scaleIndicatorState20.Name = "Empty"; scaleIndicatorState20.ShapeType = DevExpress.XtraGauges.Core.Model.StateIndicatorShapeType.ProgressItem5; this.linearScaleStateIndicatorComponent10.States.AddRange(new DevExpress.XtraGauges.Core.Model.IIndicatorState[] { scaleIndicatorState19, scaleIndicatorState20 }); this.linearScaleStateIndicatorComponent10.ZOrder = 91; // // labelComponent1 // this.labelComponent1.AppearanceText.TextBrush = new DevExpress.XtraGauges.Core.Drawing.SolidBrushObject("Color:Black"); this.labelComponent1.FormatString = "{0}%"; this.labelComponent1.Name = "linearGauge1_Label1"; this.labelComponent1.Position = new DevExpress.XtraGauges.Core.Base.PointF2D(65F, 125F); this.labelComponent1.Size = new System.Drawing.SizeF(50F, 25F); this.labelComponent1.Text = "100"; this.labelComponent1.ZOrder = -1001; // // MyProgressIndicationForm // this.Appearance.BackColor = System.Drawing.Color.Transparent; this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.gaugeControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "MyProgressIndicationForm"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "MyProgressIndicationForm"; this.UseWaitCursor = true; this.gaugeControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.linearGauge1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleComponent1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.linearScaleStateIndicatorComponent10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.labelComponent1)).EndInit(); this.ResumeLayout(false); }