|
@@ -28,6 +28,7 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
|
|
this.colorPanel = new System.Windows.Forms.Panel();
|
|
|
this.rgbTextBox = new System.Windows.Forms.TextBox();
|
|
@@ -44,25 +45,33 @@
|
|
|
this.rgbOneTextBox = new System.Windows.Forms.TextBox();
|
|
|
this.rgbOneLabel = new System.Windows.Forms.Label();
|
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
|
+ this.onTopButton = new System.Windows.Forms.ToolStripButton();
|
|
|
+ this.formatButton = new System.Windows.Forms.ToolStripButton();
|
|
|
+ this.clearListButton = new System.Windows.Forms.ToolStripButton();
|
|
|
+ this.deleteButton = new System.Windows.Forms.ToolStripButton();
|
|
|
+ this.aboutButton = new System.Windows.Forms.ToolStripButton();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.gradPanel1 = new System.Windows.Forms.Panel();
|
|
|
this.gradPanel2 = new System.Windows.Forms.Panel();
|
|
|
this.gradPanel3 = new System.Windows.Forms.Panel();
|
|
|
this.gradPanel4 = new System.Windows.Forms.Panel();
|
|
|
this.gradPanel = new System.Windows.Forms.Panel();
|
|
|
- this.onTopButton = new System.Windows.Forms.ToolStripButton();
|
|
|
- this.formatButton = new System.Windows.Forms.ToolStripButton();
|
|
|
- this.clearListButton = new System.Windows.Forms.ToolStripButton();
|
|
|
- this.deleteButton = new System.Windows.Forms.ToolStripButton();
|
|
|
- this.aboutButton = new System.Windows.Forms.ToolStripButton();
|
|
|
+ this.copyTooltip = new System.Windows.Forms.ToolTip(this.components);
|
|
|
this.rgbOneCopyButton = new System.Windows.Forms.Button();
|
|
|
this.hslCopyButton = new System.Windows.Forms.Button();
|
|
|
this.cmykCopyButton = new System.Windows.Forms.Button();
|
|
|
this.htmlCopyButton = new System.Windows.Forms.Button();
|
|
|
this.rgbCopyButton = new System.Windows.Forms.Button();
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
+ this.hsvTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.hsvLabel = new System.Windows.Forms.Label();
|
|
|
+ this.hsvCopyButton = new System.Windows.Forms.Button();
|
|
|
+ this.ratioPanel = new System.Windows.Forms.Panel();
|
|
|
+ this.ratioBlackLabel = new System.Windows.Forms.Label();
|
|
|
+ this.ratioWhiteLabel = new System.Windows.Forms.Label();
|
|
|
this.toolStrip1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
+ this.ratioPanel.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// colorPanel
|
|
@@ -79,20 +88,22 @@
|
|
|
this.rgbTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
this.rgbTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.rgbTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.rgbTextBox.Location = new System.Drawing.Point(138, 31);
|
|
|
- this.rgbTextBox.Margin = new System.Windows.Forms.Padding(10, 3, 3, 10);
|
|
|
+ this.rgbTextBox.Location = new System.Drawing.Point(138, 28);
|
|
|
+ this.rgbTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
this.rgbTextBox.Multiline = true;
|
|
|
this.rgbTextBox.Name = "rgbTextBox";
|
|
|
this.rgbTextBox.ReadOnly = true;
|
|
|
this.rgbTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
this.rgbTextBox.TabIndex = 3;
|
|
|
- this.rgbTextBox.Text = "255,255,255";
|
|
|
+ this.rgbTextBox.Text = "255, 255, 255";
|
|
|
+ this.rgbTextBox.WordWrap = false;
|
|
|
//
|
|
|
// rgbLabel
|
|
|
//
|
|
|
this.rgbLabel.AutoSize = true;
|
|
|
this.rgbLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.rgbLabel.Location = new System.Drawing.Point(135, 11);
|
|
|
+ this.rgbLabel.Location = new System.Drawing.Point(135, 10);
|
|
|
+ this.rgbLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
this.rgbLabel.Name = "rgbLabel";
|
|
|
this.rgbLabel.Size = new System.Drawing.Size(32, 15);
|
|
|
this.rgbLabel.TabIndex = 4;
|
|
@@ -102,7 +113,8 @@
|
|
|
//
|
|
|
this.htmlLabel.AutoSize = true;
|
|
|
this.htmlLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.htmlLabel.Location = new System.Drawing.Point(135, 63);
|
|
|
+ this.htmlLabel.Location = new System.Drawing.Point(135, 60);
|
|
|
+ this.htmlLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
this.htmlLabel.Name = "htmlLabel";
|
|
|
this.htmlLabel.Size = new System.Drawing.Size(32, 15);
|
|
|
this.htmlLabel.TabIndex = 5;
|
|
@@ -113,14 +125,15 @@
|
|
|
this.htmlTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
this.htmlTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.htmlTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.htmlTextBox.Location = new System.Drawing.Point(138, 83);
|
|
|
- this.htmlTextBox.Margin = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
|
|
+ this.htmlTextBox.Location = new System.Drawing.Point(138, 78);
|
|
|
+ this.htmlTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
this.htmlTextBox.Multiline = true;
|
|
|
this.htmlTextBox.Name = "htmlTextBox";
|
|
|
this.htmlTextBox.ReadOnly = true;
|
|
|
this.htmlTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
this.htmlTextBox.TabIndex = 6;
|
|
|
this.htmlTextBox.Text = "#FFFFFF";
|
|
|
+ this.htmlTextBox.WordWrap = false;
|
|
|
//
|
|
|
// xLabel
|
|
|
//
|
|
@@ -151,10 +164,10 @@
|
|
|
this.colorList.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
this.colorList.FormattingEnabled = true;
|
|
|
this.colorList.ItemHeight = 17;
|
|
|
- this.colorList.Location = new System.Drawing.Point(325, 36);
|
|
|
+ this.colorList.Location = new System.Drawing.Point(325, 41);
|
|
|
this.colorList.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.colorList.Name = "colorList";
|
|
|
- this.colorList.Size = new System.Drawing.Size(130, 223);
|
|
|
+ this.colorList.Size = new System.Drawing.Size(130, 257);
|
|
|
this.colorList.TabIndex = 1;
|
|
|
this.colorList.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.colorList_DrawItem);
|
|
|
this.colorList.SelectedIndexChanged += new System.EventHandler(this.colorList_SelectedIndexChanged);
|
|
@@ -164,20 +177,22 @@
|
|
|
this.cmykTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
this.cmykTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.cmykTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.cmykTextBox.Location = new System.Drawing.Point(138, 135);
|
|
|
- this.cmykTextBox.Margin = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
|
|
+ this.cmykTextBox.Location = new System.Drawing.Point(138, 128);
|
|
|
+ this.cmykTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
this.cmykTextBox.Multiline = true;
|
|
|
this.cmykTextBox.Name = "cmykTextBox";
|
|
|
this.cmykTextBox.ReadOnly = true;
|
|
|
this.cmykTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
this.cmykTextBox.TabIndex = 12;
|
|
|
- this.cmykTextBox.Text = "0,0,0,0";
|
|
|
+ this.cmykTextBox.Text = "0, 0, 0, 0";
|
|
|
+ this.cmykTextBox.WordWrap = false;
|
|
|
//
|
|
|
// cmykLabel
|
|
|
//
|
|
|
this.cmykLabel.AutoSize = true;
|
|
|
this.cmykLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.cmykLabel.Location = new System.Drawing.Point(135, 115);
|
|
|
+ this.cmykLabel.Location = new System.Drawing.Point(135, 110);
|
|
|
+ this.cmykLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
this.cmykLabel.Name = "cmykLabel";
|
|
|
this.cmykLabel.Size = new System.Drawing.Size(64, 15);
|
|
|
this.cmykLabel.TabIndex = 11;
|
|
@@ -188,44 +203,48 @@
|
|
|
this.hslTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
this.hslTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.hslTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.hslTextBox.Location = new System.Drawing.Point(138, 187);
|
|
|
- this.hslTextBox.Margin = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
|
|
+ this.hslTextBox.Location = new System.Drawing.Point(138, 178);
|
|
|
+ this.hslTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
this.hslTextBox.Multiline = true;
|
|
|
this.hslTextBox.Name = "hslTextBox";
|
|
|
this.hslTextBox.ReadOnly = true;
|
|
|
this.hslTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
this.hslTextBox.TabIndex = 16;
|
|
|
- this.hslTextBox.Text = "0,0,100";
|
|
|
+ this.hslTextBox.Text = "0, 0, 100";
|
|
|
+ this.hslTextBox.WordWrap = false;
|
|
|
//
|
|
|
// hslLabel
|
|
|
//
|
|
|
this.hslLabel.AutoSize = true;
|
|
|
this.hslLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.hslLabel.Location = new System.Drawing.Point(135, 167);
|
|
|
+ this.hslLabel.Location = new System.Drawing.Point(135, 160);
|
|
|
+ this.hslLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
this.hslLabel.Name = "hslLabel";
|
|
|
- this.hslLabel.Size = new System.Drawing.Size(52, 15);
|
|
|
+ this.hslLabel.Size = new System.Drawing.Size(31, 15);
|
|
|
this.hslLabel.TabIndex = 15;
|
|
|
- this.hslLabel.Text = "HSL (%):";
|
|
|
+ this.hslLabel.Text = "HSL:";
|
|
|
//
|
|
|
// rgbOneTextBox
|
|
|
//
|
|
|
this.rgbOneTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
this.rgbOneTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
this.rgbOneTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.rgbOneTextBox.Location = new System.Drawing.Point(138, 239);
|
|
|
- this.rgbOneTextBox.Margin = new System.Windows.Forms.Padding(10, 3, 10, 10);
|
|
|
+ this.rgbOneTextBox.Location = new System.Drawing.Point(138, 228);
|
|
|
+ this.rgbOneTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
this.rgbOneTextBox.Multiline = true;
|
|
|
this.rgbOneTextBox.Name = "rgbOneTextBox";
|
|
|
this.rgbOneTextBox.ReadOnly = true;
|
|
|
this.rgbOneTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
this.rgbOneTextBox.TabIndex = 19;
|
|
|
- this.rgbOneTextBox.Text = "1/1/1";
|
|
|
+ this.rgbOneTextBox.Text = "1; 1; 1";
|
|
|
+ this.rgbOneTextBox.WordWrap = false;
|
|
|
//
|
|
|
// rgbOneLabel
|
|
|
//
|
|
|
this.rgbOneLabel.AutoSize = true;
|
|
|
this.rgbOneLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.rgbOneLabel.Location = new System.Drawing.Point(135, 219);
|
|
|
+ this.rgbOneLabel.Location = new System.Drawing.Point(135, 210);
|
|
|
+ this.rgbOneLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
this.rgbOneLabel.Name = "rgbOneLabel";
|
|
|
this.rgbOneLabel.Size = new System.Drawing.Size(61, 15);
|
|
|
this.rgbOneLabel.TabIndex = 18;
|
|
@@ -251,6 +270,67 @@
|
|
|
this.toolStrip1.TabIndex = 24;
|
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
|
//
|
|
|
+ // onTopButton
|
|
|
+ //
|
|
|
+ this.onTopButton.AutoSize = false;
|
|
|
+ this.onTopButton.Checked = true;
|
|
|
+ this.onTopButton.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
+ this.onTopButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
+ this.onTopButton.Image = ((System.Drawing.Image)(resources.GetObject("onTopButton.Image")));
|
|
|
+ this.onTopButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.onTopButton.Name = "onTopButton";
|
|
|
+ this.onTopButton.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.onTopButton.Text = "Toggle always on top | Ctrl + T";
|
|
|
+ this.onTopButton.ToolTipText = "Always on top | Ctrl + T";
|
|
|
+ this.onTopButton.Click += new System.EventHandler(this.onTopButton_Click);
|
|
|
+ //
|
|
|
+ // formatButton
|
|
|
+ //
|
|
|
+ this.formatButton.AutoSize = false;
|
|
|
+ this.formatButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
+ this.formatButton.Image = ((System.Drawing.Image)(resources.GetObject("formatButton.Image")));
|
|
|
+ this.formatButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.formatButton.Name = "formatButton";
|
|
|
+ this.formatButton.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.formatButton.Text = "Clear color list | Ctrl + L";
|
|
|
+ this.formatButton.ToolTipText = "Another format | Ctrl + F";
|
|
|
+ this.formatButton.Click += new System.EventHandler(this.formatButton_Click);
|
|
|
+ //
|
|
|
+ // clearListButton
|
|
|
+ //
|
|
|
+ this.clearListButton.AutoSize = false;
|
|
|
+ this.clearListButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
+ this.clearListButton.Image = ((System.Drawing.Image)(resources.GetObject("clearListButton.Image")));
|
|
|
+ this.clearListButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.clearListButton.Name = "clearListButton";
|
|
|
+ this.clearListButton.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.clearListButton.Text = "Clear color list | Ctrl + L";
|
|
|
+ this.clearListButton.Click += new System.EventHandler(this.clearListButton_Click);
|
|
|
+ //
|
|
|
+ // deleteButton
|
|
|
+ //
|
|
|
+ this.deleteButton.AutoSize = false;
|
|
|
+ this.deleteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
+ this.deleteButton.Enabled = false;
|
|
|
+ this.deleteButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteButton.Image")));
|
|
|
+ this.deleteButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.deleteButton.Name = "deleteButton";
|
|
|
+ this.deleteButton.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.deleteButton.Text = "Remove selected color | Delete";
|
|
|
+ this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
|
|
|
+ //
|
|
|
+ // aboutButton
|
|
|
+ //
|
|
|
+ this.aboutButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
|
+ this.aboutButton.AutoSize = false;
|
|
|
+ this.aboutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
+ this.aboutButton.Image = ((System.Drawing.Image)(resources.GetObject("aboutButton.Image")));
|
|
|
+ this.aboutButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.aboutButton.Name = "aboutButton";
|
|
|
+ this.aboutButton.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.aboutButton.Text = "About | F1";
|
|
|
+ this.aboutButton.Click += new System.EventHandler(this.aboutButton_Click);
|
|
|
+ //
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
@@ -317,73 +397,12 @@
|
|
|
this.gradPanel.TabIndex = 28;
|
|
|
this.gradPanel.Click += new System.EventHandler(this.gradPanel_Click);
|
|
|
//
|
|
|
- // onTopButton
|
|
|
- //
|
|
|
- this.onTopButton.AutoSize = false;
|
|
|
- this.onTopButton.Checked = true;
|
|
|
- this.onTopButton.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
- this.onTopButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
- this.onTopButton.Image = ((System.Drawing.Image)(resources.GetObject("onTopButton.Image")));
|
|
|
- this.onTopButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
- this.onTopButton.Name = "onTopButton";
|
|
|
- this.onTopButton.Size = new System.Drawing.Size(24, 25);
|
|
|
- this.onTopButton.Text = "Toggle always on top | Ctrl + T";
|
|
|
- this.onTopButton.ToolTipText = "Always on top | Ctrl + T";
|
|
|
- this.onTopButton.Click += new System.EventHandler(this.onTopButton_Click);
|
|
|
- //
|
|
|
- // formatButton
|
|
|
- //
|
|
|
- this.formatButton.AutoSize = false;
|
|
|
- this.formatButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
- this.formatButton.Image = ((System.Drawing.Image)(resources.GetObject("formatButton.Image")));
|
|
|
- this.formatButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
- this.formatButton.Name = "formatButton";
|
|
|
- this.formatButton.Size = new System.Drawing.Size(24, 25);
|
|
|
- this.formatButton.Text = "Clear color list | Ctrl + L";
|
|
|
- this.formatButton.ToolTipText = "Another format | Ctrl + F";
|
|
|
- this.formatButton.Click += new System.EventHandler(this.formatButton_Click);
|
|
|
- //
|
|
|
- // clearListButton
|
|
|
- //
|
|
|
- this.clearListButton.AutoSize = false;
|
|
|
- this.clearListButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
- this.clearListButton.Image = ((System.Drawing.Image)(resources.GetObject("clearListButton.Image")));
|
|
|
- this.clearListButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
- this.clearListButton.Name = "clearListButton";
|
|
|
- this.clearListButton.Size = new System.Drawing.Size(24, 25);
|
|
|
- this.clearListButton.Text = "Clear color list | Ctrl + L";
|
|
|
- this.clearListButton.Click += new System.EventHandler(this.clearListButton_Click);
|
|
|
- //
|
|
|
- // deleteButton
|
|
|
- //
|
|
|
- this.deleteButton.AutoSize = false;
|
|
|
- this.deleteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
- this.deleteButton.Enabled = false;
|
|
|
- this.deleteButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteButton.Image")));
|
|
|
- this.deleteButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
- this.deleteButton.Name = "deleteButton";
|
|
|
- this.deleteButton.Size = new System.Drawing.Size(24, 25);
|
|
|
- this.deleteButton.Text = "Remove selected color | Delete";
|
|
|
- this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
|
|
|
- //
|
|
|
- // aboutButton
|
|
|
- //
|
|
|
- this.aboutButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
|
- this.aboutButton.AutoSize = false;
|
|
|
- this.aboutButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
|
- this.aboutButton.Image = ((System.Drawing.Image)(resources.GetObject("aboutButton.Image")));
|
|
|
- this.aboutButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
- this.aboutButton.Name = "aboutButton";
|
|
|
- this.aboutButton.Size = new System.Drawing.Size(24, 25);
|
|
|
- this.aboutButton.Text = "About | F1";
|
|
|
- this.aboutButton.Click += new System.EventHandler(this.aboutButton_Click);
|
|
|
- //
|
|
|
// rgbOneCopyButton
|
|
|
//
|
|
|
this.rgbOneCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
this.rgbOneCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.rgbOneCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("rgbOneCopyButton.Image")));
|
|
|
- this.rgbOneCopyButton.Location = new System.Drawing.Point(293, 236);
|
|
|
+ this.rgbOneCopyButton.Location = new System.Drawing.Point(293, 225);
|
|
|
this.rgbOneCopyButton.Name = "rgbOneCopyButton";
|
|
|
this.rgbOneCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
this.rgbOneCopyButton.TabIndex = 20;
|
|
@@ -395,7 +414,7 @@
|
|
|
this.hslCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
this.hslCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.hslCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("hslCopyButton.Image")));
|
|
|
- this.hslCopyButton.Location = new System.Drawing.Point(293, 184);
|
|
|
+ this.hslCopyButton.Location = new System.Drawing.Point(293, 175);
|
|
|
this.hslCopyButton.Name = "hslCopyButton";
|
|
|
this.hslCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
this.hslCopyButton.TabIndex = 17;
|
|
@@ -407,7 +426,7 @@
|
|
|
this.cmykCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
this.cmykCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.cmykCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("cmykCopyButton.Image")));
|
|
|
- this.cmykCopyButton.Location = new System.Drawing.Point(293, 132);
|
|
|
+ this.cmykCopyButton.Location = new System.Drawing.Point(293, 125);
|
|
|
this.cmykCopyButton.Name = "cmykCopyButton";
|
|
|
this.cmykCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
this.cmykCopyButton.TabIndex = 14;
|
|
@@ -419,7 +438,7 @@
|
|
|
this.htmlCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
this.htmlCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.htmlCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("htmlCopyButton.Image")));
|
|
|
- this.htmlCopyButton.Location = new System.Drawing.Point(293, 80);
|
|
|
+ this.htmlCopyButton.Location = new System.Drawing.Point(293, 75);
|
|
|
this.htmlCopyButton.Name = "htmlCopyButton";
|
|
|
this.htmlCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
this.htmlCopyButton.TabIndex = 10;
|
|
@@ -431,7 +450,7 @@
|
|
|
this.rgbCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
this.rgbCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
this.rgbCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("rgbCopyButton.Image")));
|
|
|
- this.rgbCopyButton.Location = new System.Drawing.Point(293, 28);
|
|
|
+ this.rgbCopyButton.Location = new System.Drawing.Point(293, 25);
|
|
|
this.rgbCopyButton.Name = "rgbCopyButton";
|
|
|
this.rgbCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
this.rgbCopyButton.TabIndex = 9;
|
|
@@ -448,11 +467,91 @@
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
//
|
|
|
+ // hsvTextBox
|
|
|
+ //
|
|
|
+ this.hsvTextBox.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ this.hsvTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
+ this.hsvTextBox.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.hsvTextBox.Location = new System.Drawing.Point(138, 278);
|
|
|
+ this.hsvTextBox.Margin = new System.Windows.Forms.Padding(9, 0, 9, 9);
|
|
|
+ this.hsvTextBox.Multiline = true;
|
|
|
+ this.hsvTextBox.Name = "hsvTextBox";
|
|
|
+ this.hsvTextBox.ReadOnly = true;
|
|
|
+ this.hsvTextBox.Size = new System.Drawing.Size(153, 20);
|
|
|
+ this.hsvTextBox.TabIndex = 30;
|
|
|
+ this.hsvTextBox.Text = "0, 0, 100";
|
|
|
+ this.hsvTextBox.WordWrap = false;
|
|
|
+ //
|
|
|
+ // hsvLabel
|
|
|
+ //
|
|
|
+ this.hsvLabel.AutoSize = true;
|
|
|
+ this.hsvLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.hsvLabel.Location = new System.Drawing.Point(135, 260);
|
|
|
+ this.hsvLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
+ this.hsvLabel.Name = "hsvLabel";
|
|
|
+ this.hsvLabel.Size = new System.Drawing.Size(65, 15);
|
|
|
+ this.hsvLabel.TabIndex = 29;
|
|
|
+ this.hsvLabel.Text = "HSB / HSV:";
|
|
|
+ //
|
|
|
+ // hsvCopyButton
|
|
|
+ //
|
|
|
+ this.hsvCopyButton.FlatAppearance.BorderSize = 0;
|
|
|
+ this.hsvCopyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
+ this.hsvCopyButton.Image = ((System.Drawing.Image)(resources.GetObject("hsvCopyButton.Image")));
|
|
|
+ this.hsvCopyButton.Location = new System.Drawing.Point(293, 275);
|
|
|
+ this.hsvCopyButton.Name = "hsvCopyButton";
|
|
|
+ this.hsvCopyButton.Size = new System.Drawing.Size(25, 25);
|
|
|
+ this.hsvCopyButton.TabIndex = 31;
|
|
|
+ this.hsvCopyButton.UseVisualStyleBackColor = true;
|
|
|
+ this.hsvCopyButton.Click += new System.EventHandler(this.hsvCopyButton_Click);
|
|
|
+ //
|
|
|
+ // ratioPanel
|
|
|
+ //
|
|
|
+ this.ratioPanel.BackColor = System.Drawing.Color.White;
|
|
|
+ this.ratioPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
+ this.ratioPanel.Controls.Add(this.ratioWhiteLabel);
|
|
|
+ this.ratioPanel.Controls.Add(this.ratioBlackLabel);
|
|
|
+ this.ratioPanel.Location = new System.Drawing.Point(9, 265);
|
|
|
+ this.ratioPanel.Margin = new System.Windows.Forms.Padding(3, 6, 3, 3);
|
|
|
+ this.ratioPanel.Name = "ratioPanel";
|
|
|
+ this.ratioPanel.Size = new System.Drawing.Size(120, 33);
|
|
|
+ this.ratioPanel.TabIndex = 32;
|
|
|
+ //
|
|
|
+ // ratioBlackLabel
|
|
|
+ //
|
|
|
+ this.ratioBlackLabel.AutoSize = true;
|
|
|
+ this.ratioBlackLabel.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.ratioBlackLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.ratioBlackLabel.ForeColor = System.Drawing.Color.Black;
|
|
|
+ this.ratioBlackLabel.Location = new System.Drawing.Point(13, 8);
|
|
|
+ this.ratioBlackLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
+ this.ratioBlackLabel.Name = "ratioBlackLabel";
|
|
|
+ this.ratioBlackLabel.Size = new System.Drawing.Size(37, 15);
|
|
|
+ this.ratioBlackLabel.TabIndex = 33;
|
|
|
+ this.ratioBlackLabel.Text = "Black";
|
|
|
+ //
|
|
|
+ // ratioWhiteLabel
|
|
|
+ //
|
|
|
+ this.ratioWhiteLabel.AutoSize = true;
|
|
|
+ this.ratioWhiteLabel.BackColor = System.Drawing.Color.Transparent;
|
|
|
+ this.ratioWhiteLabel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.ratioWhiteLabel.ForeColor = System.Drawing.Color.White;
|
|
|
+ this.ratioWhiteLabel.Location = new System.Drawing.Point(65, 8);
|
|
|
+ this.ratioWhiteLabel.Margin = new System.Windows.Forms.Padding(3);
|
|
|
+ this.ratioWhiteLabel.Name = "ratioWhiteLabel";
|
|
|
+ this.ratioWhiteLabel.Size = new System.Drawing.Size(41, 15);
|
|
|
+ this.ratioWhiteLabel.TabIndex = 34;
|
|
|
+ this.ratioWhiteLabel.Text = "White";
|
|
|
+ //
|
|
|
// MainForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
- this.ClientSize = new System.Drawing.Size(464, 268);
|
|
|
+ this.ClientSize = new System.Drawing.Size(464, 307);
|
|
|
+ this.Controls.Add(this.ratioPanel);
|
|
|
+ this.Controls.Add(this.hsvCopyButton);
|
|
|
+ this.Controls.Add(this.hsvTextBox);
|
|
|
+ this.Controls.Add(this.hsvLabel);
|
|
|
this.Controls.Add(this.gradPanel);
|
|
|
this.Controls.Add(this.gradPanel4);
|
|
|
this.Controls.Add(this.gradPanel3);
|
|
@@ -494,6 +593,8 @@
|
|
|
this.toolStrip1.ResumeLayout(false);
|
|
|
this.toolStrip1.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
+ this.ratioPanel.ResumeLayout(false);
|
|
|
+ this.ratioPanel.PerformLayout();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
@@ -533,6 +634,13 @@
|
|
|
private System.Windows.Forms.Panel gradPanel4;
|
|
|
private System.Windows.Forms.Panel gradPanel;
|
|
|
private System.Windows.Forms.ToolStripButton formatButton;
|
|
|
+ private System.Windows.Forms.ToolTip copyTooltip;
|
|
|
+ private System.Windows.Forms.TextBox hsvTextBox;
|
|
|
+ private System.Windows.Forms.Label hsvLabel;
|
|
|
+ private System.Windows.Forms.Button hsvCopyButton;
|
|
|
+ private System.Windows.Forms.Panel ratioPanel;
|
|
|
+ private System.Windows.Forms.Label ratioBlackLabel;
|
|
|
+ private System.Windows.Forms.Label ratioWhiteLabel;
|
|
|
}
|
|
|
}
|
|
|
|