private void ctxOptions_Click(object sender, System.EventArgs e) { Mode newmode = _mode; if (sender == ctxPrevColor) { Color = XYZ.FromRGB(lblColorOut.OldColor); return; } else if (sender == ctxCopy) { string str = ColorLabel.ColorToHexString(lblColorOut.Color); try { Clipboard.SetDataObject(str, true); } catch { } return; } //read checkbox else if (sender == ctxHSV_RGB) { newmode = Mode.HSV_RGB; } else if (sender == ctxHSV_LAB) { newmode = Mode.HSV_LAB; } //compare to old if (newmode == _mode) { return; } //update ui _mode = newmode; UpdatectxOptions(); ChangeDescriptions(); ChangeModule(); UpdatetbValue(null); }
/// <summary> /// Erforderliche Methode für die Designerunterstützung. /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColorPicker)); this.label1 = new System.Windows.Forms.Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.contextMenu = new System.Windows.Forms.ContextMenu(); this.ctxHSV_RGB = new System.Windows.Forms.MenuItem(); this.ctxHSV_LAB = new System.Windows.Forms.MenuItem(); this.separator1 = new System.Windows.Forms.MenuItem(); this.ctxPrevColor = new System.Windows.Forms.MenuItem(); this.ctxCopy = new System.Windows.Forms.MenuItem(); this.rdHSV_H = new System.Windows.Forms.RadioButton(); this.rdHSV_S = new System.Windows.Forms.RadioButton(); this.rdHSV_V = new System.Windows.Forms.RadioButton(); this.rdSecond_1 = new System.Windows.Forms.RadioButton(); this.rdSecond_2 = new System.Windows.Forms.RadioButton(); this.rdSecond_3 = new System.Windows.Forms.RadioButton(); this.tbHSV_H = new System.Windows.Forms.TextBox(); this.tbHSV_S = new System.Windows.Forms.TextBox(); this.tbHSV_V = new System.Windows.Forms.TextBox(); this.tbSecond_1 = new System.Windows.Forms.TextBox(); this.tbSecond_2 = new System.Windows.Forms.TextBox(); this.tbSecond_3 = new System.Windows.Forms.TextBox(); this.lblHSV_H = new System.Windows.Forms.Label(); this.lblHSV_S = new System.Windows.Forms.Label(); this.lblHSV_V = new System.Windows.Forms.Label(); this.lblSecond_1 = new System.Windows.Forms.Label(); this.lblSecond_2 = new System.Windows.Forms.Label(); this.lblSecond_3 = new System.Windows.Forms.Label(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.lblColorOut = new Common.Controls.ColorManagement.ColorPicker.ColorLabel(); this.colorSelectionFader1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionFader(); this.colorSelectionPlane1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionPlane(); this.quickPickBox = new System.Windows.Forms.GroupBox(); this.whiteButton = new System.Windows.Forms.Button(); this.blueButton = new System.Windows.Forms.Button(); this.greenButton = new System.Windows.Forms.Button(); this.redButton = new System.Windows.Forms.Button(); this.quickPickBox.SuspendLayout(); this.SuspendLayout(); // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.BackColor = System.Drawing.Color.Silver; this.label1.Name = "label1"; // // btnCancel // resources.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; // // btnOK // resources.ApplyResources(this.btnOK, "btnOK"); this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Name = "btnOK"; // // contextMenu // this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ctxHSV_RGB, this.ctxHSV_LAB, this.separator1, this.ctxPrevColor, this.ctxCopy }); // // ctxHSV_RGB // this.ctxHSV_RGB.Checked = true; this.ctxHSV_RGB.Index = 0; this.ctxHSV_RGB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_RGB, "ctxHSV_RGB"); this.ctxHSV_RGB.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxHSV_LAB // this.ctxHSV_LAB.Index = 1; this.ctxHSV_LAB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_LAB, "ctxHSV_LAB"); this.ctxHSV_LAB.Click += new System.EventHandler(this.ctxOptions_Click); // // separator1 // this.separator1.Index = 2; resources.ApplyResources(this.separator1, "separator1"); // // ctxPrevColor // this.ctxPrevColor.Index = 3; resources.ApplyResources(this.ctxPrevColor, "ctxPrevColor"); this.ctxPrevColor.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxCopy // this.ctxCopy.Index = 4; resources.ApplyResources(this.ctxCopy, "ctxCopy"); this.ctxCopy.Click += new System.EventHandler(this.ctxOptions_Click); // // rdHSV_H // this.rdHSV_H.Checked = true; resources.ApplyResources(this.rdHSV_H, "rdHSV_H"); this.rdHSV_H.Name = "rdHSV_H"; this.rdHSV_H.TabStop = true; this.rdHSV_H.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_S // resources.ApplyResources(this.rdHSV_S, "rdHSV_S"); this.rdHSV_S.Name = "rdHSV_S"; this.rdHSV_S.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_V // resources.ApplyResources(this.rdHSV_V, "rdHSV_V"); this.rdHSV_V.Name = "rdHSV_V"; this.rdHSV_V.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_1 // resources.ApplyResources(this.rdSecond_1, "rdSecond_1"); this.rdSecond_1.Name = "rdSecond_1"; this.rdSecond_1.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_2 // resources.ApplyResources(this.rdSecond_2, "rdSecond_2"); this.rdSecond_2.Name = "rdSecond_2"; this.rdSecond_2.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_3 // resources.ApplyResources(this.rdSecond_3, "rdSecond_3"); this.rdSecond_3.Name = "rdSecond_3"; this.rdSecond_3.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // tbHSV_H // resources.ApplyResources(this.tbHSV_H, "tbHSV_H"); this.tbHSV_H.Name = "tbHSV_H"; this.tbHSV_H.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_H.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_S // resources.ApplyResources(this.tbHSV_S, "tbHSV_S"); this.tbHSV_S.Name = "tbHSV_S"; this.tbHSV_S.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_S.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_V // resources.ApplyResources(this.tbHSV_V, "tbHSV_V"); this.tbHSV_V.Name = "tbHSV_V"; this.tbHSV_V.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_V.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_1 // resources.ApplyResources(this.tbSecond_1, "tbSecond_1"); this.tbSecond_1.Name = "tbSecond_1"; this.tbSecond_1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_1.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_2 // resources.ApplyResources(this.tbSecond_2, "tbSecond_2"); this.tbSecond_2.Name = "tbSecond_2"; this.tbSecond_2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_2.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_3 // resources.ApplyResources(this.tbSecond_3, "tbSecond_3"); this.tbSecond_3.Name = "tbSecond_3"; this.tbSecond_3.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_3.Leave += new System.EventHandler(this.tbValue_Leave); // // lblHSV_H // resources.ApplyResources(this.lblHSV_H, "lblHSV_H"); this.lblHSV_H.Name = "lblHSV_H"; // // lblHSV_S // resources.ApplyResources(this.lblHSV_S, "lblHSV_S"); this.lblHSV_S.Name = "lblHSV_S"; // // lblHSV_V // resources.ApplyResources(this.lblHSV_V, "lblHSV_V"); this.lblHSV_V.Name = "lblHSV_V"; // // lblSecond_1 // resources.ApplyResources(this.lblSecond_1, "lblSecond_1"); this.lblSecond_1.Name = "lblSecond_1"; // // lblSecond_2 // resources.ApplyResources(this.lblSecond_2, "lblSecond_2"); this.lblSecond_2.Name = "lblSecond_2"; // // lblSecond_3 // resources.ApplyResources(this.lblSecond_3, "lblSecond_3"); this.lblSecond_3.Name = "lblSecond_3"; // // toolTip // this.toolTip.AutomaticDelay = 1000; this.toolTip.AutoPopDelay = 5000; this.toolTip.InitialDelay = 1000; this.toolTip.ReshowDelay = 200; // // lblColorOut // resources.ApplyResources(this.lblColorOut, "lblColorOut"); this.lblColorOut.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.lblColorOut.ContextMenu = this.contextMenu; this.lblColorOut.Name = "lblColorOut"; this.lblColorOut.OldColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.toolTip.SetToolTip(this.lblColorOut, resources.GetString("lblColorOut.ToolTip")); this.lblColorOut.ColorChanged += new System.EventHandler(this.lblColorOut_ColorChanged); // // colorSelectionFader1 // resources.ApplyResources(this.colorSelectionFader1, "colorSelectionFader1"); this.colorSelectionFader1.Name = "colorSelectionFader1"; this.colorSelectionFader1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionFader1, resources.GetString("colorSelectionFader1.ToolTip")); // // colorSelectionPlane1 // resources.ApplyResources(this.colorSelectionPlane1, "colorSelectionPlane1"); this.colorSelectionPlane1.Name = "colorSelectionPlane1"; this.colorSelectionPlane1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionPlane1, resources.GetString("colorSelectionPlane1.ToolTip")); // // quickPickBox // this.quickPickBox.Controls.Add(this.whiteButton); this.quickPickBox.Controls.Add(this.blueButton); this.quickPickBox.Controls.Add(this.greenButton); this.quickPickBox.Controls.Add(this.redButton); resources.ApplyResources(this.quickPickBox, "quickPickBox"); this.quickPickBox.Name = "quickPickBox"; this.quickPickBox.TabStop = false; // // whiteButton // this.whiteButton.BackColor = System.Drawing.Color.White; resources.ApplyResources(this.whiteButton, "whiteButton"); this.whiteButton.Name = "whiteButton"; this.whiteButton.UseVisualStyleBackColor = false; this.whiteButton.Click += new System.EventHandler(this.whiteButton_Click); // // blueButton // this.blueButton.BackColor = System.Drawing.Color.Blue; resources.ApplyResources(this.blueButton, "blueButton"); this.blueButton.Name = "blueButton"; this.blueButton.UseVisualStyleBackColor = false; this.blueButton.Click += new System.EventHandler(this.blueButton_Click); // // greenButton // this.greenButton.BackColor = System.Drawing.Color.Green; resources.ApplyResources(this.greenButton, "greenButton"); this.greenButton.Name = "greenButton"; this.greenButton.UseVisualStyleBackColor = false; this.greenButton.Click += new System.EventHandler(this.greenButton_Click); // // redButton // this.redButton.BackColor = System.Drawing.Color.Red; resources.ApplyResources(this.redButton, "redButton"); this.redButton.Name = "redButton"; this.redButton.UseVisualStyleBackColor = false; this.redButton.Click += new System.EventHandler(this.redButton_Click); // // ColorPicker // this.AcceptButton = this.btnOK; resources.ApplyResources(this, "$this"); this.CancelButton = this.btnCancel; this.Controls.Add(this.quickPickBox); this.Controls.Add(this.lblColorOut); this.Controls.Add(this.lblHSV_H); this.Controls.Add(this.tbSecond_3); this.Controls.Add(this.tbSecond_2); this.Controls.Add(this.tbSecond_1); this.Controls.Add(this.tbHSV_V); this.Controls.Add(this.tbHSV_S); this.Controls.Add(this.tbHSV_H); this.Controls.Add(this.rdHSV_H); this.Controls.Add(this.btnCancel); this.Controls.Add(this.label1); this.Controls.Add(this.colorSelectionFader1); this.Controls.Add(this.colorSelectionPlane1); this.Controls.Add(this.btnOK); this.Controls.Add(this.rdHSV_S); this.Controls.Add(this.rdHSV_V); this.Controls.Add(this.rdSecond_1); this.Controls.Add(this.rdSecond_2); this.Controls.Add(this.rdSecond_3); this.Controls.Add(this.lblHSV_S); this.Controls.Add(this.lblHSV_V); this.Controls.Add(this.lblSecond_1); this.Controls.Add(this.lblSecond_2); this.Controls.Add(this.lblSecond_3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ColorPicker"; this.ShowInTaskbar = false; this.quickPickBox.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Erforderliche Methode für die Designerunterstützung. /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColorPicker)); this.label1 = new System.Windows.Forms.Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.contextMenu = new System.Windows.Forms.ContextMenu(); this.ctxHSV_RGB = new System.Windows.Forms.MenuItem(); this.ctxHSV_LAB = new System.Windows.Forms.MenuItem(); this.separator1 = new System.Windows.Forms.MenuItem(); this.ctxPrevColor = new System.Windows.Forms.MenuItem(); this.ctxCopy = new System.Windows.Forms.MenuItem(); this.rdHSV_H = new System.Windows.Forms.RadioButton(); this.rdHSV_S = new System.Windows.Forms.RadioButton(); this.rdHSV_V = new System.Windows.Forms.RadioButton(); this.rdSecond_1 = new System.Windows.Forms.RadioButton(); this.rdSecond_2 = new System.Windows.Forms.RadioButton(); this.rdSecond_3 = new System.Windows.Forms.RadioButton(); this.tbHSV_H = new System.Windows.Forms.TextBox(); this.tbHSV_S = new System.Windows.Forms.TextBox(); this.tbHSV_V = new System.Windows.Forms.TextBox(); this.tbSecond_1 = new System.Windows.Forms.TextBox(); this.tbSecond_2 = new System.Windows.Forms.TextBox(); this.tbSecond_3 = new System.Windows.Forms.TextBox(); this.lblHSV_H = new System.Windows.Forms.Label(); this.lblHSV_S = new System.Windows.Forms.Label(); this.lblHSV_V = new System.Windows.Forms.Label(); this.lblSecond_1 = new System.Windows.Forms.Label(); this.lblSecond_2 = new System.Windows.Forms.Label(); this.lblSecond_3 = new System.Windows.Forms.Label(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.quickPickBox = new System.Windows.Forms.GroupBox(); this.whiteButton = new System.Windows.Forms.Button(); this.blueButton = new System.Windows.Forms.Button(); this.greenButton = new System.Windows.Forms.Button(); this.redButton = new System.Windows.Forms.Button(); this.lblColorOut = new Common.Controls.ColorManagement.ColorPicker.ColorLabel(); this.colorSelectionFader1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionFader(); this.colorSelectionPlane1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionPlane(); this.quickPickBox.SuspendLayout(); this.SuspendLayout(); // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80))))); this.label1.Name = "label1"; // // btnCancel // resources.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.BackColor = System.Drawing.Color.Transparent; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.btnCancel.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent; this.btnCancel.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; this.btnCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; this.btnCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.btnCancel.Name = "btnCancel"; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.btnCancel.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // btnOK // resources.ApplyResources(this.btnOK, "btnOK"); this.btnOK.BackColor = System.Drawing.Color.Transparent; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); this.btnOK.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent; this.btnOK.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; this.btnOK.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; this.btnOK.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.btnOK.Name = "btnOK"; this.btnOK.UseVisualStyleBackColor = false; this.btnOK.MouseLeave += new System.EventHandler(this.buttonBackground_MouseLeave); this.btnOK.MouseHover += new System.EventHandler(this.buttonBackground_MouseHover); // // contextMenu // this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ctxHSV_RGB, this.ctxHSV_LAB, this.separator1, this.ctxPrevColor, this.ctxCopy}); // // ctxHSV_RGB // this.ctxHSV_RGB.Checked = true; this.ctxHSV_RGB.Index = 0; this.ctxHSV_RGB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_RGB, "ctxHSV_RGB"); this.ctxHSV_RGB.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxHSV_LAB // this.ctxHSV_LAB.Index = 1; this.ctxHSV_LAB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_LAB, "ctxHSV_LAB"); this.ctxHSV_LAB.Click += new System.EventHandler(this.ctxOptions_Click); // // separator1 // this.separator1.Index = 2; resources.ApplyResources(this.separator1, "separator1"); // // ctxPrevColor // this.ctxPrevColor.Index = 3; resources.ApplyResources(this.ctxPrevColor, "ctxPrevColor"); this.ctxPrevColor.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxCopy // this.ctxCopy.Index = 4; resources.ApplyResources(this.ctxCopy, "ctxCopy"); this.ctxCopy.Click += new System.EventHandler(this.ctxOptions_Click); // // rdHSV_H // this.rdHSV_H.Checked = true; this.rdHSV_H.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.rdHSV_H, "rdHSV_H"); this.rdHSV_H.Name = "rdHSV_H"; this.rdHSV_H.TabStop = true; this.rdHSV_H.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_S // this.rdHSV_S.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.rdHSV_S, "rdHSV_S"); this.rdHSV_S.Name = "rdHSV_S"; this.rdHSV_S.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_V // resources.ApplyResources(this.rdHSV_V, "rdHSV_V"); this.rdHSV_V.Name = "rdHSV_V"; this.rdHSV_V.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_1 // this.rdSecond_1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.rdSecond_1, "rdSecond_1"); this.rdSecond_1.Name = "rdSecond_1"; this.rdSecond_1.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_2 // this.rdSecond_2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.rdSecond_2, "rdSecond_2"); this.rdSecond_2.Name = "rdSecond_2"; this.rdSecond_2.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_3 // this.rdSecond_3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.rdSecond_3, "rdSecond_3"); this.rdSecond_3.Name = "rdSecond_3"; this.rdSecond_3.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // tbHSV_H // this.tbHSV_H.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbHSV_H.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbHSV_H.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbHSV_H, "tbHSV_H"); this.tbHSV_H.Name = "tbHSV_H"; this.tbHSV_H.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_H.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_S // this.tbHSV_S.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbHSV_S.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbHSV_S.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbHSV_S, "tbHSV_S"); this.tbHSV_S.Name = "tbHSV_S"; this.tbHSV_S.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_S.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_V // this.tbHSV_V.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbHSV_V.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbHSV_V.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbHSV_V, "tbHSV_V"); this.tbHSV_V.Name = "tbHSV_V"; this.tbHSV_V.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_V.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_1 // this.tbSecond_1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbSecond_1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbSecond_1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbSecond_1, "tbSecond_1"); this.tbSecond_1.Name = "tbSecond_1"; this.tbSecond_1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_1.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_2 // this.tbSecond_2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbSecond_2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbSecond_2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbSecond_2, "tbSecond_2"); this.tbSecond_2.Name = "tbSecond_2"; this.tbSecond_2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_2.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_3 // this.tbSecond_3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90))))); this.tbSecond_3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tbSecond_3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.tbSecond_3, "tbSecond_3"); this.tbSecond_3.Name = "tbSecond_3"; this.tbSecond_3.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_3.Leave += new System.EventHandler(this.tbValue_Leave); // // lblHSV_H // resources.ApplyResources(this.lblHSV_H, "lblHSV_H"); this.lblHSV_H.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.lblHSV_H.Name = "lblHSV_H"; // // lblHSV_S // resources.ApplyResources(this.lblHSV_S, "lblHSV_S"); this.lblHSV_S.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.lblHSV_S.Name = "lblHSV_S"; // // lblHSV_V // resources.ApplyResources(this.lblHSV_V, "lblHSV_V"); this.lblHSV_V.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); this.lblHSV_V.Name = "lblHSV_V"; // // lblSecond_1 // this.lblSecond_1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.lblSecond_1, "lblSecond_1"); this.lblSecond_1.Name = "lblSecond_1"; // // lblSecond_2 // this.lblSecond_2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.lblSecond_2, "lblSecond_2"); this.lblSecond_2.Name = "lblSecond_2"; // // lblSecond_3 // this.lblSecond_3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.lblSecond_3, "lblSecond_3"); this.lblSecond_3.Name = "lblSecond_3"; // // toolTip // this.toolTip.AutomaticDelay = 1000; this.toolTip.AutoPopDelay = 5000; this.toolTip.InitialDelay = 1000; this.toolTip.ReshowDelay = 200; // // quickPickBox // this.quickPickBox.Controls.Add(this.whiteButton); this.quickPickBox.Controls.Add(this.blueButton); this.quickPickBox.Controls.Add(this.greenButton); this.quickPickBox.Controls.Add(this.redButton); this.quickPickBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(221)))), ((int)(((byte)(221))))); resources.ApplyResources(this.quickPickBox, "quickPickBox"); this.quickPickBox.Name = "quickPickBox"; this.quickPickBox.TabStop = false; this.quickPickBox.Paint += new System.Windows.Forms.PaintEventHandler(this.groupBoxes_Paint); // // whiteButton // this.whiteButton.BackColor = System.Drawing.Color.White; this.whiteButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); resources.ApplyResources(this.whiteButton, "whiteButton"); this.whiteButton.ForeColor = System.Drawing.Color.Black; this.whiteButton.Name = "whiteButton"; this.whiteButton.UseVisualStyleBackColor = false; this.whiteButton.Click += new System.EventHandler(this.whiteButton_Click); // // blueButton // this.blueButton.BackColor = System.Drawing.Color.Blue; this.blueButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); resources.ApplyResources(this.blueButton, "blueButton"); this.blueButton.ForeColor = System.Drawing.Color.Black; this.blueButton.Name = "blueButton"; this.blueButton.UseVisualStyleBackColor = false; this.blueButton.Click += new System.EventHandler(this.blueButton_Click); // // greenButton // this.greenButton.BackColor = System.Drawing.Color.Green; this.greenButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); resources.ApplyResources(this.greenButton, "greenButton"); this.greenButton.ForeColor = System.Drawing.Color.Black; this.greenButton.Name = "greenButton"; this.greenButton.UseVisualStyleBackColor = false; this.greenButton.Click += new System.EventHandler(this.greenButton_Click); // // redButton // this.redButton.BackColor = System.Drawing.Color.Red; this.redButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40))))); resources.ApplyResources(this.redButton, "redButton"); this.redButton.ForeColor = System.Drawing.Color.Black; this.redButton.Name = "redButton"; this.redButton.UseVisualStyleBackColor = false; this.redButton.Click += new System.EventHandler(this.redButton_Click); // // lblColorOut // resources.ApplyResources(this.lblColorOut, "lblColorOut"); this.lblColorOut.BackColor = System.Drawing.Color.WhiteSmoke; this.lblColorOut.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.lblColorOut.ContextMenu = this.contextMenu; this.lblColorOut.ForeColor = System.Drawing.Color.Black; this.lblColorOut.Name = "lblColorOut"; this.lblColorOut.OldColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.toolTip.SetToolTip(this.lblColorOut, resources.GetString("lblColorOut.ToolTip")); this.lblColorOut.ColorChanged += new System.EventHandler(this.lblColorOut_ColorChanged); // // colorSelectionFader1 // resources.ApplyResources(this.colorSelectionFader1, "colorSelectionFader1"); this.colorSelectionFader1.Name = "colorSelectionFader1"; this.colorSelectionFader1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionFader1, resources.GetString("colorSelectionFader1.ToolTip")); // // colorSelectionPlane1 // resources.ApplyResources(this.colorSelectionPlane1, "colorSelectionPlane1"); this.colorSelectionPlane1.Name = "colorSelectionPlane1"; this.colorSelectionPlane1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionPlane1, resources.GetString("colorSelectionPlane1.ToolTip")); // // ColorPicker // this.AcceptButton = this.btnOK; resources.ApplyResources(this, "$this"); this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68))))); this.CancelButton = this.btnCancel; this.Controls.Add(this.quickPickBox); this.Controls.Add(this.lblColorOut); this.Controls.Add(this.lblHSV_H); this.Controls.Add(this.tbSecond_3); this.Controls.Add(this.tbSecond_2); this.Controls.Add(this.tbSecond_1); this.Controls.Add(this.tbHSV_V); this.Controls.Add(this.tbHSV_S); this.Controls.Add(this.tbHSV_H); this.Controls.Add(this.rdHSV_H); this.Controls.Add(this.btnCancel); this.Controls.Add(this.label1); this.Controls.Add(this.colorSelectionFader1); this.Controls.Add(this.colorSelectionPlane1); this.Controls.Add(this.btnOK); this.Controls.Add(this.rdHSV_S); this.Controls.Add(this.rdHSV_V); this.Controls.Add(this.rdSecond_1); this.Controls.Add(this.rdSecond_2); this.Controls.Add(this.rdSecond_3); this.Controls.Add(this.lblHSV_S); this.Controls.Add(this.lblHSV_V); this.Controls.Add(this.lblSecond_1); this.Controls.Add(this.lblSecond_2); this.Controls.Add(this.lblSecond_3); this.ForeColor = System.Drawing.Color.Black; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ColorPicker"; this.ShowInTaskbar = false; this.quickPickBox.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Erforderliche Methode für die Designerunterstützung. /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColorPicker)); this.label1 = new System.Windows.Forms.Label(); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.contextMenu = new System.Windows.Forms.ContextMenu(); this.ctxHSV_RGB = new System.Windows.Forms.MenuItem(); this.ctxHSV_LAB = new System.Windows.Forms.MenuItem(); this.separator1 = new System.Windows.Forms.MenuItem(); this.ctxPrevColor = new System.Windows.Forms.MenuItem(); this.ctxCopy = new System.Windows.Forms.MenuItem(); this.rdHSV_H = new System.Windows.Forms.RadioButton(); this.rdHSV_S = new System.Windows.Forms.RadioButton(); this.rdHSV_V = new System.Windows.Forms.RadioButton(); this.rdSecond_1 = new System.Windows.Forms.RadioButton(); this.rdSecond_2 = new System.Windows.Forms.RadioButton(); this.rdSecond_3 = new System.Windows.Forms.RadioButton(); this.tbHSV_H = new System.Windows.Forms.TextBox(); this.tbHSV_S = new System.Windows.Forms.TextBox(); this.tbHSV_V = new System.Windows.Forms.TextBox(); this.tbSecond_1 = new System.Windows.Forms.TextBox(); this.tbSecond_2 = new System.Windows.Forms.TextBox(); this.tbSecond_3 = new System.Windows.Forms.TextBox(); this.lblHSV_H = new System.Windows.Forms.Label(); this.lblHSV_S = new System.Windows.Forms.Label(); this.lblHSV_V = new System.Windows.Forms.Label(); this.lblSecond_1 = new System.Windows.Forms.Label(); this.lblSecond_2 = new System.Windows.Forms.Label(); this.lblSecond_3 = new System.Windows.Forms.Label(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.lblColorOut = new Common.Controls.ColorManagement.ColorPicker.ColorLabel(); this.colorSelectionFader1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionFader(); this.colorSelectionPlane1 = new Common.Controls.ColorManagement.ColorPicker.ColorSelectionPlane(); this.SuspendLayout(); // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.BackColor = System.Drawing.Color.Silver; this.label1.Name = "label1"; // // btnCancel // resources.ApplyResources(this.btnCancel, "btnCancel"); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Name = "btnCancel"; // // btnOK // resources.ApplyResources(this.btnOK, "btnOK"); this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Name = "btnOK"; // // contextMenu // this.contextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ctxHSV_RGB, this.ctxHSV_LAB, this.separator1, this.ctxPrevColor, this.ctxCopy}); // // ctxHSV_RGB // this.ctxHSV_RGB.Checked = true; this.ctxHSV_RGB.Index = 0; this.ctxHSV_RGB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_RGB, "ctxHSV_RGB"); this.ctxHSV_RGB.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxHSV_LAB // this.ctxHSV_LAB.Index = 1; this.ctxHSV_LAB.RadioCheck = true; resources.ApplyResources(this.ctxHSV_LAB, "ctxHSV_LAB"); this.ctxHSV_LAB.Click += new System.EventHandler(this.ctxOptions_Click); // // separator1 // this.separator1.Index = 2; resources.ApplyResources(this.separator1, "separator1"); // // ctxPrevColor // this.ctxPrevColor.Index = 3; resources.ApplyResources(this.ctxPrevColor, "ctxPrevColor"); this.ctxPrevColor.Click += new System.EventHandler(this.ctxOptions_Click); // // ctxCopy // this.ctxCopy.Index = 4; resources.ApplyResources(this.ctxCopy, "ctxCopy"); this.ctxCopy.Click += new System.EventHandler(this.ctxOptions_Click); // // rdHSV_H // this.rdHSV_H.Checked = true; resources.ApplyResources(this.rdHSV_H, "rdHSV_H"); this.rdHSV_H.Name = "rdHSV_H"; this.rdHSV_H.TabStop = true; this.rdHSV_H.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_S // resources.ApplyResources(this.rdHSV_S, "rdHSV_S"); this.rdHSV_S.Name = "rdHSV_S"; this.rdHSV_S.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdHSV_V // resources.ApplyResources(this.rdHSV_V, "rdHSV_V"); this.rdHSV_V.Name = "rdHSV_V"; this.rdHSV_V.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_1 // resources.ApplyResources(this.rdSecond_1, "rdSecond_1"); this.rdSecond_1.Name = "rdSecond_1"; this.rdSecond_1.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_2 // resources.ApplyResources(this.rdSecond_2, "rdSecond_2"); this.rdSecond_2.Name = "rdSecond_2"; this.rdSecond_2.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // rdSecond_3 // resources.ApplyResources(this.rdSecond_3, "rdSecond_3"); this.rdSecond_3.Name = "rdSecond_3"; this.rdSecond_3.CheckedChanged += new System.EventHandler(this.UpdaterdFaderedChanged); // // tbHSV_H // resources.ApplyResources(this.tbHSV_H, "tbHSV_H"); this.tbHSV_H.Name = "tbHSV_H"; this.tbHSV_H.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_H.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_S // resources.ApplyResources(this.tbHSV_S, "tbHSV_S"); this.tbHSV_S.Name = "tbHSV_S"; this.tbHSV_S.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_S.Leave += new System.EventHandler(this.tbValue_Leave); // // tbHSV_V // resources.ApplyResources(this.tbHSV_V, "tbHSV_V"); this.tbHSV_V.Name = "tbHSV_V"; this.tbHSV_V.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbHSV_V.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_1 // resources.ApplyResources(this.tbSecond_1, "tbSecond_1"); this.tbSecond_1.Name = "tbSecond_1"; this.tbSecond_1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_1.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_2 // resources.ApplyResources(this.tbSecond_2, "tbSecond_2"); this.tbSecond_2.Name = "tbSecond_2"; this.tbSecond_2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_2.Leave += new System.EventHandler(this.tbValue_Leave); // // tbSecond_3 // resources.ApplyResources(this.tbSecond_3, "tbSecond_3"); this.tbSecond_3.Name = "tbSecond_3"; this.tbSecond_3.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbValue_KeyUp); this.tbSecond_3.Leave += new System.EventHandler(this.tbValue_Leave); // // lblHSV_H // resources.ApplyResources(this.lblHSV_H, "lblHSV_H"); this.lblHSV_H.Name = "lblHSV_H"; // // lblHSV_S // resources.ApplyResources(this.lblHSV_S, "lblHSV_S"); this.lblHSV_S.Name = "lblHSV_S"; // // lblHSV_V // resources.ApplyResources(this.lblHSV_V, "lblHSV_V"); this.lblHSV_V.Name = "lblHSV_V"; // // lblSecond_1 // resources.ApplyResources(this.lblSecond_1, "lblSecond_1"); this.lblSecond_1.Name = "lblSecond_1"; // // lblSecond_2 // resources.ApplyResources(this.lblSecond_2, "lblSecond_2"); this.lblSecond_2.Name = "lblSecond_2"; // // lblSecond_3 // resources.ApplyResources(this.lblSecond_3, "lblSecond_3"); this.lblSecond_3.Name = "lblSecond_3"; // // toolTip // this.toolTip.AutomaticDelay = 1000; this.toolTip.AutoPopDelay = 5000; this.toolTip.InitialDelay = 1000; this.toolTip.ReshowDelay = 200; // // lblColorOut // resources.ApplyResources(this.lblColorOut, "lblColorOut"); this.lblColorOut.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.lblColorOut.ContextMenu = this.contextMenu; this.lblColorOut.Name = "lblColorOut"; this.lblColorOut.OldColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.toolTip.SetToolTip(this.lblColorOut, resources.GetString("lblColorOut.ToolTip")); this.lblColorOut.ColorChanged += new System.EventHandler(this.lblColorOut_ColorChanged); // // colorSelectionFader1 // resources.ApplyResources(this.colorSelectionFader1, "colorSelectionFader1"); this.colorSelectionFader1.Name = "colorSelectionFader1"; this.colorSelectionFader1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionFader1, resources.GetString("colorSelectionFader1.ToolTip")); // // colorSelectionPlane1 // resources.ApplyResources(this.colorSelectionPlane1, "colorSelectionPlane1"); this.colorSelectionPlane1.Name = "colorSelectionPlane1"; this.colorSelectionPlane1.TabStop = false; this.toolTip.SetToolTip(this.colorSelectionPlane1, resources.GetString("colorSelectionPlane1.ToolTip")); // // ColorPicker // this.AcceptButton = this.btnOK; resources.ApplyResources(this, "$this"); this.CancelButton = this.btnCancel; this.Controls.Add(this.lblColorOut); this.Controls.Add(this.lblHSV_H); this.Controls.Add(this.tbSecond_3); this.Controls.Add(this.tbSecond_2); this.Controls.Add(this.tbSecond_1); this.Controls.Add(this.tbHSV_V); this.Controls.Add(this.tbHSV_S); this.Controls.Add(this.tbHSV_H); this.Controls.Add(this.rdHSV_H); this.Controls.Add(this.btnCancel); this.Controls.Add(this.label1); this.Controls.Add(this.colorSelectionFader1); this.Controls.Add(this.colorSelectionPlane1); this.Controls.Add(this.btnOK); this.Controls.Add(this.rdHSV_S); this.Controls.Add(this.rdHSV_V); this.Controls.Add(this.rdSecond_1); this.Controls.Add(this.rdSecond_2); this.Controls.Add(this.rdSecond_3); this.Controls.Add(this.lblHSV_S); this.Controls.Add(this.lblHSV_V); this.Controls.Add(this.lblSecond_1); this.Controls.Add(this.lblSecond_2); this.Controls.Add(this.lblSecond_3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ColorPicker"; this.ShowInTaskbar = false; this.ResumeLayout(false); this.PerformLayout(); }