/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.vpbTest = new VerticalProgressBar.VerticalProgressBar();
     this.SuspendLayout();
     //
     // vpbTest
     //
     this.vpbTest.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.vpbTest.Color       = System.Drawing.Color.BurlyWood;
     this.vpbTest.Location    = new System.Drawing.Point(192, 12);
     this.vpbTest.Maximum     = 100;
     this.vpbTest.Minimum     = 0;
     this.vpbTest.Name        = "vpbTest";
     this.vpbTest.Size        = new System.Drawing.Size(20, 162);
     this.vpbTest.Step        = 10;
     this.vpbTest.Style       = VerticalProgressBar.Styles.Solid;
     this.vpbTest.TabIndex    = 0;
     this.vpbTest.Value       = 70;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(338, 186);
     this.Controls.Add(this.vpbTest);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.verticalProgressBar1_Load);
     this.ResumeLayout(false);
 }
 public AnalogSensorHandler(VerticalProgressBar.VerticalProgressBar[] _pbars, Label[] _labels)
 {
     this.LMotor = _pbars[0];
     this.LMotorLabel = _labels[0];
     this.RMotor = _pbars[1];
     this.RMotorLabel = _labels[1];
     this.Accu = _pbars[2];
     this.AccuLabel = _labels[2];
     this.Temp = _pbars[3];
     this.TempLabel = _labels[3];
 }
        public SortedItem(int value, int number)
        {
            Value = value;

            ItemVerticalProgressBar = new VerticalProgressBar.VerticalProgressBar();
            ItemLabel = new Label();

            SetPosition(number);

            ItemVerticalProgressBar.BorderStyle = BorderStyles.Classic;
            ItemVerticalProgressBar.Color       = Color.Blue;
            ItemVerticalProgressBar.Maximum     = 100;
            ItemVerticalProgressBar.Minimum     = 0;
            ItemVerticalProgressBar.Size        = new Size(19, 96);
            ItemVerticalProgressBar.Step        = 1;
            ItemVerticalProgressBar.Style       = Styles.Solid;
            ItemVerticalProgressBar.Value       = Value;

            ItemLabel.AutoSize  = true;
            ItemLabel.Size      = new Size(19, 13);
            ItemLabel.Text      = Value.ToString();
            ItemLabel.TextAlign = ContentAlignment.TopCenter;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.verticalProgressBar1 = new VerticalProgressBar.VerticalProgressBar();
     this.verticalProgressBar2 = new VerticalProgressBar.VerticalProgressBar();
     this.verticalProgressBar3 = new VerticalProgressBar.VerticalProgressBar();
     this.verticalProgressBar4 = new VerticalProgressBar.VerticalProgressBar();
     this.verticalProgressBar5 = new VerticalProgressBar.VerticalProgressBar();
     this.verticalProgressBar6 = new VerticalProgressBar.VerticalProgressBar();
     this.SuspendLayout();
     //
     // verticalProgressBar1
     //
     this.verticalProgressBar1.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.verticalProgressBar1.Color       = System.Drawing.Color.Blue;
     this.verticalProgressBar1.Location    = new System.Drawing.Point(24, 24);
     this.verticalProgressBar1.Maximum     = 100;
     this.verticalProgressBar1.Minimum     = 50;
     this.verticalProgressBar1.Name        = "verticalProgressBar1";
     this.verticalProgressBar1.Size        = new System.Drawing.Size(16, 120);
     this.verticalProgressBar1.Step        = 10;
     this.verticalProgressBar1.Style       = VerticalProgressBar.Styles.Classic;
     this.verticalProgressBar1.TabIndex    = 0;
     this.verticalProgressBar1.Value       = 80;
     //
     // verticalProgressBar2
     //
     this.verticalProgressBar2.BorderStyle = VerticalProgressBar.BorderStyles.None;
     this.verticalProgressBar2.Color       = System.Drawing.Color.Blue;
     this.verticalProgressBar2.Location    = new System.Drawing.Point(56, 24);
     this.verticalProgressBar2.Maximum     = 100;
     this.verticalProgressBar2.Minimum     = 0;
     this.verticalProgressBar2.Name        = "verticalProgressBar2";
     this.verticalProgressBar2.Size        = new System.Drawing.Size(10, 120);
     this.verticalProgressBar2.Step        = 10;
     this.verticalProgressBar2.Style       = VerticalProgressBar.Styles.Solid;
     this.verticalProgressBar2.TabIndex    = 1;
     this.verticalProgressBar2.Value       = 30;
     //
     // verticalProgressBar3
     //
     this.verticalProgressBar3.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.verticalProgressBar3.Color       = System.Drawing.Color.Brown;
     this.verticalProgressBar3.Location    = new System.Drawing.Point(88, 24);
     this.verticalProgressBar3.Maximum     = 100;
     this.verticalProgressBar3.Minimum     = -30;
     this.verticalProgressBar3.Name        = "verticalProgressBar3";
     this.verticalProgressBar3.Size        = new System.Drawing.Size(24, 120);
     this.verticalProgressBar3.Step        = 10;
     this.verticalProgressBar3.Style       = VerticalProgressBar.Styles.Classic;
     this.verticalProgressBar3.TabIndex    = 2;
     this.verticalProgressBar3.Value       = -20;
     //
     // verticalProgressBar4
     //
     this.verticalProgressBar4.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.verticalProgressBar4.Color       = System.Drawing.Color.CornflowerBlue;
     this.verticalProgressBar4.Location    = new System.Drawing.Point(128, 24);
     this.verticalProgressBar4.Maximum     = 100;
     this.verticalProgressBar4.Minimum     = 0;
     this.verticalProgressBar4.Name        = "verticalProgressBar4";
     this.verticalProgressBar4.Size        = new System.Drawing.Size(10, 120);
     this.verticalProgressBar4.Step        = 10;
     this.verticalProgressBar4.Style       = VerticalProgressBar.Styles.Classic;
     this.verticalProgressBar4.TabIndex    = 3;
     this.verticalProgressBar4.Value       = 50;
     //
     // verticalProgressBar5
     //
     this.verticalProgressBar5.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.verticalProgressBar5.Color       = System.Drawing.Color.Blue;
     this.verticalProgressBar5.Location    = new System.Drawing.Point(192, 24);
     this.verticalProgressBar5.Maximum     = 100;
     this.verticalProgressBar5.Minimum     = 0;
     this.verticalProgressBar5.Name        = "verticalProgressBar5";
     this.verticalProgressBar5.Size        = new System.Drawing.Size(10, 120);
     this.verticalProgressBar5.Step        = 10;
     this.verticalProgressBar5.Style       = VerticalProgressBar.Styles.Classic;
     this.verticalProgressBar5.TabIndex    = 1;
     this.verticalProgressBar5.Value       = 50;
     //
     // verticalProgressBar6
     //
     this.verticalProgressBar6.BorderStyle = VerticalProgressBar.BorderStyles.Classic;
     this.verticalProgressBar6.Color       = System.Drawing.Color.BurlyWood;
     this.verticalProgressBar6.Location    = new System.Drawing.Point(160, 24);
     this.verticalProgressBar6.Maximum     = 100;
     this.verticalProgressBar6.Minimum     = 0;
     this.verticalProgressBar6.Name        = "verticalProgressBar6";
     this.verticalProgressBar6.Size        = new System.Drawing.Size(10, 120);
     this.verticalProgressBar6.Step        = 10;
     this.verticalProgressBar6.Style       = VerticalProgressBar.Styles.Solid;
     this.verticalProgressBar6.TabIndex    = 0;
     this.verticalProgressBar6.Value       = 70;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(240, 166);
     this.Controls.Add(this.verticalProgressBar6);
     this.Controls.Add(this.verticalProgressBar5);
     this.Controls.Add(this.verticalProgressBar4);
     this.Controls.Add(this.verticalProgressBar3);
     this.Controls.Add(this.verticalProgressBar2);
     this.Controls.Add(this.verticalProgressBar1);
     this.Name = "Form1";
     this.Text = "Form1";
     this.ResumeLayout(false);
 }