Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C#

Color Picker with Color Wheel and Eye Dropper

Rate me:
Please Sign up or sign in to vote.
4.89/5 (42 votes)
9 Dec 2007CPOL7 min read 170.6K   12.4K   118  
Color picker with color wheel and eye dropper
namespace ColorPicker
{
	partial class Main
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Windows Form Designer generated code

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.button1 = new System.Windows.Forms.Button();
			this.dropdownContainerControl1 = new ColorPicker.ColorPickerCombobox();
			this.colorPickerCombobox1 = new ColorPicker.ColorPickerCombobox();
			this.colorPickerCombobox2 = new ColorPicker.ColorPickerCombobox();
			this.colorPickerCombobox3 = new ColorPicker.ColorPickerCombobox();
			this.colorPickerCombobox4 = new ColorPicker.ColorPickerCombobox();
			this.SuspendLayout();
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(145, 22);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(132, 23);
			this.button1.TabIndex = 0;
			this.button1.Text = "Color Picker Dialog";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// dropdownContainerControl1
			// 
			this.dropdownContainerControl1.Location = new System.Drawing.Point(145, 51);
			this.dropdownContainerControl1.Name = "dropdownContainerControl1";
			this.dropdownContainerControl1.SelectedItem = System.Drawing.Color.Wheat;
			this.dropdownContainerControl1.Size = new System.Drawing.Size(132, 23);
			this.dropdownContainerControl1.TabIndex = 1;
			this.dropdownContainerControl1.Text = "dropdownContainerControl1";
			// 
			// colorPickerCombobox1
			// 
			this.colorPickerCombobox1.Location = new System.Drawing.Point(145, 80);
			this.colorPickerCombobox1.Name = "colorPickerCombobox1";
			this.colorPickerCombobox1.SelectedItem = System.Drawing.Color.Wheat;
			this.colorPickerCombobox1.Size = new System.Drawing.Size(132, 23);
			this.colorPickerCombobox1.TabIndex = 2;
			this.colorPickerCombobox1.Text = "colorPickerCombobox1";
			// 
			// colorPickerCombobox2
			// 
			this.colorPickerCombobox2.Location = new System.Drawing.Point(145, 109);
			this.colorPickerCombobox2.Name = "colorPickerCombobox2";
			this.colorPickerCombobox2.SelectedItem = System.Drawing.Color.Wheat;
			this.colorPickerCombobox2.Size = new System.Drawing.Size(132, 23);
			this.colorPickerCombobox2.TabIndex = 3;
			this.colorPickerCombobox2.Text = "colorPickerCombobox1";
			// 
			// colorPickerCombobox3
			// 
			this.colorPickerCombobox3.Location = new System.Drawing.Point(145, 138);
			this.colorPickerCombobox3.Name = "colorPickerCombobox3";
			this.colorPickerCombobox3.SelectedItem = System.Drawing.Color.Wheat;
			this.colorPickerCombobox3.Size = new System.Drawing.Size(132, 23);
			this.colorPickerCombobox3.TabIndex = 4;
			this.colorPickerCombobox3.Text = "colorPickerCombobox1";
			// 
			// colorPickerCombobox4
			// 
			this.colorPickerCombobox4.Location = new System.Drawing.Point(145, 167);
			this.colorPickerCombobox4.Name = "colorPickerCombobox4";
			this.colorPickerCombobox4.SelectedItem = System.Drawing.Color.Wheat;
			this.colorPickerCombobox4.Size = new System.Drawing.Size(132, 23);
			this.colorPickerCombobox4.TabIndex = 5;
			this.colorPickerCombobox4.Text = "colorPickerCombobox1";
			// 
			// Main
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(421, 219);
			this.Controls.Add(this.colorPickerCombobox4);
			this.Controls.Add(this.colorPickerCombobox3);
			this.Controls.Add(this.colorPickerCombobox2);
			this.Controls.Add(this.colorPickerCombobox1);
			this.Controls.Add(this.dropdownContainerControl1);
			this.Controls.Add(this.button1);
			this.Name = "Main";
			this.Text = "Main";
			this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.Button button1;
		private ColorPickerCombobox dropdownContainerControl1;
		private ColorPickerCombobox colorPickerCombobox1;
		private ColorPickerCombobox colorPickerCombobox2;
		private ColorPickerCombobox colorPickerCombobox3;
		private ColorPickerCombobox colorPickerCombobox4;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions