263 lines
13 KiB
C#
263 lines
13 KiB
C#
namespace Paint_2
|
|
{
|
|
partial class ColorPicker
|
|
{
|
|
/// <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.pbxColor = new System.Windows.Forms.PictureBox();
|
|
this.tbrRedLevel = new System.Windows.Forms.TrackBar();
|
|
this.pbxSelectedColor = new System.Windows.Forms.PictureBox();
|
|
this.nupRed = new System.Windows.Forms.NumericUpDown();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.lbl4 = new System.Windows.Forms.Label();
|
|
this.nupGreen = new System.Windows.Forms.NumericUpDown();
|
|
this.nupBlue = new System.Windows.Forms.NumericUpDown();
|
|
this.nupGamma = new System.Windows.Forms.NumericUpDown();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.tbxColorHex = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pbxColor)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tbrRedLevel)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pbxSelectedColor)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupRed)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupGreen)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupBlue)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupGamma)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// pbxColor
|
|
//
|
|
this.pbxColor.Location = new System.Drawing.Point(13, 13);
|
|
this.pbxColor.Margin = new System.Windows.Forms.Padding(4);
|
|
this.pbxColor.Name = "pbxColor";
|
|
this.pbxColor.Size = new System.Drawing.Size(255, 255);
|
|
this.pbxColor.TabIndex = 0;
|
|
this.pbxColor.TabStop = false;
|
|
this.pbxColor.Click += new System.EventHandler(this.pbxColor_Click);
|
|
//
|
|
// tbrRedLevel
|
|
//
|
|
this.tbrRedLevel.Location = new System.Drawing.Point(13, 275);
|
|
this.tbrRedLevel.Maximum = 255;
|
|
this.tbrRedLevel.Name = "tbrRedLevel";
|
|
this.tbrRedLevel.Size = new System.Drawing.Size(255, 45);
|
|
this.tbrRedLevel.TabIndex = 3;
|
|
this.tbrRedLevel.TickStyle = System.Windows.Forms.TickStyle.None;
|
|
this.tbrRedLevel.Scroll += new System.EventHandler(this.tbrRedLevel_Scroll);
|
|
//
|
|
// pbxSelectedColor
|
|
//
|
|
this.pbxSelectedColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.pbxSelectedColor.Location = new System.Drawing.Point(13, 326);
|
|
this.pbxSelectedColor.Name = "pbxSelectedColor";
|
|
this.pbxSelectedColor.Size = new System.Drawing.Size(255, 50);
|
|
this.pbxSelectedColor.TabIndex = 4;
|
|
this.pbxSelectedColor.TabStop = false;
|
|
//
|
|
// nupRed
|
|
//
|
|
this.nupRed.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.nupRed.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.nupRed.Font = new System.Drawing.Font("Cascadia Code", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.nupRed.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.nupRed.Location = new System.Drawing.Point(14, 401);
|
|
this.nupRed.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupRed.Name = "nupRed";
|
|
this.nupRed.Size = new System.Drawing.Size(60, 22);
|
|
this.nupRed.TabIndex = 11;
|
|
this.nupRed.ValueChanged += new System.EventHandler(this.nupValueChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(11, 380);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(32, 18);
|
|
this.label1.TabIndex = 12;
|
|
this.label1.Text = "Red";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(77, 380);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(48, 18);
|
|
this.label2.TabIndex = 13;
|
|
this.label2.Text = "Green";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(143, 380);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(40, 18);
|
|
this.label3.TabIndex = 14;
|
|
this.label3.Text = "Blue";
|
|
//
|
|
// lbl4
|
|
//
|
|
this.lbl4.AutoSize = true;
|
|
this.lbl4.Location = new System.Drawing.Point(207, 380);
|
|
this.lbl4.Name = "lbl4";
|
|
this.lbl4.Size = new System.Drawing.Size(48, 18);
|
|
this.lbl4.TabIndex = 15;
|
|
this.lbl4.Text = "Gamma";
|
|
//
|
|
// nupGreen
|
|
//
|
|
this.nupGreen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.nupGreen.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.nupGreen.Font = new System.Drawing.Font("Cascadia Code", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.nupGreen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.nupGreen.Location = new System.Drawing.Point(80, 401);
|
|
this.nupGreen.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupGreen.Name = "nupGreen";
|
|
this.nupGreen.Size = new System.Drawing.Size(60, 22);
|
|
this.nupGreen.TabIndex = 16;
|
|
this.nupGreen.ValueChanged += new System.EventHandler(this.nupValueChanged);
|
|
//
|
|
// nupBlue
|
|
//
|
|
this.nupBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.nupBlue.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.nupBlue.Font = new System.Drawing.Font("Cascadia Code", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.nupBlue.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.nupBlue.Location = new System.Drawing.Point(146, 401);
|
|
this.nupBlue.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupBlue.Name = "nupBlue";
|
|
this.nupBlue.Size = new System.Drawing.Size(60, 22);
|
|
this.nupBlue.TabIndex = 17;
|
|
this.nupBlue.ValueChanged += new System.EventHandler(this.nupValueChanged);
|
|
//
|
|
// nupGamma
|
|
//
|
|
this.nupGamma.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.nupGamma.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.nupGamma.Font = new System.Drawing.Font("Cascadia Code", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.nupGamma.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.nupGamma.Location = new System.Drawing.Point(210, 401);
|
|
this.nupGamma.Maximum = new decimal(new int[] {
|
|
255,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nupGamma.Name = "nupGamma";
|
|
this.nupGamma.Size = new System.Drawing.Size(60, 22);
|
|
this.nupGamma.TabIndex = 18;
|
|
this.nupGamma.ValueChanged += new System.EventHandler(this.nupValueChanged);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(10, 426);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(32, 18);
|
|
this.label4.TabIndex = 19;
|
|
this.label4.Text = "Hex";
|
|
//
|
|
// tbxColorHex
|
|
//
|
|
this.tbxColorHex.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.tbxColorHex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.tbxColorHex.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.tbxColorHex.Location = new System.Drawing.Point(13, 447);
|
|
this.tbxColorHex.Name = "tbxColorHex";
|
|
this.tbxColorHex.Size = new System.Drawing.Size(257, 23);
|
|
this.tbxColorHex.TabIndex = 20;
|
|
this.tbxColorHex.TextChanged += new System.EventHandler(this.tbxColorHex_TextChanged);
|
|
this.tbxColorHex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbxColorHex_KeyDown);
|
|
//
|
|
// ColorPicker
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(18)))), ((int)(((byte)(18)))));
|
|
this.ClientSize = new System.Drawing.Size(280, 481);
|
|
this.Controls.Add(this.tbxColorHex);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.nupGamma);
|
|
this.Controls.Add(this.nupBlue);
|
|
this.Controls.Add(this.nupGreen);
|
|
this.Controls.Add(this.lbl4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.nupRed);
|
|
this.Controls.Add(this.pbxSelectedColor);
|
|
this.Controls.Add(this.tbrRedLevel);
|
|
this.Controls.Add(this.pbxColor);
|
|
this.Font = new System.Drawing.Font("Cascadia Code", 10.2F);
|
|
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(214)))), ((int)(((byte)(214)))));
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.MaximizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(296, 520);
|
|
this.Name = "ColorPicker";
|
|
this.Text = "ColorPicker";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ColorPicker_FormClosing);
|
|
this.Load += new System.EventHandler(this.ColorPicker_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.pbxColor)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.tbrRedLevel)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pbxSelectedColor)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupRed)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupGreen)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupBlue)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nupGamma)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.PictureBox pbxColor;
|
|
private System.Windows.Forms.TrackBar tbrRedLevel;
|
|
private System.Windows.Forms.PictureBox pbxSelectedColor;
|
|
private System.Windows.Forms.NumericUpDown nupRed;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label lbl4;
|
|
private System.Windows.Forms.NumericUpDown nupGreen;
|
|
private System.Windows.Forms.NumericUpDown nupBlue;
|
|
private System.Windows.Forms.NumericUpDown nupGamma;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox tbxColorHex;
|
|
}
|
|
} |