コード例 #1
0
 private void InitializeComponent()
 {
     this.kryptonPanel2          = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOptions            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kcbBaseColour          = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kbtnDefineOtherColours = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnUtiliseAsBaseColour = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnGenerateColour      = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnGenerate            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.panel1                       = new System.Windows.Forms.Panel();
     this.kryptonPanel1                = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kryptonAlphaTrackBar1        = new ExtendedColourControls.KryptonAlphaTrackBar();
     this.kryptonRedTrackBar1          = new ExtendedColourControls.KryptonRedTrackBar();
     this.kryptonGreenTrackBar1        = new ExtendedColourControls.KryptonGreenTrackBar();
     this.kryptonBlueTrackBar1         = new ExtendedColourControls.KryptonBlueTrackBar();
     this.alphaValueNumericBox1        = new ExtendedColourControls.KryptonAlphaValueNumericBox();
     this.kryptonAlphaValueLabel1      = new ExtendedColourControls.Controls.Labels.KryptonAlphaValueLabel();
     this.kryptonBlueValueLabel1       = new ExtendedColourControls.Controls.Labels.KryptonBlueValueLabel();
     this.kryptonGreenValueLabel1      = new ExtendedColourControls.Controls.Labels.KryptonGreenValueLabel();
     this.kryptonRedValueLabel1        = new ExtendedColourControls.Controls.Labels.KryptonRedValueLabel();
     this.kryptonRedValueNumericBox1   = new ExtendedColourControls.KryptonRedValueNumericBox();
     this.kryptonGreenValueNumericBox1 = new ExtendedColourControls.KryptonGreenValueNumericBox();
     this.kryptonBlueValueNumericBox1  = new ExtendedColourControls.KryptonBlueValueNumericBox();
     this.circularPictureBox1          = new KryptonToolkitSuiteExtendedCore.CircularPictureBox();
     this.kbtnGenerateBlueValue        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnGenerateGreenValue       = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnGenerateRedValue         = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.circularPictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kbtnOptions);
     this.kryptonPanel2.Controls.Add(this.kcbBaseColour);
     this.kryptonPanel2.Controls.Add(this.kbtnDefineOtherColours);
     this.kryptonPanel2.Controls.Add(this.kbtnOk);
     this.kryptonPanel2.Controls.Add(this.kbtnUtiliseAsBaseColour);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerateColour);
     this.kryptonPanel2.Controls.Add(this.kbtnGenerate);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 223);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(1208, 45);
     this.kryptonPanel2.TabIndex = 2;
     //
     // kbtnOptions
     //
     this.kbtnOptions.AutoSize     = true;
     this.kbtnOptions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOptions.Location     = new System.Drawing.Point(711, 6);
     this.kbtnOptions.Name         = "kbtnOptions";
     this.kbtnOptions.Size         = new System.Drawing.Size(69, 30);
     this.kbtnOptions.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOptions.TabIndex    = 77;
     this.kbtnOptions.Values.Text = "&Options";
     //
     // kcbBaseColour
     //
     this.kcbBaseColour.AutoSize     = true;
     this.kcbBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kcbBaseColour.Location     = new System.Drawing.Point(506, 6);
     this.kcbBaseColour.Name         = "kcbBaseColour";
     this.kcbBaseColour.Size         = new System.Drawing.Size(199, 30);
     this.kcbBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbBaseColour.TabIndex    = 76;
     this.kcbBaseColour.Values.Text = "&Choose a Base Colour";
     //
     // kbtnDefineOtherColours
     //
     this.kbtnDefineOtherColours.AutoSize     = true;
     this.kbtnDefineOtherColours.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnDefineOtherColours.Location     = new System.Drawing.Point(335, 6);
     this.kbtnDefineOtherColours.Name         = "kbtnDefineOtherColours";
     this.kbtnDefineOtherColours.Size         = new System.Drawing.Size(165, 30);
     this.kbtnDefineOtherColours.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnDefineOtherColours.TabIndex    = 63;
     this.kbtnDefineOtherColours.Values.Text = "Define Other &Colours";
     //
     // kbtnOk
     //
     this.kbtnOk.AutoSize     = true;
     this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnOk.Location     = new System.Drawing.Point(1160, 6);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(32, 30);
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 60;
     this.kbtnOk.Values.Text = "O&k";
     //
     // kbtnUtiliseAsBaseColour
     //
     this.kbtnUtiliseAsBaseColour.AutoSize     = true;
     this.kbtnUtiliseAsBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnUtiliseAsBaseColour.Location     = new System.Drawing.Point(12, 6);
     this.kbtnUtiliseAsBaseColour.Name         = "kbtnUtiliseAsBaseColour";
     this.kbtnUtiliseAsBaseColour.Size         = new System.Drawing.Size(167, 30);
     this.kbtnUtiliseAsBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnUtiliseAsBaseColour.TabIndex    = 15;
     this.kbtnUtiliseAsBaseColour.Values.Text = "Utilise as Base &Colour";
     //
     // kbtnGenerateColour
     //
     this.kbtnGenerateColour.AutoSize     = true;
     this.kbtnGenerateColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateColour.Location     = new System.Drawing.Point(506, 6);
     this.kbtnGenerateColour.Name         = "kbtnGenerateColour";
     this.kbtnGenerateColour.Size         = new System.Drawing.Size(197, 30);
     this.kbtnGenerateColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateColour.TabIndex    = 29;
     this.kbtnGenerateColour.Values.Text = "Generate Random &Colour";
     this.kbtnGenerateColour.Visible     = false;
     //
     // kbtnGenerate
     //
     this.kbtnGenerate.AutoSize     = true;
     this.kbtnGenerate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerate.Location     = new System.Drawing.Point(185, 6);
     this.kbtnGenerate.Name         = "kbtnGenerate";
     this.kbtnGenerate.Size         = new System.Drawing.Size(144, 30);
     this.kbtnGenerate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerate.TabIndex    = 16;
     this.kbtnGenerate.Values.Text = "Gener&ate a Colour";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 221);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1208, 2);
     this.panel1.TabIndex  = 3;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnGenerateBlueValue);
     this.kryptonPanel1.Controls.Add(this.kbtnGenerateGreenValue);
     this.kryptonPanel1.Controls.Add(this.kryptonBlueValueNumericBox1);
     this.kryptonPanel1.Controls.Add(this.kbtnGenerateRedValue);
     this.kryptonPanel1.Controls.Add(this.kryptonGreenValueNumericBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonRedValueNumericBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonAlphaTrackBar1);
     this.kryptonPanel1.Controls.Add(this.kryptonRedTrackBar1);
     this.kryptonPanel1.Controls.Add(this.kryptonGreenTrackBar1);
     this.kryptonPanel1.Controls.Add(this.kryptonBlueTrackBar1);
     this.kryptonPanel1.Controls.Add(this.alphaValueNumericBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonAlphaValueLabel1);
     this.kryptonPanel1.Controls.Add(this.circularPictureBox1);
     this.kryptonPanel1.Controls.Add(this.kryptonBlueValueLabel1);
     this.kryptonPanel1.Controls.Add(this.kryptonGreenValueLabel1);
     this.kryptonPanel1.Controls.Add(this.kryptonRedValueLabel1);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1208, 221);
     this.kryptonPanel1.TabIndex = 4;
     //
     // kryptonAlphaTrackBar1
     //
     this.kryptonAlphaTrackBar1.DrawBackground = true;
     this.kryptonAlphaTrackBar1.Location       = new System.Drawing.Point(420, 15);
     this.kryptonAlphaTrackBar1.Maximum        = 255;
     this.kryptonAlphaTrackBar1.Name           = "kryptonAlphaTrackBar1";
     this.kryptonAlphaTrackBar1.Size           = new System.Drawing.Size(635, 21);
     this.kryptonAlphaTrackBar1.TabIndex       = 8;
     this.kryptonAlphaTrackBar1.TickStyle      = System.Windows.Forms.TickStyle.None;
     //
     // kryptonRedTrackBar1
     //
     this.kryptonRedTrackBar1.DrawBackground           = true;
     this.kryptonRedTrackBar1.Location                 = new System.Drawing.Point(420, 70);
     this.kryptonRedTrackBar1.Maximum                  = 255;
     this.kryptonRedTrackBar1.Name                     = "kryptonRedTrackBar1";
     this.kryptonRedTrackBar1.Size                     = new System.Drawing.Size(635, 21);
     this.kryptonRedTrackBar1.StateCommon.Tick.Color1  = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.StateCommon.Track.Color1 = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.StateCommon.Track.Color2 = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.StateCommon.Track.Color3 = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.StateCommon.Track.Color4 = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.StateCommon.Track.Color5 = System.Drawing.Color.Red;
     this.kryptonRedTrackBar1.TabIndex                 = 9;
     this.kryptonRedTrackBar1.TickStyle                = System.Windows.Forms.TickStyle.None;
     //
     // kryptonGreenTrackBar1
     //
     this.kryptonGreenTrackBar1.DrawBackground           = true;
     this.kryptonGreenTrackBar1.Location                 = new System.Drawing.Point(420, 127);
     this.kryptonGreenTrackBar1.Maximum                  = 255;
     this.kryptonGreenTrackBar1.Name                     = "kryptonGreenTrackBar1";
     this.kryptonGreenTrackBar1.Size                     = new System.Drawing.Size(635, 21);
     this.kryptonGreenTrackBar1.StateCommon.Tick.Color1  = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.StateCommon.Track.Color1 = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.StateCommon.Track.Color2 = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.StateCommon.Track.Color3 = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.StateCommon.Track.Color4 = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.StateCommon.Track.Color5 = System.Drawing.Color.Green;
     this.kryptonGreenTrackBar1.TabIndex                 = 10;
     this.kryptonGreenTrackBar1.TickStyle                = System.Windows.Forms.TickStyle.None;
     //
     // kryptonBlueTrackBar1
     //
     this.kryptonBlueTrackBar1.DrawBackground           = true;
     this.kryptonBlueTrackBar1.Location                 = new System.Drawing.Point(420, 184);
     this.kryptonBlueTrackBar1.Maximum                  = 255;
     this.kryptonBlueTrackBar1.Name                     = "kryptonBlueTrackBar1";
     this.kryptonBlueTrackBar1.Size                     = new System.Drawing.Size(635, 21);
     this.kryptonBlueTrackBar1.StateCommon.Tick.Color1  = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.StateCommon.Track.Color1 = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.StateCommon.Track.Color2 = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.StateCommon.Track.Color3 = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.StateCommon.Track.Color4 = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.StateCommon.Track.Color5 = System.Drawing.Color.Blue;
     this.kryptonBlueTrackBar1.TabIndex                 = 11;
     this.kryptonBlueTrackBar1.TickStyle                = System.Windows.Forms.TickStyle.None;
     //
     // alphaValueNumericBox1
     //
     this.alphaValueNumericBox1.Location = new System.Drawing.Point(335, 12);
     this.alphaValueNumericBox1.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.alphaValueNumericBox1.Name = "alphaValueNumericBox1";
     this.alphaValueNumericBox1.Size = new System.Drawing.Size(79, 26);
     this.alphaValueNumericBox1.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.alphaValueNumericBox1.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.alphaValueNumericBox1.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 11F);
     this.alphaValueNumericBox1.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.alphaValueNumericBox1.TabIndex = 5;
     //
     // kryptonAlphaValueLabel1
     //
     this.kryptonAlphaValueLabel1.AlphaValue = 255;
     this.kryptonAlphaValueLabel1.Location   = new System.Drawing.Point(267, 12);
     this.kryptonAlphaValueLabel1.Name       = "kryptonAlphaValueLabel1";
     this.kryptonAlphaValueLabel1.Size       = new System.Drawing.Size(62, 26);
     this.kryptonAlphaValueLabel1.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonAlphaValueLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonAlphaValueLabel1.TabIndex    = 6;
     this.kryptonAlphaValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonAlphaValueLabel1.Values.Text = "Alpha:";
     //
     // kryptonBlueValueLabel1
     //
     this.kryptonBlueValueLabel1.Location = new System.Drawing.Point(279, 180);
     this.kryptonBlueValueLabel1.Name     = "kryptonBlueValueLabel1";
     this.kryptonBlueValueLabel1.RedValue = 255;
     this.kryptonBlueValueLabel1.Size     = new System.Drawing.Size(50, 26);
     this.kryptonBlueValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue;
     this.kryptonBlueValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.TabIndex    = 7;
     this.kryptonBlueValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.Values.Text = "Blue:";
     //
     // kryptonGreenValueLabel1
     //
     this.kryptonGreenValueLabel1.Location = new System.Drawing.Point(267, 124);
     this.kryptonGreenValueLabel1.Name     = "kryptonGreenValueLabel1";
     this.kryptonGreenValueLabel1.RedValue = 255;
     this.kryptonGreenValueLabel1.Size     = new System.Drawing.Size(62, 26);
     this.kryptonGreenValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Green;
     this.kryptonGreenValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.TabIndex    = 6;
     this.kryptonGreenValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.Values.Text = "Green:";
     //
     // kryptonRedValueLabel1
     //
     this.kryptonRedValueLabel1.Location = new System.Drawing.Point(283, 68);
     this.kryptonRedValueLabel1.Name     = "kryptonRedValueLabel1";
     this.kryptonRedValueLabel1.RedValue = 255;
     this.kryptonRedValueLabel1.Size     = new System.Drawing.Size(46, 26);
     this.kryptonRedValueLabel1.StateCommon.LongText.Color1  = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.LongText.Color2  = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.StateCommon.ShortText.Color1 = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.ShortText.Color2 = System.Drawing.Color.Red;
     this.kryptonRedValueLabel1.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.TabIndex    = 5;
     this.kryptonRedValueLabel1.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.Values.Text = "Red:";
     //
     // kryptonRedValueNumericBox1
     //
     this.kryptonRedValueNumericBox1.Location = new System.Drawing.Point(335, 68);
     this.kryptonRedValueNumericBox1.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.kryptonRedValueNumericBox1.Name = "kryptonRedValueNumericBox1";
     this.kryptonRedValueNumericBox1.Size = new System.Drawing.Size(79, 26);
     this.kryptonRedValueNumericBox1.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.kryptonRedValueNumericBox1.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.kryptonRedValueNumericBox1.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 11F);
     this.kryptonRedValueNumericBox1.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.kryptonRedValueNumericBox1.TabIndex = 5;
     //
     // kryptonGreenValueNumericBox1
     //
     this.kryptonGreenValueNumericBox1.Location = new System.Drawing.Point(335, 124);
     this.kryptonGreenValueNumericBox1.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.kryptonGreenValueNumericBox1.Name = "kryptonGreenValueNumericBox1";
     this.kryptonGreenValueNumericBox1.Size = new System.Drawing.Size(79, 26);
     this.kryptonGreenValueNumericBox1.StateCommon.Back.Color1    = System.Drawing.Color.Green;
     this.kryptonGreenValueNumericBox1.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.kryptonGreenValueNumericBox1.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 11F);
     this.kryptonGreenValueNumericBox1.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.kryptonGreenValueNumericBox1.TabIndex = 5;
     //
     // kryptonBlueValueNumericBox1
     //
     this.kryptonBlueValueNumericBox1.Location = new System.Drawing.Point(335, 180);
     this.kryptonBlueValueNumericBox1.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.kryptonBlueValueNumericBox1.Name = "kryptonBlueValueNumericBox1";
     this.kryptonBlueValueNumericBox1.Size = new System.Drawing.Size(79, 26);
     this.kryptonBlueValueNumericBox1.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.kryptonBlueValueNumericBox1.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.kryptonBlueValueNumericBox1.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 11F);
     this.kryptonBlueValueNumericBox1.StateCommon.Content.TextH  = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.kryptonBlueValueNumericBox1.TabIndex = 5;
     //
     // circularPictureBox1
     //
     this.circularPictureBox1.BackColor = System.Drawing.SystemColors.Control;
     this.circularPictureBox1.Location  = new System.Drawing.Point(12, 12);
     this.circularPictureBox1.Name      = "circularPictureBox1";
     this.circularPictureBox1.Size      = new System.Drawing.Size(206, 195);
     this.circularPictureBox1.TabIndex  = 5;
     this.circularPictureBox1.TabStop   = false;
     //
     // kbtnGenerateBlueValue
     //
     this.kbtnGenerateBlueValue.AutoSize = true;
     this.kbtnGenerateBlueValue.Location = new System.Drawing.Point(1070, 180);
     this.kbtnGenerateBlueValue.Name     = "kbtnGenerateBlueValue";
     this.kbtnGenerateBlueValue.Size     = new System.Drawing.Size(126, 30);
     this.kbtnGenerateBlueValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateBlueValue.TabIndex    = 31;
     this.kbtnGenerateBlueValue.Values.Text = "Generate &Blue";
     //
     // kbtnGenerateGreenValue
     //
     this.kbtnGenerateGreenValue.AutoSize     = true;
     this.kbtnGenerateGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateGreenValue.Location     = new System.Drawing.Point(1070, 120);
     this.kbtnGenerateGreenValue.Name         = "kbtnGenerateGreenValue";
     this.kbtnGenerateGreenValue.Size         = new System.Drawing.Size(126, 30);
     this.kbtnGenerateGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateGreenValue.TabIndex    = 30;
     this.kbtnGenerateGreenValue.Values.Text = "Generate &Green";
     //
     // kbtnGenerateRedValue
     //
     this.kbtnGenerateRedValue.AutoSize = true;
     this.kbtnGenerateRedValue.Location = new System.Drawing.Point(1070, 64);
     this.kbtnGenerateRedValue.Name     = "kbtnGenerateRedValue";
     this.kbtnGenerateRedValue.Size     = new System.Drawing.Size(126, 30);
     this.kbtnGenerateRedValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateRedValue.TabIndex    = 29;
     this.kbtnGenerateRedValue.Values.Text = "Generate &Red";
     //
     // KryptonPaletteColourMixerBasic
     //
     this.ClientSize = new System.Drawing.Size(1208, 268);
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonPaletteColourMixerBasic";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.circularPictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 private void InitializeComponent()
 {
     this.kryptonPanel1     = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnOk            = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCancel        = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2     = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.panel1            = new System.Windows.Forms.Panel();
     this.cwColourSelector  = new ExtendedColourControls.ColourWheel();
     this.krvlRed           = new ExtendedColourControls.Controls.Labels.KryptonRedValueLabel();
     this.kgvlGreen         = new ExtendedColourControls.Controls.Labels.KryptonGreenValueLabel();
     this.kbvlBlue          = new ExtendedColourControls.Controls.Labels.KryptonBlueValueLabel();
     this.cpbSelectedColour = new KryptonToolkitSuiteExtendedCore.CircularPictureBox();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbSelectedColour)).BeginInit();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnOk);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 433);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(767, 48);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnOk
     //
     this.kbtnOk.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kbtnOk.Location     = new System.Drawing.Point(561, 8);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.Size         = new System.Drawing.Size(94, 28);
     this.kbtnOk.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 1;
     this.kbtnOk.Values.Text = "&Ok";
     this.kbtnOk.Click      += new System.EventHandler(this.KbtnOk_Click);
     //
     // kbtnCancel
     //
     this.kbtnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(661, 8);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(94, 28);
     this.kbtnCancel.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 0;
     this.kbtnCancel.Values.Text = "C&ancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.KbtnCancel_Click);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.cpbSelectedColour);
     this.kryptonPanel2.Controls.Add(this.kbvlBlue);
     this.kryptonPanel2.Controls.Add(this.kgvlGreen);
     this.kryptonPanel2.Controls.Add(this.krvlRed);
     this.kryptonPanel2.Controls.Add(this.cwColourSelector);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 0);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(767, 433);
     this.kryptonPanel2.TabIndex = 1;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 430);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(767, 3);
     this.panel1.TabIndex  = 2;
     //
     // cwColourSelector
     //
     this.cwColourSelector.BackColor      = System.Drawing.Color.Transparent;
     this.cwColourSelector.Location       = new System.Drawing.Point(12, 12);
     this.cwColourSelector.Name           = "cwColourSelector";
     this.cwColourSelector.Size           = new System.Drawing.Size(337, 352);
     this.cwColourSelector.TabIndex       = 3;
     this.cwColourSelector.ColourChanged += new System.EventHandler(this.CwColourSelector_ColourChanged);
     //
     // krvlRed
     //
     this.krvlRed.Location = new System.Drawing.Point(150, 384);
     this.krvlRed.Name     = "krvlRed";
     this.krvlRed.RedValue = 255;
     this.krvlRed.Size     = new System.Drawing.Size(94, 26);
     this.krvlRed.StateCommon.LongText.Color1  = System.Drawing.Color.Red;
     this.krvlRed.StateCommon.LongText.Color2  = System.Drawing.Color.Red;
     this.krvlRed.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.krvlRed.StateCommon.ShortText.Color1 = System.Drawing.Color.Red;
     this.krvlRed.StateCommon.ShortText.Color2 = System.Drawing.Color.Red;
     this.krvlRed.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.krvlRed.TabIndex    = 3;
     this.krvlRed.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.krvlRed.Values.Text = "Red Value: ";
     //
     // kgvlGreen
     //
     this.kgvlGreen.Location = new System.Drawing.Point(319, 384);
     this.kgvlGreen.Name     = "kgvlGreen";
     this.kgvlGreen.RedValue = 255;
     this.kgvlGreen.Size     = new System.Drawing.Size(110, 26);
     this.kgvlGreen.StateCommon.LongText.Color1  = System.Drawing.Color.Green;
     this.kgvlGreen.StateCommon.LongText.Color2  = System.Drawing.Color.Green;
     this.kgvlGreen.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kgvlGreen.StateCommon.ShortText.Color1 = System.Drawing.Color.Green;
     this.kgvlGreen.StateCommon.ShortText.Color2 = System.Drawing.Color.Green;
     this.kgvlGreen.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kgvlGreen.TabIndex    = 4;
     this.kgvlGreen.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kgvlGreen.Values.Text = "Green Value: ";
     //
     // kbvlBlue
     //
     this.kbvlBlue.Location = new System.Drawing.Point(504, 384);
     this.kbvlBlue.Name     = "kbvlBlue";
     this.kbvlBlue.RedValue = 255;
     this.kbvlBlue.Size     = new System.Drawing.Size(98, 26);
     this.kbvlBlue.StateCommon.LongText.Color1  = System.Drawing.Color.Blue;
     this.kbvlBlue.StateCommon.LongText.Color2  = System.Drawing.Color.Blue;
     this.kbvlBlue.StateCommon.LongText.Font    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kbvlBlue.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue;
     this.kbvlBlue.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue;
     this.kbvlBlue.StateCommon.ShortText.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kbvlBlue.TabIndex    = 3;
     this.kbvlBlue.TextSize    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kbvlBlue.Values.Text = "Blue Value: ";
     //
     // cpbSelectedColour
     //
     this.cpbSelectedColour.BackColor   = System.Drawing.SystemColors.Control;
     this.cpbSelectedColour.Location    = new System.Drawing.Point(410, 12);
     this.cpbSelectedColour.Name        = "cpbSelectedColour";
     this.cpbSelectedColour.Size        = new System.Drawing.Size(337, 352);
     this.cpbSelectedColour.TabIndex    = 5;
     this.cpbSelectedColour.TabStop     = false;
     this.cpbSelectedColour.MouseEnter += new System.EventHandler(this.CpbSelectedColour_MouseEnter);
     //
     // KryptonBasicColourDialog
     //
     this.ClientSize = new System.Drawing.Size(767, 481);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonBasicColourDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Load           += new System.EventHandler(this.KryptonBasicColourDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbSelectedColour)).EndInit();
     this.ResumeLayout(false);
 }