コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark1  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeMarks       c1GaugeMarks1       = new C1.Win.C1Gauge.C1GaugeMarks();
     C1.Win.C1Gauge.C1GaugeMarks       c1GaugeMarks2       = new C1.Win.C1Gauge.C1GaugeMarks();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel1 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeMarks       c1GaugeMarks3       = new C1.Win.C1Gauge.C1GaugeMarks();
     C1.Win.C1Gauge.C1GaugeEllipse     c1GaugeEllipse1     = new C1.Win.C1Gauge.C1GaugeEllipse();
     C1.Win.C1Gauge.C1GaugeEllipse     c1GaugeEllipse2     = new C1.Win.C1Gauge.C1GaugeEllipse();
     C1.Win.C1Gauge.CommonFilling      commonFilling1      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling2      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling3      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling4      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling5      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonGradient     commonGradient1     = new C1.Win.C1Gauge.CommonGradient();
     C1.Win.C1Gauge.CommonGradient     commonGradient2     = new C1.Win.C1Gauge.CommonGradient();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark2  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark3  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeRange       c1GaugeRange1       = new C1.Win.C1Gauge.C1GaugeRange();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel2 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel3 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark4  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel4 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeRectangle   c1GaugeRectangle1   = new C1.Win.C1Gauge.C1GaugeRectangle();
     this.c1Gauge2          = new C1.Win.C1Gauge.C1Gauge();
     this.c1RadialGauge1    = new C1.Win.C1Gauge.C1RadialGauge();
     this.c1Gauge1          = new C1.Win.C1Gauge.C1Gauge();
     this.c1LinearGauge1    = new C1.Win.C1Gauge.C1LinearGauge();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // c1Gauge2
     //
     this.c1Gauge2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.c1Gauge2.Gauges.AddRange(new C1.Win.C1Gauge.C1GaugeBase[] {
         this.c1RadialGauge1
     });
     this.c1Gauge2.Location = new System.Drawing.Point(3, 3);
     this.c1Gauge2.Name     = "c1Gauge2";
     this.c1Gauge2.Size     = new System.Drawing.Size(975, 516);
     this.c1Gauge2.TabIndex = 2;
     this.c1Gauge2.ViewTag  = ((long)(634420765215871213));
     //
     // c1RadialGauge1
     //
     this.c1RadialGauge1.Cap.Visible       = false;
     c1GaugeSingleMark1.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark1.Filling.BrushType  = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeSingleMark1.Filling.Color      = System.Drawing.Color.LightGray;
     c1GaugeSingleMark1.Filling.Color2     = System.Drawing.Color.DimGray;
     c1GaugeSingleMark1.Filling.SwapColors = true;
     c1GaugeSingleMark1.HitTestable        = false;
     c1GaugeSingleMark1.IsRotated          = false;
     c1GaugeSingleMark1.Length             = 30D;
     c1GaugeSingleMark1.Location           = 37D;
     c1GaugeSingleMark1.PointerIndex       = 100;
     c1GaugeSingleMark1.Shape         = C1.Win.C1Gauge.C1GaugeMarkShape.Round;
     c1GaugeSingleMark1.ViewTag       = ((long)(635546684858422655));
     c1GaugeSingleMark1.Width         = 30D;
     c1GaugeMarks1.Border.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     c1GaugeMarks1.Filling.BrushType  = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeMarks1.Filling.Color      = System.Drawing.Color.White;
     c1GaugeMarks1.Filling.Color2     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     c1GaugeMarks1.FlipShape          = true;
     c1GaugeMarks1.FromPointerIndex   = 100;
     c1GaugeMarks1.Interval           = 20D;
     c1GaugeMarks1.Length             = 12D;
     c1GaugeMarks1.Location           = 67D;
     c1GaugeMarks1.ScaleFrom          = 0D;
     c1GaugeMarks1.Shape              = C1.Win.C1Gauge.C1GaugeMarkShape.Triangle;
     c1GaugeMarks1.ViewTag            = ((long)(636672592310256828));
     c1GaugeMarks1.Visible            = false;
     c1GaugeMarks1.Width              = 10D;
     c1GaugeMarks2.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeMarks2.Filling.Color      = System.Drawing.Color.DimGray;
     c1GaugeMarks2.Interval           = 10D;
     c1GaugeMarks2.Length             = 10D;
     c1GaugeMarks2.Location           = 67D;
     c1GaugeMarks2.ViewTag            = ((long)(640614197281329506));
     c1GaugeMarks2.Width              = 2D;
     c1GaugeSingleLabel1.Angle        = -137D;
     c1GaugeSingleLabel1.FontSize     = 10D;
     c1GaugeSingleLabel1.Format       = "#0.0";
     c1GaugeSingleLabel1.Location     = 120D;
     c1GaugeSingleLabel1.PointerIndex = 100;
     c1GaugeSingleLabel1.ViewTag      = ((long)(636954074038533652));
     c1GaugeMarks3.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeMarks3.Filling.BrushType  = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeMarks3.Filling.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     c1GaugeMarks3.Filling.Color2     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     c1GaugeMarks3.From = 0D;
     c1GaugeMarks3.Gradient.Direction = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialOuter;
     c1GaugeMarks3.Interval           = 1D;
     c1GaugeMarks3.Length             = 10D;
     c1GaugeMarks3.Location           = 67D;
     c1GaugeMarks3.SequenceNo         = -1;
     c1GaugeMarks3.ToPointerIndex     = 100;
     c1GaugeMarks3.ViewTag            = ((long)(662287804584039276));
     c1GaugeMarks3.Width = 2D;
     this.c1RadialGauge1.Decorators.AddRange(new C1.Win.C1Gauge.C1GaugeDecorator[] {
         c1GaugeSingleMark1,
         c1GaugeMarks1,
         c1GaugeMarks2,
         c1GaugeSingleLabel1,
         c1GaugeMarks3
     });
     c1GaugeEllipse1.Border.Color       = System.Drawing.Color.Gray;
     c1GaugeEllipse1.Border.LineStyle   = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeEllipse1.Border.Thickness   = 2D;
     c1GaugeEllipse1.Filling.BrushType  = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeEllipse1.Filling.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     c1GaugeEllipse1.Filling.Color2     = System.Drawing.Color.Silver;
     c1GaugeEllipse1.Gradient.Direction = C1.Win.C1Gauge.C1GaugeGradientDirection.Vertical;
     c1GaugeEllipse1.Height             = 150D;
     c1GaugeEllipse1.Width             = 150D;
     c1GaugeEllipse2.Border.Color      = System.Drawing.SystemColors.AppWorkspace;
     c1GaugeEllipse2.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeEllipse2.Filling.Color     = System.Drawing.Color.Gainsboro;
     c1GaugeEllipse2.Filling.Color2    = System.Drawing.Color.DimGray;
     c1GaugeEllipse2.Height            = 120D;
     c1GaugeEllipse2.HitTestable       = false;
     c1GaugeEllipse2.Width             = 120D;
     this.c1RadialGauge1.FaceShapes.AddRange(new C1.Win.C1Gauge.C1GaugeBaseShape[] {
         c1GaugeEllipse1,
         c1GaugeEllipse2
     });
     this.c1RadialGauge1.Name = "c1RadialGauge1";
     this.c1RadialGauge1.Pointer.Border.LineStyle  = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     this.c1RadialGauge1.Pointer.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.None;
     this.c1RadialGauge1.Pointer.Length            = 30D;
     this.c1RadialGauge1.Pointer.Offset            = 22D;
     this.c1RadialGauge1.Pointer.Shape             = C1.Win.C1Gauge.C1GaugePointerShape.Round;
     this.c1RadialGauge1.Pointer.Value             = 10D;
     this.c1RadialGauge1.Pointer.Width             = 30D;
     this.c1RadialGauge1.Radius           = 0.5D;
     this.c1RadialGauge1.StartAngle       = -180D;
     this.c1RadialGauge1.SweepAngle       = 360D;
     this.c1RadialGauge1.ViewTag          = ((long)(634702240281386949));
     this.c1RadialGauge1.PointerDragMove += new C1.Win.C1Gauge.PointerDragEventHandler(this.c1RadialGauge1_PointerDragMove);
     //
     // c1Gauge1
     //
     this.c1Gauge1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.c1Gauge1.FramesPerSecond = 50D;
     this.c1Gauge1.Gauges.AddRange(new C1.Win.C1Gauge.C1GaugeBase[] {
         this.c1LinearGauge1
     });
     this.c1Gauge1.Location = new System.Drawing.Point(3, 525);
     this.c1Gauge1.Name     = "c1Gauge1";
     this.c1Gauge1.Size     = new System.Drawing.Size(975, 218);
     this.c1Gauge1.SupportsTransitionEffect = true;
     this.c1Gauge1.TabIndex = 3;
     this.c1Gauge1.ViewTag  = ((long)(634420817357073519));
     //
     // c1LinearGauge1
     //
     this.c1LinearGauge1.AxisStart = 0.075D;
     commonFilling1.BrushType      = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling1.Color          = System.Drawing.Color.LightCoral;
     commonFilling1.Color2         = System.Drawing.Color.White;
     commonFilling1.Name           = "normalButton";
     commonFilling1.SwapColors     = true;
     commonFilling2.BrushType      = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling2.Color          = System.Drawing.Color.SeaGreen;
     commonFilling2.Color2         = System.Drawing.Color.White;
     commonFilling2.Name           = "hotButton";
     commonFilling2.SwapColors     = true;
     commonFilling3.BrushType      = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling3.Color          = System.Drawing.Color.SeaGreen;
     commonFilling3.Color2         = System.Drawing.Color.DarkSeaGreen;
     commonFilling3.Name           = "pressedButton";
     commonFilling3.SwapColors     = true;
     commonFilling4.BrushType      = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling4.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     commonFilling4.Color2         = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     commonFilling4.Name           = "normalPointer";
     commonFilling4.SwapColors     = true;
     commonFilling5.BrushType      = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling5.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     commonFilling5.Color2         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     commonFilling5.Name           = "hotPointer";
     commonFilling5.SwapColors     = true;
     this.c1LinearGauge1.CommonFillings.AddRange(new C1.Win.C1Gauge.CommonFilling[] {
         commonFilling1,
         commonFilling2,
         commonFilling3,
         commonFilling4,
         commonFilling5
     });
     commonGradient1.CenterPointX = 0.7D;
     commonGradient1.CenterPointY = 0.7D;
     commonGradient1.Direction    = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialInner;
     commonGradient1.FocusScaleX  = 0.2D;
     commonGradient1.FocusScaleY  = 0.2D;
     commonGradient1.Name         = "normal";
     commonGradient2.CenterPointX = 0.6D;
     commonGradient2.CenterPointY = 0.6D;
     commonGradient2.Direction    = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialInner;
     commonGradient2.FocusScaleX  = 0.2D;
     commonGradient2.FocusScaleY  = 0.2D;
     commonGradient2.Name         = "pressed";
     this.c1LinearGauge1.CommonGradients.AddRange(new C1.Win.C1Gauge.CommonGradient[] {
         commonGradient1,
         commonGradient2
     });
     c1GaugeSingleMark2.Border.LineStyle            = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark2.CustomShape.EndRadius       = 18D;
     c1GaugeSingleMark2.CustomShape.EndWidth        = 36D;
     c1GaugeSingleMark2.CustomShape.StartRadius     = 18D;
     c1GaugeSingleMark2.CustomShape.StartWidth      = 36D;
     c1GaugeSingleMark2.Filling.CommonFillingName   = "normalButton";
     c1GaugeSingleMark2.Gradient.CommonGradientName = "normal";
     c1GaugeSingleMark2.Length                      = 36D;
     c1GaugeSingleMark2.Location                    = 50D;
     c1GaugeSingleMark2.Name                        = "minusButton";
     c1GaugeSingleMark2.Position                    = -0.3D;
     c1GaugeSingleMark2.Shape                       = C1.Win.C1Gauge.C1GaugeMarkShape.Custom;
     c1GaugeSingleMark2.ViewTag                     = ((long)(635265244106009517));
     c1GaugeSingleMark3.Border.LineStyle            = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark3.CustomShape.EndRadius       = 18D;
     c1GaugeSingleMark3.CustomShape.EndWidth        = 36D;
     c1GaugeSingleMark3.CustomShape.StartRadius     = 18D;
     c1GaugeSingleMark3.CustomShape.StartWidth      = 36D;
     c1GaugeSingleMark3.Filling.CommonFillingName   = "normalButton";
     c1GaugeSingleMark3.Gradient.CommonGradientName = "normal";
     c1GaugeSingleMark3.Length                      = 36D;
     c1GaugeSingleMark3.Location                    = 50D;
     c1GaugeSingleMark3.Name                        = "plusButton";
     c1GaugeSingleMark3.Position                    = 1.2D;
     c1GaugeSingleMark3.Shape                       = C1.Win.C1Gauge.C1GaugeMarkShape.Custom;
     c1GaugeSingleMark3.ViewTag                     = ((long)(635546719779070002));
     c1GaugeRange1.Border.LineStyle                 = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeRange1.Filling.BrushType                = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeRange1.Filling.Color                    = System.Drawing.Color.DarkKhaki;
     c1GaugeRange1.Filling.Color2                   = System.Drawing.Color.White;
     c1GaugeRange1.Filling.SwapColors               = true;
     c1GaugeRange1.Location              = 50D;
     c1GaugeRange1.ViewTag               = ((long)(635828197239232703));
     c1GaugeSingleLabel2.Color           = System.Drawing.Color.LightCoral;
     c1GaugeSingleLabel2.FontSize        = 29D;
     c1GaugeSingleLabel2.HitTestable     = false;
     c1GaugeSingleLabel2.Location        = 50D;
     c1GaugeSingleLabel2.Name            = "minusLabel";
     c1GaugeSingleLabel2.Position        = -0.3D;
     c1GaugeSingleLabel2.Text            = "-";
     c1GaugeSingleLabel2.ViewTag         = ((long)(636109824900026389));
     c1GaugeSingleLabel3.Color           = System.Drawing.Color.LightCoral;
     c1GaugeSingleLabel3.FontSize        = 27D;
     c1GaugeSingleLabel3.HitTestable     = false;
     c1GaugeSingleLabel3.Location        = 52D;
     c1GaugeSingleLabel3.Name            = "plusLabel";
     c1GaugeSingleLabel3.Position        = 1.2D;
     c1GaugeSingleLabel3.Text            = "+";
     c1GaugeSingleLabel3.ViewTag         = ((long)(636391301269766722));
     c1GaugeSingleMark4.Border.LineStyle = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark4.Filling.Color    = System.Drawing.Color.Yellow;
     c1GaugeSingleMark4.Length           = 12D;
     c1GaugeSingleMark4.Location         = 50D;
     c1GaugeSingleMark4.Shape            = C1.Win.C1Gauge.C1GaugeMarkShape.Round;
     c1GaugeSingleMark4.ViewTag          = ((long)(638361660776914335));
     c1GaugeSingleLabel4.FontSize        = 10D;
     c1GaugeSingleLabel4.Location        = 75D;
     c1GaugeSingleLabel4.Text            = "Off";
     c1GaugeSingleLabel4.ViewTag         = ((long)(638643135785906837));
     this.c1LinearGauge1.Decorators.AddRange(new C1.Win.C1Gauge.C1GaugeDecorator[] {
         c1GaugeSingleMark2,
         c1GaugeSingleMark3,
         c1GaugeRange1,
         c1GaugeSingleLabel2,
         c1GaugeSingleLabel3,
         c1GaugeSingleMark4,
         c1GaugeSingleLabel4
     });
     c1GaugeRectangle1.Border.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     c1GaugeRectangle1.CenterPointX      = 0.45D;
     c1GaugeRectangle1.CornerRadius      = 10D;
     c1GaugeRectangle1.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeRectangle1.Filling.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     c1GaugeRectangle1.Filling.Color2    = System.Drawing.Color.DarkSeaGreen;
     c1GaugeRectangle1.Width             = -1.78D;
     this.c1LinearGauge1.FaceShapes.AddRange(new C1.Win.C1Gauge.C1GaugeBaseShape[] {
         c1GaugeRectangle1
     });
     this.c1LinearGauge1.Name                 = "c1LinearGauge1";
     this.c1LinearGauge1.OffPosition          = -0.025D;
     this.c1LinearGauge1.Pointer.Alignment    = C1.Win.C1Gauge.C1GaugeAlignment.Center;
     this.c1LinearGauge1.Pointer.Border.Color = System.Drawing.Color.DarkGray;
     this.c1LinearGauge1.Pointer.Filling.CommonFillingName = "normalPointer";
     this.c1LinearGauge1.Pointer.Length       = 25D;
     this.c1LinearGauge1.Pointer.Offset       = 50D;
     this.c1LinearGauge1.Pointer.Shape        = C1.Win.C1Gauge.C1GaugePointerShape.Round;
     this.c1LinearGauge1.Pointer.Width        = 12D;
     this.c1LinearGauge1.Viewport.AspectRatio = 1.5D;
     this.c1LinearGauge1.ViewTag           = ((long)(634702292464031625));
     this.c1LinearGauge1.ItemMouseDown    += new C1.Win.C1Gauge.ItemMouseEventHandler(this.c1LinearGauge1_ItemMouseDown);
     this.c1LinearGauge1.ItemStateChanged += new C1.Win.C1Gauge.ItemEventHandler(this.c1LinearGauge1_ItemStateChanged);
     this.c1LinearGauge1.PointerDragMove  += new C1.Win.C1Gauge.PointerDragEventHandler(this.c1LinearGauge1_PointerDragMove);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.c1Gauge2, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.c1Gauge1, 0, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(981, 746);
     this.tableLayoutPanel1.TabIndex = 4;
     //
     // Interaction
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(981, 746);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name  = "Interaction";
     this.Text  = "Interaction";
     this.Load += new System.EventHandler(this.Interaction_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     C1.Win.C1Gauge.CommonFilling      commonFilling1      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling2      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling3      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling4      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonFilling      commonFilling5      = new C1.Win.C1Gauge.CommonFilling();
     C1.Win.C1Gauge.CommonGradient     commonGradient1     = new C1.Win.C1Gauge.CommonGradient();
     C1.Win.C1Gauge.CommonGradient     commonGradient2     = new C1.Win.C1Gauge.CommonGradient();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark1  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark2  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeRange       c1GaugeRange1       = new C1.Win.C1Gauge.C1GaugeRange();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel1 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel2 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeSingleMark  c1GaugeSingleMark3  = new C1.Win.C1Gauge.C1GaugeSingleMark();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel3 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeSingleLabel c1GaugeSingleLabel4 = new C1.Win.C1Gauge.C1GaugeSingleLabel();
     C1.Win.C1Gauge.C1GaugeRectangle   c1GaugeRectangle1   = new C1.Win.C1Gauge.C1GaugeRectangle();
     this.c1Gauge1       = new C1.Win.C1Gauge.C1Gauge();
     this.c1LinearGauge1 = new C1.Win.C1Gauge.C1LinearGauge();
     this.gaugePanel.SuspendLayout();
     this.gridPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge1)).BeginInit();
     this.SuspendLayout();
     //
     // gaugePanel
     //
     this.gaugePanel.Controls.Add(this.c1Gauge1);
     //
     // gaugeGrid
     //
     this.gaugeGrid.SelectedObject = this.c1LinearGauge1;
     //
     // timer1
     //
     this.timer1.Enabled  = true;
     this.timer1.Interval = 50;
     //
     // c1Gauge1
     //
     this.c1Gauge1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.c1Gauge1.Gauges.AddRange(new C1.Win.C1Gauge.C1GaugeBase[] {
         this.c1LinearGauge1
     });
     this.c1Gauge1.Location = new System.Drawing.Point(3, 92);
     this.c1Gauge1.Name     = "c1Gauge1";
     this.c1Gauge1.Size     = new System.Drawing.Size(382, 222);
     this.c1Gauge1.SupportsTransitionEffect = true;
     this.c1Gauge1.TabIndex = 0;
     this.c1Gauge1.ViewTag  = ((long)(639206783579924141));
     //
     // c1LinearGauge1
     //
     this.c1LinearGauge1.AxisLength = 0.55;
     this.c1LinearGauge1.AxisStart  = 0.25;
     this.c1LinearGauge1.BaseFactor = 0.88;
     this.c1LinearGauge1.BaseOrigin = 0.06;
     commonFilling1.BrushType       = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling1.Color           = System.Drawing.Color.DimGray;
     commonFilling1.Color2          = System.Drawing.Color.White;
     commonFilling1.Name            = "normalButton";
     commonFilling1.SwapColors      = true;
     commonFilling2.BrushType       = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling2.Color           = System.Drawing.Color.LightCoral;
     commonFilling2.Color2          = System.Drawing.Color.MistyRose;
     commonFilling2.Name            = "pressedButton";
     commonFilling2.SwapColors      = true;
     commonFilling3.BrushType       = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling3.Color           = System.Drawing.Color.SeaGreen;
     commonFilling3.Color2          = System.Drawing.Color.White;
     commonFilling3.Name            = "hotButton";
     commonFilling3.SwapColors      = true;
     commonFilling4.BrushType       = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling4.Color           = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     commonFilling4.Color2          = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     commonFilling4.Name            = "normalPointer";
     commonFilling4.SwapColors      = true;
     commonFilling5.BrushType       = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     commonFilling5.Color           = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     commonFilling5.Color2          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     commonFilling5.Name            = "hotPointer";
     commonFilling5.SwapColors      = true;
     this.c1LinearGauge1.CommonFillings.AddRange(new C1.Win.C1Gauge.CommonFilling[] {
         commonFilling1,
         commonFilling2,
         commonFilling3,
         commonFilling4,
         commonFilling5
     });
     commonGradient1.CenterPointX = 0.7;
     commonGradient1.CenterPointY = 0.7;
     commonGradient1.Direction    = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialOuter;
     commonGradient1.FocusScaleX  = 0.2;
     commonGradient1.FocusScaleY  = 0.2;
     commonGradient1.Name         = "normal";
     commonGradient2.CenterPointX = 0.6;
     commonGradient2.CenterPointY = 0.6;
     commonGradient2.Direction    = C1.Win.C1Gauge.C1GaugeGradientDirection.RadialOuter;
     commonGradient2.FocusScaleX  = 0.2;
     commonGradient2.FocusScaleY  = 0.2;
     commonGradient2.Name         = "pressed";
     this.c1LinearGauge1.CommonGradients.AddRange(new C1.Win.C1Gauge.CommonGradient[] {
         commonGradient1,
         commonGradient2
     });
     c1GaugeSingleMark1.Border.LineStyle            = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark1.CustomShape.EndRadius       = 12;
     c1GaugeSingleMark1.CustomShape.EndWidth        = 36;
     c1GaugeSingleMark1.CustomShape.StartRadius     = 12;
     c1GaugeSingleMark1.CustomShape.StartWidth      = 36;
     c1GaugeSingleMark1.Filling.CommonFillingName   = "normalButton";
     c1GaugeSingleMark1.Gradient.CommonGradientName = "normal";
     c1GaugeSingleMark1.Length                      = 36;
     c1GaugeSingleMark1.Location                    = 50;
     c1GaugeSingleMark1.Name                        = "minusButton";
     c1GaugeSingleMark1.Position                    = -0.25;
     c1GaugeSingleMark1.Shape                       = C1.Win.C1Gauge.C1GaugeMarkShape.Custom;
     c1GaugeSingleMark1.ViewTag                     = ((long)(635265244106009517));
     c1GaugeSingleMark2.Border.LineStyle            = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark2.CustomShape.EndRadius       = 12;
     c1GaugeSingleMark2.CustomShape.EndWidth        = 36;
     c1GaugeSingleMark2.CustomShape.StartRadius     = 12;
     c1GaugeSingleMark2.CustomShape.StartWidth      = 36;
     c1GaugeSingleMark2.Filling.CommonFillingName   = "normalButton";
     c1GaugeSingleMark2.Gradient.CommonGradientName = "normal";
     c1GaugeSingleMark2.Length                      = 36;
     c1GaugeSingleMark2.Location                    = 50;
     c1GaugeSingleMark2.Name                        = "plusButton";
     c1GaugeSingleMark2.Position                    = 1.15;
     c1GaugeSingleMark2.Shape                       = C1.Win.C1Gauge.C1GaugeMarkShape.Custom;
     c1GaugeSingleMark2.ViewTag                     = ((long)(635546719779070002));
     c1GaugeRange1.Border.LineStyle                 = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeRange1.Filling.BrushType                = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeRange1.Filling.Color                    = System.Drawing.Color.RosyBrown;
     c1GaugeRange1.Filling.Color2                   = System.Drawing.Color.White;
     c1GaugeRange1.Filling.SwapColors               = true;
     c1GaugeRange1.Location              = 50;
     c1GaugeRange1.ViewTag               = ((long)(635828197239232703));
     c1GaugeSingleLabel1.Color           = System.Drawing.Color.SeaGreen;
     c1GaugeSingleLabel1.FontSize        = 29;
     c1GaugeSingleLabel1.HitTestable     = false;
     c1GaugeSingleLabel1.Location        = 50;
     c1GaugeSingleLabel1.Name            = "minusLabel";
     c1GaugeSingleLabel1.Position        = -0.25;
     c1GaugeSingleLabel1.Text            = "-";
     c1GaugeSingleLabel1.ViewTag         = ((long)(636109824900026389));
     c1GaugeSingleLabel2.Color           = System.Drawing.Color.SeaGreen;
     c1GaugeSingleLabel2.FontSize        = 27;
     c1GaugeSingleLabel2.HitTestable     = false;
     c1GaugeSingleLabel2.Location        = 50;
     c1GaugeSingleLabel2.Name            = "plusLabel";
     c1GaugeSingleLabel2.Position        = 1.15;
     c1GaugeSingleLabel2.Text            = "+";
     c1GaugeSingleLabel2.ViewTag         = ((long)(636391301269766722));
     c1GaugeSingleMark3.Border.LineStyle = C1.Win.C1Gauge.C1GaugeBorderStyle.None;
     c1GaugeSingleMark3.Filling.Color    = System.Drawing.Color.Gray;
     c1GaugeSingleMark3.Location         = 50;
     c1GaugeSingleMark3.Name             = "offMark";
     c1GaugeSingleMark3.Shape            = C1.Win.C1Gauge.C1GaugeMarkShape.Round;
     c1GaugeSingleMark3.ViewTag          = ((long)(638361660776914335));
     c1GaugeSingleMark3.Width            = 7;
     c1GaugeSingleLabel3.FontSize        = 12;
     c1GaugeSingleLabel3.Location        = 75;
     c1GaugeSingleLabel3.Text            = "Off";
     c1GaugeSingleLabel3.ViewTag         = ((long)(638643135785906837));
     c1GaugeSingleLabel4.Color           = System.Drawing.Color.Firebrick;
     c1GaugeSingleLabel4.FontSize        = 14;
     c1GaugeSingleLabel4.Format          = "0.0";
     c1GaugeSingleLabel4.Location        = 23;
     c1GaugeSingleLabel4.PointerIndex    = 100;
     c1GaugeSingleLabel4.Position        = 0.5;
     c1GaugeSingleLabel4.ViewTag         = ((long)(637244294654167433));
     this.c1LinearGauge1.Decorators.AddRange(new C1.Win.C1Gauge.C1GaugeDecorator[] {
         c1GaugeSingleMark1,
         c1GaugeSingleMark2,
         c1GaugeRange1,
         c1GaugeSingleLabel1,
         c1GaugeSingleLabel2,
         c1GaugeSingleMark3,
         c1GaugeSingleLabel3,
         c1GaugeSingleLabel4
     });
     c1GaugeRectangle1.Border.Color      = System.Drawing.Color.Gray;
     c1GaugeRectangle1.CenterPointX      = 0.455;
     c1GaugeRectangle1.CornerRadius      = 10;
     c1GaugeRectangle1.Filling.BrushType = C1.Win.C1Gauge.C1GaugeBrushType.Gradient;
     c1GaugeRectangle1.Filling.Color     = System.Drawing.Color.LightGray;
     c1GaugeRectangle1.Filling.Color2    = System.Drawing.Color.Gray;
     c1GaugeRectangle1.HitTestable       = false;
     c1GaugeRectangle1.Width             = -1.76;
     this.c1LinearGauge1.FaceShapes.AddRange(new C1.Win.C1Gauge.C1GaugeBaseShape[] {
         c1GaugeRectangle1
     });
     this.c1LinearGauge1.Name                 = "c1LinearGauge1";
     this.c1LinearGauge1.OffPosition          = 0.21;
     this.c1LinearGauge1.Pointer.Alignment    = C1.Win.C1Gauge.C1GaugeAlignment.Center;
     this.c1LinearGauge1.Pointer.Border.Color = System.Drawing.Color.DarkGray;
     this.c1LinearGauge1.Pointer.Filling.CommonFillingName = "normalPointer";
     this.c1LinearGauge1.Pointer.Length       = 25;
     this.c1LinearGauge1.Pointer.Offset       = 50;
     this.c1LinearGauge1.Pointer.Shape        = C1.Win.C1Gauge.C1GaugePointerShape.Round;
     this.c1LinearGauge1.Pointer.Width        = 12;
     this.c1LinearGauge1.Viewport.AspectRatio = 3;
     this.c1LinearGauge1.ViewTag           = ((long)(634702292464031625));
     this.c1LinearGauge1.ItemMouseDown    += new C1.Win.C1Gauge.ItemMouseEventHandler(this.c1LinearGauge1_ItemMouseDown);
     this.c1LinearGauge1.ItemMouseUp      += new C1.Win.C1Gauge.ItemMouseEventHandler(this.c1LinearGauge1_ItemMouseUp);
     this.c1LinearGauge1.ItemStateChanged += new C1.Win.C1Gauge.ItemEventHandler(this.c1LinearGauge1_ItemStateChanged);
     this.c1LinearGauge1.PointerDragMove  += new C1.Win.C1Gauge.PointerDragEventHandler(this.c1LinearGauge1_PointerDragMove);
     //
     // PageTrackBar
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.Name = "PageTrackBar";
     this.gaugePanel.ResumeLayout(false);
     this.gridPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.c1Gauge1)).EndInit();
     this.ResumeLayout(false);
 }