Vertical progress bar and colors in C#

Permabanned
Joined
15 Nov 2006
Posts
164
Location
Visit Athens
The designer code is:
Code:
namespace Vertical_progress_bar
{
    partial class Form1
    {
        private System.ComponentModel.IContainer components=null;
        protected override void Dispose(bool disposing)
        {
            if (disposing&&(components!=null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code
        private void InitializeComponent()
        {
            this.progressBar1=new System.Windows.Forms.ProgressBar();
            this.SuspendLayout();
            // 
            // progressBar1
            // 
            this.progressBar1.Location=new System.Drawing.Point(59,50);
            this.progressBar1.Name="progressBar1";
            this.progressBar1.Size=new System.Drawing.Size(165,23);
            this.progressBar1.Style=System.Windows.Forms.ProgressBarStyle.Continuous;
            this.progressBar1.TabIndex=0;
            this.progressBar1.Value=50;
            // 
            // Form1
            // 
            this.AutoScaleDimensions=new System.Drawing.SizeF(6F,13F);
            this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize=new System.Drawing.Size(279,130);
            this.Controls.Add(this.progressBar1);
            this.Name="Form1";
            this.Text="Form1";
            this.ResumeLayout(false);
        }
        #endregion

        private System.Windows.Forms.ProgressBar progressBar1;
    }
}

but I did not see any options (in Object Inspector) about orientation, blocks color and shape.
What's wrong?

The main program file:

Code:
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Vertical_progress_bar
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
 
Thanks cos I was wondering if I am wrong..... :rolleyes:
Thus I have to search in google for components cos it is hard for me to design a component.
 
Back
Top Bottom