2014-12-11 09:25:20 +13:00
|
|
|
|
namespace ShareX.HelpersLib
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
2014-09-08 18:40:04 +12:00
|
|
|
|
partial class ColorPickerForm
|
2013-11-03 23:53:49 +13:00
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2016-09-02 00:06:30 +12:00
|
|
|
|
this.components = new System.ComponentModel.Container();
|
2014-10-05 02:12:40 +13:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColorPickerForm));
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
|
|
|
this.lblOld = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblNew = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtHex = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.lblHex = new System.Windows.Forms.Label();
|
|
|
|
|
this.nudKey = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudYellow = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudMagenta = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudCyan = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.lblKey = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblYellow = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblMagenta = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblCyan = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblHue = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblBrightnessPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblSaturationPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.nudBlue = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudGreen = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudRed = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudBrightness = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudSaturation = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.nudHue = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.rbBlue = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbGreen = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbRed = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbBrightness = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbSaturation = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbHue = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.lblDecimal = new System.Windows.Forms.Label();
|
|
|
|
|
this.txtDecimal = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.lblCyanPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblMagentaPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblYellowPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblKeyPerc = new System.Windows.Forms.Label();
|
|
|
|
|
this.nudAlpha = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.lblAlpha = new System.Windows.Forms.Label();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.ttMain = new System.Windows.Forms.ToolTip(this.components);
|
2019-02-14 05:57:25 +13:00
|
|
|
|
this.btnScreenColorPicker = new System.Windows.Forms.Button();
|
2020-07-29 00:00:48 +12:00
|
|
|
|
this.btnClipboardColorPicker = new System.Windows.Forms.Button();
|
2023-06-05 10:17:51 +12:00
|
|
|
|
this.cbTransparent = new ShareX.HelpersLib.ColorButton();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.cmsCopy = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
|
|
this.tsmiCopyAll = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyRGB = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyHexadecimal = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyCMYK = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyHSB = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyDecimal = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.tsmiCopyPosition = new System.Windows.Forms.ToolStripMenuItem();
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.pCursorPosition = new System.Windows.Forms.Panel();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.txtY = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.txtX = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.lblY = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblX = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblCursorPosition = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnClose = new System.Windows.Forms.Button();
|
2019-02-14 05:57:25 +13:00
|
|
|
|
this.flpColorPalette = new System.Windows.Forms.FlowLayoutPanel();
|
|
|
|
|
this.rbRecentColors = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.rbStandardColors = new System.Windows.Forms.RadioButton();
|
|
|
|
|
this.flpColorPaletteSelection = new System.Windows.Forms.FlowLayoutPanel();
|
2019-10-04 03:25:58 +13:00
|
|
|
|
this.lblName = new System.Windows.Forms.Label();
|
|
|
|
|
this.lblNameValue = new System.Windows.Forms.Label();
|
2020-07-29 18:59:51 +12:00
|
|
|
|
this.btnClipboardStatus = new System.Windows.Forms.Button();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.mbCopy = new ShareX.HelpersLib.MenuButton();
|
2015-01-05 08:53:55 +13:00
|
|
|
|
this.pbColorPreview = new ShareX.HelpersLib.MyPictureBox();
|
|
|
|
|
this.colorPicker = new ShareX.HelpersLib.ColorPicker();
|
2013-11-03 23:53:49 +13:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudKey)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudYellow)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMagenta)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCyan)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudBlue)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudGreen)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudRed)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudBrightness)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSaturation)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudHue)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudAlpha)).BeginInit();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.cmsCopy.SuspendLayout();
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.pCursorPosition.SuspendLayout();
|
2019-02-14 05:57:25 +13:00
|
|
|
|
this.flpColorPaletteSelection.SuspendLayout();
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// btnCancel
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.btnCancel, "btnCancel");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnOK
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.btnOK, "btnOK");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
|
|
|
//
|
|
|
|
|
// lblOld
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblOld, "lblOld");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblOld.Name = "lblOld";
|
|
|
|
|
//
|
|
|
|
|
// lblNew
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblNew, "lblNew");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblNew.Name = "lblNew";
|
|
|
|
|
//
|
|
|
|
|
// txtHex
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.txtHex, "txtHex");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.txtHex.Name = "txtHex";
|
|
|
|
|
this.txtHex.TextChanged += new System.EventHandler(this.txtHex_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblHex
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblHex, "lblHex");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblHex.Name = "lblHex";
|
|
|
|
|
//
|
|
|
|
|
// nudKey
|
|
|
|
|
//
|
|
|
|
|
this.nudKey.DecimalPlaces = 1;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudKey, "nudKey");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudKey.Name = "nudKey";
|
|
|
|
|
this.nudKey.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudKey.ValueChanged += new System.EventHandler(this.CMYK_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudYellow
|
|
|
|
|
//
|
|
|
|
|
this.nudYellow.DecimalPlaces = 1;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudYellow, "nudYellow");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudYellow.Name = "nudYellow";
|
|
|
|
|
this.nudYellow.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudYellow.ValueChanged += new System.EventHandler(this.CMYK_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudMagenta
|
|
|
|
|
//
|
|
|
|
|
this.nudMagenta.DecimalPlaces = 1;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudMagenta, "nudMagenta");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudMagenta.Name = "nudMagenta";
|
|
|
|
|
this.nudMagenta.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudMagenta.ValueChanged += new System.EventHandler(this.CMYK_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudCyan
|
|
|
|
|
//
|
|
|
|
|
this.nudCyan.DecimalPlaces = 1;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudCyan, "nudCyan");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudCyan.Name = "nudCyan";
|
|
|
|
|
this.nudCyan.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudCyan.ValueChanged += new System.EventHandler(this.CMYK_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblKey
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblKey, "lblKey");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblKey.Name = "lblKey";
|
|
|
|
|
//
|
|
|
|
|
// lblYellow
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblYellow, "lblYellow");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblYellow.Name = "lblYellow";
|
|
|
|
|
//
|
|
|
|
|
// lblMagenta
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblMagenta, "lblMagenta");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblMagenta.Name = "lblMagenta";
|
|
|
|
|
//
|
|
|
|
|
// lblCyan
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblCyan, "lblCyan");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblCyan.Name = "lblCyan";
|
|
|
|
|
//
|
|
|
|
|
// lblHue
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblHue, "lblHue");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblHue.Name = "lblHue";
|
|
|
|
|
//
|
|
|
|
|
// lblBrightnessPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblBrightnessPerc, "lblBrightnessPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblBrightnessPerc.Name = "lblBrightnessPerc";
|
|
|
|
|
//
|
|
|
|
|
// lblSaturationPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblSaturationPerc, "lblSaturationPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblSaturationPerc.Name = "lblSaturationPerc";
|
|
|
|
|
//
|
|
|
|
|
// nudBlue
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudBlue, "nudBlue");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudBlue.Maximum = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudBlue.Name = "nudBlue";
|
|
|
|
|
this.nudBlue.Value = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudBlue.ValueChanged += new System.EventHandler(this.RGB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudGreen
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudGreen, "nudGreen");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudGreen.Maximum = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudGreen.Name = "nudGreen";
|
|
|
|
|
this.nudGreen.Value = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudGreen.ValueChanged += new System.EventHandler(this.RGB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudRed
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudRed, "nudRed");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudRed.Maximum = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudRed.Name = "nudRed";
|
|
|
|
|
this.nudRed.Value = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudRed.ValueChanged += new System.EventHandler(this.RGB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudBrightness
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudBrightness, "nudBrightness");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudBrightness.Name = "nudBrightness";
|
|
|
|
|
this.nudBrightness.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudBrightness.ValueChanged += new System.EventHandler(this.HSB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudSaturation
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudSaturation, "nudSaturation");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudSaturation.Name = "nudSaturation";
|
|
|
|
|
this.nudSaturation.Value = new decimal(new int[] {
|
|
|
|
|
100,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudSaturation.ValueChanged += new System.EventHandler(this.HSB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// nudHue
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudHue, "nudHue");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudHue.Maximum = new decimal(new int[] {
|
|
|
|
|
360,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudHue.Name = "nudHue";
|
|
|
|
|
this.nudHue.Value = new decimal(new int[] {
|
|
|
|
|
360,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudHue.ValueChanged += new System.EventHandler(this.HSB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbBlue
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbBlue, "rbBlue");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbBlue.Name = "rbBlue";
|
|
|
|
|
this.rbBlue.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbBlue.CheckedChanged += new System.EventHandler(this.rbBlue_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbGreen
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbGreen, "rbGreen");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbGreen.Name = "rbGreen";
|
|
|
|
|
this.rbGreen.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbGreen.CheckedChanged += new System.EventHandler(this.rbGreen_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbRed
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbRed, "rbRed");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbRed.Name = "rbRed";
|
|
|
|
|
this.rbRed.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbRed.CheckedChanged += new System.EventHandler(this.rbRed_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbBrightness
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbBrightness, "rbBrightness");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbBrightness.Name = "rbBrightness";
|
|
|
|
|
this.rbBrightness.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbBrightness.CheckedChanged += new System.EventHandler(this.rbBrightness_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbSaturation
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbSaturation, "rbSaturation");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbSaturation.Name = "rbSaturation";
|
|
|
|
|
this.rbSaturation.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbSaturation.CheckedChanged += new System.EventHandler(this.rbSaturation_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// rbHue
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.rbHue, "rbHue");
|
2016-04-26 06:00:46 +12:00
|
|
|
|
this.rbHue.Checked = true;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.rbHue.Name = "rbHue";
|
|
|
|
|
this.rbHue.TabStop = true;
|
|
|
|
|
this.rbHue.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbHue.CheckedChanged += new System.EventHandler(this.rbHue_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblDecimal
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblDecimal, "lblDecimal");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblDecimal.Name = "lblDecimal";
|
|
|
|
|
//
|
|
|
|
|
// txtDecimal
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.txtDecimal, "txtDecimal");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.txtDecimal.Name = "txtDecimal";
|
|
|
|
|
this.txtDecimal.TextChanged += new System.EventHandler(this.txtDecimal_TextChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblCyanPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblCyanPerc, "lblCyanPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblCyanPerc.Name = "lblCyanPerc";
|
|
|
|
|
//
|
|
|
|
|
// lblMagentaPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblMagentaPerc, "lblMagentaPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblMagentaPerc.Name = "lblMagentaPerc";
|
|
|
|
|
//
|
|
|
|
|
// lblYellowPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblYellowPerc, "lblYellowPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblYellowPerc.Name = "lblYellowPerc";
|
|
|
|
|
//
|
|
|
|
|
// lblKeyPerc
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblKeyPerc, "lblKeyPerc");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblKeyPerc.Name = "lblKeyPerc";
|
|
|
|
|
//
|
|
|
|
|
// nudAlpha
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.nudAlpha, "nudAlpha");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.nudAlpha.Maximum = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudAlpha.Name = "nudAlpha";
|
|
|
|
|
this.nudAlpha.Value = new decimal(new int[] {
|
|
|
|
|
255,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudAlpha.ValueChanged += new System.EventHandler(this.RGB_ValueChanged);
|
|
|
|
|
//
|
|
|
|
|
// lblAlpha
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.lblAlpha, "lblAlpha");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.lblAlpha.Name = "lblAlpha";
|
|
|
|
|
//
|
2018-04-19 04:29:02 +12:00
|
|
|
|
// ttMain
|
|
|
|
|
//
|
|
|
|
|
this.ttMain.AutoPopDelay = 5000;
|
|
|
|
|
this.ttMain.InitialDelay = 100;
|
|
|
|
|
this.ttMain.ReshowDelay = 100;
|
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
// btnScreenColorPicker
|
|
|
|
|
//
|
|
|
|
|
this.btnScreenColorPicker.Image = global::ShareX.HelpersLib.Properties.Resources.pipette;
|
|
|
|
|
resources.ApplyResources(this.btnScreenColorPicker, "btnScreenColorPicker");
|
|
|
|
|
this.btnScreenColorPicker.Name = "btnScreenColorPicker";
|
|
|
|
|
this.ttMain.SetToolTip(this.btnScreenColorPicker, resources.GetString("btnScreenColorPicker.ToolTip"));
|
|
|
|
|
this.btnScreenColorPicker.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnScreenColorPicker.Click += new System.EventHandler(this.btnScreenColorPicker_Click);
|
|
|
|
|
//
|
2020-07-29 00:00:48 +12:00
|
|
|
|
// btnClipboardColorPicker
|
|
|
|
|
//
|
|
|
|
|
this.btnClipboardColorPicker.Image = global::ShareX.HelpersLib.Properties.Resources.clipboard_block;
|
|
|
|
|
resources.ApplyResources(this.btnClipboardColorPicker, "btnClipboardColorPicker");
|
|
|
|
|
this.btnClipboardColorPicker.Name = "btnClipboardColorPicker";
|
|
|
|
|
this.ttMain.SetToolTip(this.btnClipboardColorPicker, resources.GetString("btnClipboardColorPicker.ToolTip"));
|
|
|
|
|
this.btnClipboardColorPicker.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnClipboardColorPicker.Click += new System.EventHandler(this.btnClipboardColorPicker_Click);
|
|
|
|
|
//
|
2023-06-05 10:17:51 +12:00
|
|
|
|
// cbTransparent
|
|
|
|
|
//
|
|
|
|
|
this.cbTransparent.Color = System.Drawing.Color.Transparent;
|
|
|
|
|
this.cbTransparent.ColorPickerOptions = null;
|
|
|
|
|
resources.ApplyResources(this.cbTransparent, "cbTransparent");
|
|
|
|
|
this.cbTransparent.ManualButtonClick = true;
|
|
|
|
|
this.cbTransparent.Name = "cbTransparent";
|
|
|
|
|
this.ttMain.SetToolTip(this.cbTransparent, resources.GetString("cbTransparent.ToolTip"));
|
|
|
|
|
this.cbTransparent.UseVisualStyleBackColor = true;
|
|
|
|
|
this.cbTransparent.Click += new System.EventHandler(this.cbTransparent_Click);
|
|
|
|
|
//
|
2018-04-19 04:29:02 +12:00
|
|
|
|
// cmsCopy
|
|
|
|
|
//
|
|
|
|
|
this.cmsCopy.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.tsmiCopyAll,
|
|
|
|
|
this.tsmiCopyRGB,
|
|
|
|
|
this.tsmiCopyHexadecimal,
|
|
|
|
|
this.tsmiCopyCMYK,
|
|
|
|
|
this.tsmiCopyHSB,
|
|
|
|
|
this.tsmiCopyDecimal,
|
|
|
|
|
this.tsmiCopyPosition});
|
|
|
|
|
this.cmsCopy.Name = "cmsCopy";
|
|
|
|
|
this.cmsCopy.ShowImageMargin = false;
|
|
|
|
|
resources.ApplyResources(this.cmsCopy, "cmsCopy");
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyAll
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyAll.Name = "tsmiCopyAll";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyAll, "tsmiCopyAll");
|
|
|
|
|
this.tsmiCopyAll.Click += new System.EventHandler(this.tsmiCopyAll_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyRGB
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyRGB.Name = "tsmiCopyRGB";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyRGB, "tsmiCopyRGB");
|
|
|
|
|
this.tsmiCopyRGB.Click += new System.EventHandler(this.tsmiCopyRGB_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyHexadecimal
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyHexadecimal.Name = "tsmiCopyHexadecimal";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyHexadecimal, "tsmiCopyHexadecimal");
|
|
|
|
|
this.tsmiCopyHexadecimal.Click += new System.EventHandler(this.tsmiCopyHexadecimal_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyCMYK
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyCMYK.Name = "tsmiCopyCMYK";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyCMYK, "tsmiCopyCMYK");
|
|
|
|
|
this.tsmiCopyCMYK.Click += new System.EventHandler(this.tsmiCopyCMYK_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyHSB
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyHSB.Name = "tsmiCopyHSB";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyHSB, "tsmiCopyHSB");
|
|
|
|
|
this.tsmiCopyHSB.Click += new System.EventHandler(this.tsmiCopyHSB_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyDecimal
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyDecimal.Name = "tsmiCopyDecimal";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyDecimal, "tsmiCopyDecimal");
|
|
|
|
|
this.tsmiCopyDecimal.Click += new System.EventHandler(this.tsmiCopyDecimal_Click);
|
|
|
|
|
//
|
|
|
|
|
// tsmiCopyPosition
|
|
|
|
|
//
|
|
|
|
|
this.tsmiCopyPosition.Name = "tsmiCopyPosition";
|
|
|
|
|
resources.ApplyResources(this.tsmiCopyPosition, "tsmiCopyPosition");
|
|
|
|
|
this.tsmiCopyPosition.Click += new System.EventHandler(this.tsmiCopyPosition_Click);
|
|
|
|
|
//
|
2018-06-03 00:34:52 +12:00
|
|
|
|
// pCursorPosition
|
2018-04-20 06:59:02 +12:00
|
|
|
|
//
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.pCursorPosition.Controls.Add(this.txtY);
|
|
|
|
|
this.pCursorPosition.Controls.Add(this.txtX);
|
|
|
|
|
this.pCursorPosition.Controls.Add(this.lblY);
|
|
|
|
|
this.pCursorPosition.Controls.Add(this.lblX);
|
|
|
|
|
this.pCursorPosition.Controls.Add(this.lblCursorPosition);
|
|
|
|
|
resources.ApplyResources(this.pCursorPosition, "pCursorPosition");
|
|
|
|
|
this.pCursorPosition.Name = "pCursorPosition";
|
2018-04-20 06:59:02 +12:00
|
|
|
|
//
|
2018-04-19 04:29:02 +12:00
|
|
|
|
// txtY
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.txtY, "txtY");
|
|
|
|
|
this.txtY.Name = "txtY";
|
|
|
|
|
this.txtY.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// txtX
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.txtX, "txtX");
|
|
|
|
|
this.txtX.Name = "txtX";
|
|
|
|
|
this.txtX.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// lblY
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.lblY, "lblY");
|
|
|
|
|
this.lblY.Name = "lblY";
|
|
|
|
|
//
|
|
|
|
|
// lblX
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.lblX, "lblX");
|
|
|
|
|
this.lblX.Name = "lblX";
|
|
|
|
|
//
|
|
|
|
|
// lblCursorPosition
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.lblCursorPosition, "lblCursorPosition");
|
|
|
|
|
this.lblCursorPosition.Name = "lblCursorPosition";
|
|
|
|
|
//
|
|
|
|
|
// btnClose
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.btnClose, "btnClose");
|
|
|
|
|
this.btnClose.Name = "btnClose";
|
|
|
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
// flpColorPalette
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
resources.ApplyResources(this.flpColorPalette, "flpColorPalette");
|
|
|
|
|
this.flpColorPalette.Name = "flpColorPalette";
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
// rbRecentColors
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
resources.ApplyResources(this.rbRecentColors, "rbRecentColors");
|
|
|
|
|
this.rbRecentColors.Checked = true;
|
|
|
|
|
this.rbRecentColors.Name = "rbRecentColors";
|
|
|
|
|
this.rbRecentColors.TabStop = true;
|
|
|
|
|
this.rbRecentColors.UseVisualStyleBackColor = true;
|
|
|
|
|
this.rbRecentColors.CheckedChanged += new System.EventHandler(this.rbRecentColors_CheckedChanged);
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
// rbStandardColors
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
resources.ApplyResources(this.rbStandardColors, "rbStandardColors");
|
|
|
|
|
this.rbStandardColors.Name = "rbStandardColors";
|
|
|
|
|
this.rbStandardColors.UseVisualStyleBackColor = true;
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
// flpColorPaletteSelection
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-02-14 05:57:25 +13:00
|
|
|
|
resources.ApplyResources(this.flpColorPaletteSelection, "flpColorPaletteSelection");
|
|
|
|
|
this.flpColorPaletteSelection.Controls.Add(this.rbRecentColors);
|
|
|
|
|
this.flpColorPaletteSelection.Controls.Add(this.rbStandardColors);
|
|
|
|
|
this.flpColorPaletteSelection.Name = "flpColorPaletteSelection";
|
2018-06-03 00:34:52 +12:00
|
|
|
|
//
|
2019-10-04 03:25:58 +13:00
|
|
|
|
// lblName
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.lblName, "lblName");
|
|
|
|
|
this.lblName.Name = "lblName";
|
|
|
|
|
//
|
|
|
|
|
// lblNameValue
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.lblNameValue, "lblNameValue");
|
|
|
|
|
this.lblNameValue.Name = "lblNameValue";
|
|
|
|
|
//
|
2020-07-29 18:59:51 +12:00
|
|
|
|
// btnClipboardStatus
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.btnClipboardStatus, "btnClipboardStatus");
|
|
|
|
|
this.btnClipboardStatus.Image = global::ShareX.HelpersLib.Properties.Resources.tick;
|
|
|
|
|
this.btnClipboardStatus.Name = "btnClipboardStatus";
|
|
|
|
|
this.btnClipboardStatus.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
2018-04-19 04:29:02 +12:00
|
|
|
|
// mbCopy
|
|
|
|
|
//
|
|
|
|
|
resources.ApplyResources(this.mbCopy, "mbCopy");
|
|
|
|
|
this.mbCopy.Menu = this.cmsCopy;
|
|
|
|
|
this.mbCopy.Name = "mbCopy";
|
|
|
|
|
this.mbCopy.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
2013-11-03 23:53:49 +13:00
|
|
|
|
// pbColorPreview
|
|
|
|
|
//
|
2016-05-20 23:43:13 +12:00
|
|
|
|
this.pbColorPreview.BackColor = System.Drawing.SystemColors.Window;
|
2013-11-04 07:48:46 +13:00
|
|
|
|
this.pbColorPreview.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.pbColorPreview.DrawCheckeredBackground = true;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.pbColorPreview, "pbColorPreview");
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.pbColorPreview.Name = "pbColorPreview";
|
2019-10-04 03:25:58 +13:00
|
|
|
|
this.pbColorPreview.PictureBoxBackColor = System.Drawing.SystemColors.Window;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.pbColorPreview.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pbColorPreview_MouseClick);
|
|
|
|
|
//
|
|
|
|
|
// colorPicker
|
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
resources.ApplyResources(this.colorPicker, "colorPicker");
|
2015-01-05 08:53:55 +13:00
|
|
|
|
this.colorPicker.DrawStyle = ShareX.HelpersLib.DrawStyle.Hue;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.colorPicker.Name = "colorPicker";
|
2015-01-05 08:53:55 +13:00
|
|
|
|
this.colorPicker.ColorChanged += new ShareX.HelpersLib.ColorEventHandler(this.colorPicker_ColorChanged);
|
2013-11-03 23:53:49 +13:00
|
|
|
|
//
|
2014-10-05 02:12:40 +13:00
|
|
|
|
// ColorPickerForm
|
2013-11-03 23:53:49 +13:00
|
|
|
|
//
|
2018-04-22 14:50:44 +12:00
|
|
|
|
resources.ApplyResources(this, "$this");
|
2020-07-11 23:01:01 +12:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
2016-04-26 06:00:46 +12:00
|
|
|
|
this.BackColor = System.Drawing.SystemColors.Window;
|
2020-07-29 18:59:51 +12:00
|
|
|
|
this.Controls.Add(this.btnClipboardStatus);
|
2020-07-29 00:00:48 +12:00
|
|
|
|
this.Controls.Add(this.btnClipboardColorPicker);
|
2019-10-04 03:25:58 +13:00
|
|
|
|
this.Controls.Add(this.lblName);
|
|
|
|
|
this.Controls.Add(this.lblNameValue);
|
2019-02-14 05:57:25 +13:00
|
|
|
|
this.Controls.Add(this.flpColorPalette);
|
|
|
|
|
this.Controls.Add(this.flpColorPaletteSelection);
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.Controls.Add(this.btnScreenColorPicker);
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.Controls.Add(this.btnClose);
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.Controls.Add(this.pCursorPosition);
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.Controls.Add(this.mbCopy);
|
2016-09-02 00:06:30 +12:00
|
|
|
|
this.Controls.Add(this.cbTransparent);
|
2016-05-20 23:43:13 +12:00
|
|
|
|
this.Controls.Add(this.nudBlue);
|
|
|
|
|
this.Controls.Add(this.nudGreen);
|
|
|
|
|
this.Controls.Add(this.nudRed);
|
|
|
|
|
this.Controls.Add(this.rbBlue);
|
|
|
|
|
this.Controls.Add(this.rbGreen);
|
|
|
|
|
this.Controls.Add(this.rbRed);
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.Controls.Add(this.pbColorPreview);
|
|
|
|
|
this.Controls.Add(this.lblAlpha);
|
|
|
|
|
this.Controls.Add(this.nudAlpha);
|
|
|
|
|
this.Controls.Add(this.lblKeyPerc);
|
|
|
|
|
this.Controls.Add(this.lblYellowPerc);
|
|
|
|
|
this.Controls.Add(this.lblMagentaPerc);
|
|
|
|
|
this.Controls.Add(this.lblCyanPerc);
|
|
|
|
|
this.Controls.Add(this.txtDecimal);
|
|
|
|
|
this.Controls.Add(this.lblDecimal);
|
|
|
|
|
this.Controls.Add(this.colorPicker);
|
|
|
|
|
this.Controls.Add(this.btnCancel);
|
|
|
|
|
this.Controls.Add(this.btnOK);
|
|
|
|
|
this.Controls.Add(this.lblOld);
|
|
|
|
|
this.Controls.Add(this.lblNew);
|
|
|
|
|
this.Controls.Add(this.txtHex);
|
|
|
|
|
this.Controls.Add(this.lblHex);
|
|
|
|
|
this.Controls.Add(this.nudKey);
|
|
|
|
|
this.Controls.Add(this.nudYellow);
|
|
|
|
|
this.Controls.Add(this.nudMagenta);
|
|
|
|
|
this.Controls.Add(this.nudCyan);
|
|
|
|
|
this.Controls.Add(this.lblKey);
|
|
|
|
|
this.Controls.Add(this.lblYellow);
|
|
|
|
|
this.Controls.Add(this.lblMagenta);
|
|
|
|
|
this.Controls.Add(this.lblCyan);
|
|
|
|
|
this.Controls.Add(this.lblHue);
|
|
|
|
|
this.Controls.Add(this.lblBrightnessPerc);
|
|
|
|
|
this.Controls.Add(this.lblSaturationPerc);
|
|
|
|
|
this.Controls.Add(this.nudBrightness);
|
|
|
|
|
this.Controls.Add(this.nudSaturation);
|
|
|
|
|
this.Controls.Add(this.nudHue);
|
|
|
|
|
this.Controls.Add(this.rbBrightness);
|
|
|
|
|
this.Controls.Add(this.rbSaturation);
|
|
|
|
|
this.Controls.Add(this.rbHue);
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
|
|
this.MaximizeBox = false;
|
2014-10-05 02:12:40 +13:00
|
|
|
|
this.Name = "ColorPickerForm";
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
2018-04-24 19:15:19 +12:00
|
|
|
|
this.Shown += new System.EventHandler(this.ColorPickerForm_Shown);
|
2013-11-03 23:53:49 +13:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudKey)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudYellow)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMagenta)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCyan)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudBlue)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudGreen)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudRed)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudBrightness)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSaturation)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudHue)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudAlpha)).EndInit();
|
2018-04-19 04:29:02 +12:00
|
|
|
|
this.cmsCopy.ResumeLayout(false);
|
2018-06-03 00:34:52 +12:00
|
|
|
|
this.pCursorPosition.ResumeLayout(false);
|
|
|
|
|
this.pCursorPosition.PerformLayout();
|
2019-02-14 05:57:25 +13:00
|
|
|
|
this.flpColorPaletteSelection.ResumeLayout(false);
|
|
|
|
|
this.flpColorPaletteSelection.PerformLayout();
|
2013-11-03 23:53:49 +13:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Label lblOld;
|
|
|
|
|
private System.Windows.Forms.Label lblNew;
|
|
|
|
|
private System.Windows.Forms.Label lblHex;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudKey;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudYellow;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudMagenta;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudCyan;
|
|
|
|
|
private System.Windows.Forms.Label lblKey;
|
|
|
|
|
private System.Windows.Forms.Label lblYellow;
|
|
|
|
|
private System.Windows.Forms.Label lblMagenta;
|
|
|
|
|
private System.Windows.Forms.Label lblCyan;
|
|
|
|
|
private System.Windows.Forms.Label lblHue;
|
|
|
|
|
private System.Windows.Forms.Label lblBrightnessPerc;
|
|
|
|
|
private System.Windows.Forms.Label lblSaturationPerc;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudBlue;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudGreen;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudRed;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudBrightness;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudSaturation;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudHue;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbBlue;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbGreen;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbRed;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbBrightness;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbSaturation;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbHue;
|
|
|
|
|
private System.Windows.Forms.Label lblDecimal;
|
|
|
|
|
private System.Windows.Forms.TextBox txtDecimal;
|
|
|
|
|
private System.Windows.Forms.Label lblCyanPerc;
|
|
|
|
|
private System.Windows.Forms.Label lblMagentaPerc;
|
|
|
|
|
private System.Windows.Forms.Label lblYellowPerc;
|
|
|
|
|
private System.Windows.Forms.Label lblKeyPerc;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudAlpha;
|
|
|
|
|
private System.Windows.Forms.Label lblAlpha;
|
|
|
|
|
private MyPictureBox pbColorPreview;
|
|
|
|
|
protected ColorPicker colorPicker;
|
|
|
|
|
protected System.Windows.Forms.TextBox txtHex;
|
2014-08-06 08:52:51 +12:00
|
|
|
|
protected System.Windows.Forms.Button btnCancel;
|
|
|
|
|
protected System.Windows.Forms.Button btnOK;
|
2016-09-02 00:06:30 +12:00
|
|
|
|
private ColorButton cbTransparent;
|
|
|
|
|
private System.Windows.Forms.ToolTip ttMain;
|
2018-04-19 04:29:02 +12:00
|
|
|
|
private MenuButton mbCopy;
|
|
|
|
|
private System.Windows.Forms.ContextMenuStrip cmsCopy;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyAll;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyRGB;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyHexadecimal;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyCMYK;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyHSB;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyDecimal;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiCopyPosition;
|
2018-06-03 00:34:52 +12:00
|
|
|
|
private System.Windows.Forms.Panel pCursorPosition;
|
2018-04-19 04:29:02 +12:00
|
|
|
|
private System.Windows.Forms.Label lblCursorPosition;
|
|
|
|
|
private System.Windows.Forms.Label lblX;
|
|
|
|
|
private System.Windows.Forms.Label lblY;
|
|
|
|
|
private System.Windows.Forms.TextBox txtX;
|
|
|
|
|
private System.Windows.Forms.TextBox txtY;
|
|
|
|
|
private System.Windows.Forms.Button btnClose;
|
2019-02-14 05:57:25 +13:00
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flpColorPalette;
|
2018-06-03 00:34:52 +12:00
|
|
|
|
private System.Windows.Forms.Button btnScreenColorPicker;
|
2019-02-14 05:57:25 +13:00
|
|
|
|
private System.Windows.Forms.RadioButton rbRecentColors;
|
|
|
|
|
private System.Windows.Forms.RadioButton rbStandardColors;
|
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flpColorPaletteSelection;
|
2019-10-04 03:25:58 +13:00
|
|
|
|
private System.Windows.Forms.Label lblName;
|
|
|
|
|
private System.Windows.Forms.Label lblNameValue;
|
2020-07-29 00:00:48 +12:00
|
|
|
|
private System.Windows.Forms.Button btnClipboardColorPicker;
|
2020-07-29 18:59:51 +12:00
|
|
|
|
private System.Windows.Forms.Button btnClipboardStatus;
|
2013-11-03 23:53:49 +13:00
|
|
|
|
}
|
|
|
|
|
}
|