예제 #1
0
        /// <summary>
        /// Initialize a new instance of the KryptonColorButtonActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonColorButtonActionList(KryptonColorButtonDesigner owner)
            : base(owner.Component)
        {
            // Remember the button instance
            _colorButton = owner.Component as KryptonColorButton;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
예제 #2
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);
 }
 public KryptonColorButtonProxy(KryptonColorButton comboBox)
 {
     _colorButton = comboBox;
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsWindow));
     this.kMan                         = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components);
     this.kryptonPalette1              = new ComponentFactory.Krypton.Toolkit.KryptonPalette(this.components);
     this.kryptonPanel1                = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.kbtnCancel                   = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ksbApply                     = new KryptonExtendedToolkit.ExtendedToolkit.Controls.KryptonUACElevatedButton();
     this.kryptonPanel2                = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.knOptions                    = new ComponentFactory.Krypton.Navigator.KryptonNavigator();
     this.kpGeneral                    = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kpTheme                      = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kryptonGroupBox1             = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox();
     this.kbtnLoadTheme                = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.kbtnCustomThemeFileBrowse    = new ComponentFactory.Krypton.Toolkit.KryptonButton();
     this.ktxtCustomThemePath          = new ComponentFactory.Krypton.Toolkit.KryptonTextBox();
     this.klblCustomThemeFilePath      = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kcbTheme                     = new ComponentFactory.Krypton.Toolkit.KryptonComboBox();
     this.kryptonLabel1                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonPage1                 = new ComponentFactory.Krypton.Navigator.KryptonPage();
     this.kcbTest                      = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.klblMediumColourFloatValue   = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblLightColourFloatValue    = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblDarkColourFloatValue     = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.klblLightestColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.knumDarkValue                = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumMediumValue              = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumLightValue               = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.knumLightestValue            = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown();
     this.cbxLightestColour            = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxLightColour               = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxMediumColour              = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.cbxDarkColour                = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox();
     this.kryptonLabel7                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel5                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel4                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel2                = new ComponentFactory.Krypton.Toolkit.KryptonLabel();
     this.panel1                       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.knOptions)).BeginInit();
     this.knOptions.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).BeginInit();
     this.kpTheme.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit();
     this.kryptonGroupBox1.Panel.SuspendLayout();
     this.kryptonGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).BeginInit();
     this.kryptonPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).BeginInit();
     this.SuspendLayout();
     //
     // kMan
     //
     this.kMan.GlobalPaletteMode = ComponentFactory.Krypton.Toolkit.PaletteModeManager.Office2007Blue;
     //
     // kryptonPalette1
     //
     this.kryptonPalette1.CustomisedKryptonPaletteFilePath = null;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Controls.Add(this.ksbApply);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 797);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(906, 55);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnCancel
     //
     this.kbtnCancel.AutoSize     = true;
     this.kbtnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnCancel.Location     = new System.Drawing.Point(757, 13);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(60, 30);
     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    = 1;
     this.kbtnCancel.Values.Text = "Can&cel";
     //
     // ksbApply
     //
     this.ksbApply.AutoSize     = true;
     this.ksbApply.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ksbApply.Enabled      = false;
     this.ksbApply.Location     = new System.Drawing.Point(823, 13);
     this.ksbApply.Name         = "ksbApply";
     this.ksbApply.Size         = new System.Drawing.Size(71, 30);
     this.ksbApply.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ksbApply.TabIndex     = 0;
     this.ksbApply.Values.Image = ((System.Drawing.Image)(resources.GetObject("ksbApply.Values.Image")));
     this.ksbApply.Values.Text  = "&Apply";
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.knOptions);
     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(906, 797);
     this.kryptonPanel2.TabIndex = 1;
     //
     // knOptions
     //
     this.knOptions.Button.CloseButtonAction  = ComponentFactory.Krypton.Navigator.CloseButtonAction.None;
     this.knOptions.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide;
     this.knOptions.Location = new System.Drawing.Point(12, 12);
     this.knOptions.Name     = "knOptions";
     this.knOptions.Pages.AddRange(new ComponentFactory.Krypton.Navigator.KryptonPage[] {
         this.kpGeneral,
         this.kpTheme,
         this.kryptonPage1
     });
     this.knOptions.SelectedIndex = 0;
     this.knOptions.Size          = new System.Drawing.Size(882, 776);
     this.knOptions.StateCommon.Tab.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knOptions.TabIndex = 0;
     this.knOptions.Text     = "kryptonNavigator1";
     //
     // kpGeneral
     //
     this.kpGeneral.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kpGeneral.Flags          = 65534;
     this.kpGeneral.LastVisibleSet = true;
     this.kpGeneral.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kpGeneral.Name           = "kpGeneral";
     this.kpGeneral.Size           = new System.Drawing.Size(880, 745);
     this.kpGeneral.Text           = "General";
     this.kpGeneral.ToolTipTitle   = "Page ToolTip";
     this.kpGeneral.UniqueName     = "8CF4DE8AD8A6433C038CBF6707BB28B6";
     //
     // kpTheme
     //
     this.kpTheme.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kpTheme.Controls.Add(this.kryptonGroupBox1);
     this.kpTheme.Flags          = 65534;
     this.kpTheme.LastVisibleSet = true;
     this.kpTheme.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kpTheme.Name           = "kpTheme";
     this.kpTheme.Size           = new System.Drawing.Size(880, 745);
     this.kpTheme.Text           = "Theme";
     this.kpTheme.ToolTipTitle   = "Page ToolTip";
     this.kpTheme.UniqueName     = "A80439CDD42845E10BA62B98A827DD36";
     //
     // kryptonGroupBox1
     //
     this.kryptonGroupBox1.Location = new System.Drawing.Point(20, 16);
     this.kryptonGroupBox1.Name     = "kryptonGroupBox1";
     //
     // kryptonGroupBox1.Panel
     //
     this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnLoadTheme);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnCustomThemeFileBrowse);
     this.kryptonGroupBox1.Panel.Controls.Add(this.ktxtCustomThemePath);
     this.kryptonGroupBox1.Panel.Controls.Add(this.klblCustomThemeFilePath);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kcbTheme);
     this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel1);
     this.kryptonGroupBox1.Size = new System.Drawing.Size(840, 169);
     this.kryptonGroupBox1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonGroupBox1.TabIndex       = 0;
     this.kryptonGroupBox1.Values.Heading = "Theme Selector";
     //
     // kbtnLoadTheme
     //
     this.kbtnLoadTheme.AutoSize     = true;
     this.kbtnLoadTheme.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnLoadTheme.Enabled      = false;
     this.kbtnLoadTheme.Location     = new System.Drawing.Point(668, 97);
     this.kbtnLoadTheme.Name         = "kbtnLoadTheme";
     this.kbtnLoadTheme.Size         = new System.Drawing.Size(152, 28);
     this.kbtnLoadTheme.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.kbtnLoadTheme.TabIndex    = 5;
     this.kbtnLoadTheme.Values.Text = "&Load Custom Theme";
     //
     // kbtnCustomThemeFileBrowse
     //
     this.kbtnCustomThemeFileBrowse.AutoSize     = true;
     this.kbtnCustomThemeFileBrowse.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnCustomThemeFileBrowse.Enabled      = false;
     this.kbtnCustomThemeFileBrowse.Location     = new System.Drawing.Point(798, 53);
     this.kbtnCustomThemeFileBrowse.Name         = "kbtnCustomThemeFileBrowse";
     this.kbtnCustomThemeFileBrowse.Size         = new System.Drawing.Size(22, 28);
     this.kbtnCustomThemeFileBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.kbtnCustomThemeFileBrowse.TabIndex    = 4;
     this.kbtnCustomThemeFileBrowse.Values.Text = ".&..";
     //
     // ktxtCustomThemePath
     //
     this.ktxtCustomThemePath.Enabled  = false;
     this.ktxtCustomThemePath.Location = new System.Drawing.Point(231, 54);
     this.ktxtCustomThemePath.Name     = "ktxtCustomThemePath";
     this.ktxtCustomThemePath.Size     = new System.Drawing.Size(561, 27);
     this.ktxtCustomThemePath.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 11.25F);
     this.ktxtCustomThemePath.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktxtCustomThemePath.TabIndex = 3;
     //
     // klblCustomThemeFilePath
     //
     this.klblCustomThemeFilePath.Enabled  = false;
     this.klblCustomThemeFilePath.Location = new System.Drawing.Point(34, 55);
     this.klblCustomThemeFilePath.Name     = "klblCustomThemeFilePath";
     this.klblCustomThemeFilePath.Size     = new System.Drawing.Size(191, 24);
     this.klblCustomThemeFilePath.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblCustomThemeFilePath.TabIndex    = 2;
     this.klblCustomThemeFilePath.Values.Text = "Custom Theme File Path:";
     //
     // kcbTheme
     //
     this.kcbTheme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.kcbTheme.DropDownWidth = 182;
     this.kcbTheme.Location      = new System.Drawing.Point(124, 12);
     this.kcbTheme.Name          = "kcbTheme";
     this.kcbTheme.Size          = new System.Drawing.Size(182, 25);
     this.kcbTheme.StateCommon.ComboBox.Content.Font  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTheme.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near;
     this.kcbTheme.TabIndex              = 1;
     this.kcbTheme.SelectedIndexChanged += new System.EventHandler(this.KcbTheme_SelectedIndexChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(14, 13);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(104, 24);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 0;
     this.kryptonLabel1.Values.Text = "Theme Type:";
     //
     // kryptonPage1
     //
     this.kryptonPage1.AutoHiddenSlideSize = new System.Drawing.Size(200, 200);
     this.kryptonPage1.Controls.Add(this.kcbTest);
     this.kryptonPage1.Controls.Add(this.klblMediumColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblLightColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblDarkColourFloatValue);
     this.kryptonPage1.Controls.Add(this.klblLightestColourFloatValue);
     this.kryptonPage1.Controls.Add(this.knumDarkValue);
     this.kryptonPage1.Controls.Add(this.knumMediumValue);
     this.kryptonPage1.Controls.Add(this.knumLightValue);
     this.kryptonPage1.Controls.Add(this.knumLightestValue);
     this.kryptonPage1.Controls.Add(this.cbxLightestColour);
     this.kryptonPage1.Controls.Add(this.cbxLightColour);
     this.kryptonPage1.Controls.Add(this.cbxMediumColour);
     this.kryptonPage1.Controls.Add(this.cbxDarkColour);
     this.kryptonPage1.Controls.Add(this.kryptonLabel7);
     this.kryptonPage1.Controls.Add(this.kryptonLabel5);
     this.kryptonPage1.Controls.Add(this.kryptonLabel4);
     this.kryptonPage1.Controls.Add(this.kryptonLabel2);
     this.kryptonPage1.Flags          = 65534;
     this.kryptonPage1.LastVisibleSet = true;
     this.kryptonPage1.MinimumSize    = new System.Drawing.Size(50, 50);
     this.kryptonPage1.Name           = "kryptonPage1";
     this.kryptonPage1.Size           = new System.Drawing.Size(880, 745);
     this.kryptonPage1.Text           = "Colour Intensity";
     this.kryptonPage1.ToolTipTitle   = "Page ToolTip";
     this.kryptonPage1.UniqueName     = "e0550eb663f7425e99be7d6b7761bd8e";
     //
     // kcbTest
     //
     this.kcbTest.Location = new System.Drawing.Point(36, 462);
     this.kcbTest.Name     = "kcbTest";
     this.kcbTest.Size     = new System.Drawing.Size(178, 25);
     this.kcbTest.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTest.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kcbTest.TabIndex              = 34;
     this.kcbTest.Values.Text           = "&Test Colour";
     this.kcbTest.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbTest_SelectedColorChanged);
     //
     // klblMediumColourFloatValue
     //
     this.klblMediumColourFloatValue.Location = new System.Drawing.Point(366, 172);
     this.klblMediumColourFloatValue.Name     = "klblMediumColourFloatValue";
     this.klblMediumColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblMediumColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColourFloatValue.TabIndex    = 33;
     this.klblMediumColourFloatValue.Values.Text = "{0}";
     //
     // klblLightColourFloatValue
     //
     this.klblLightColourFloatValue.Location = new System.Drawing.Point(366, 290);
     this.klblLightColourFloatValue.Name     = "klblLightColourFloatValue";
     this.klblLightColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblLightColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColourFloatValue.TabIndex    = 32;
     this.klblLightColourFloatValue.Values.Text = "{0}";
     //
     // klblDarkColourFloatValue
     //
     this.klblDarkColourFloatValue.Location = new System.Drawing.Point(366, 54);
     this.klblDarkColourFloatValue.Name     = "klblDarkColourFloatValue";
     this.klblDarkColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblDarkColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColourFloatValue.TabIndex    = 31;
     this.klblDarkColourFloatValue.Values.Text = "{0}";
     //
     // klblLightestColourFloatValue
     //
     this.klblLightestColourFloatValue.Location = new System.Drawing.Point(366, 408);
     this.klblLightestColourFloatValue.Name     = "klblLightestColourFloatValue";
     this.klblLightestColourFloatValue.Size     = new System.Drawing.Size(42, 33);
     this.klblLightestColourFloatValue.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColourFloatValue.TabIndex    = 30;
     this.klblLightestColourFloatValue.Values.Text = "{0}";
     //
     // knumDarkValue
     //
     this.knumDarkValue.DecimalPlaces = 99;
     this.knumDarkValue.Location      = new System.Drawing.Point(217, 54);
     this.knumDarkValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumDarkValue.Name = "knumDarkValue";
     this.knumDarkValue.Size = new System.Drawing.Size(120, 32);
     this.knumDarkValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumDarkValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumDarkValue.TabIndex      = 29;
     this.knumDarkValue.ValueChanged += new System.EventHandler(this.KnumDarkValue_ValueChanged);
     //
     // knumMediumValue
     //
     this.knumMediumValue.DecimalPlaces = 99;
     this.knumMediumValue.Location      = new System.Drawing.Point(217, 172);
     this.knumMediumValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumMediumValue.Name = "knumMediumValue";
     this.knumMediumValue.Size = new System.Drawing.Size(120, 32);
     this.knumMediumValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumMediumValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumMediumValue.TabIndex      = 28;
     this.knumMediumValue.ValueChanged += new System.EventHandler(this.KnumMediumValue_ValueChanged);
     //
     // knumLightValue
     //
     this.knumLightValue.DecimalPlaces = 99;
     this.knumLightValue.Location      = new System.Drawing.Point(217, 290);
     this.knumLightValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumLightValue.Name = "knumLightValue";
     this.knumLightValue.Size = new System.Drawing.Size(120, 32);
     this.knumLightValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumLightValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumLightValue.TabIndex      = 27;
     this.knumLightValue.ValueChanged += new System.EventHandler(this.KnumLightValue_ValueChanged);
     //
     // knumLightestValue
     //
     this.knumLightestValue.DecimalPlaces = 99;
     this.knumLightestValue.Location      = new System.Drawing.Point(217, 408);
     this.knumLightestValue.Maximum       = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumLightestValue.Name = "knumLightestValue";
     this.knumLightestValue.Size = new System.Drawing.Size(120, 32);
     this.knumLightestValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumLightestValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.knumLightestValue.TabIndex      = 26;
     this.knumLightestValue.ValueChanged += new System.EventHandler(this.KnumLightestValue_ValueChanged);
     //
     // cbxLightestColour
     //
     this.cbxLightestColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxLightestColour.BackColor = System.Drawing.Color.Black;
     this.cbxLightestColour.Location  = new System.Drawing.Point(765, 374);
     this.cbxLightestColour.Name      = "cbxLightestColour";
     this.cbxLightestColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxLightestColour.TabIndex  = 25;
     this.cbxLightestColour.TabStop   = false;
     //
     // cbxLightColour
     //
     this.cbxLightColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxLightColour.BackColor = System.Drawing.Color.Black;
     this.cbxLightColour.Location  = new System.Drawing.Point(765, 258);
     this.cbxLightColour.Name      = "cbxLightColour";
     this.cbxLightColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxLightColour.TabIndex  = 24;
     this.cbxLightColour.TabStop   = false;
     //
     // cbxMediumColour
     //
     this.cbxMediumColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxMediumColour.BackColor = System.Drawing.Color.Black;
     this.cbxMediumColour.Location  = new System.Drawing.Point(765, 142);
     this.cbxMediumColour.Name      = "cbxMediumColour";
     this.cbxMediumColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxMediumColour.TabIndex  = 23;
     this.cbxMediumColour.TabStop   = false;
     //
     // cbxDarkColour
     //
     this.cbxDarkColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxDarkColour.BackColor = System.Drawing.Color.Black;
     this.cbxDarkColour.Location  = new System.Drawing.Point(765, 26);
     this.cbxDarkColour.Name      = "cbxDarkColour";
     this.cbxDarkColour.Size      = new System.Drawing.Size(95, 95);
     this.cbxDarkColour.TabIndex  = 22;
     this.cbxDarkColour.TabStop   = false;
     //
     // kryptonLabel7
     //
     this.kryptonLabel7.Location = new System.Drawing.Point(36, 172);
     this.kryptonLabel7.Name     = "kryptonLabel7";
     this.kryptonLabel7.Size     = new System.Drawing.Size(178, 33);
     this.kryptonLabel7.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel7.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel7.TabIndex    = 21;
     this.kryptonLabel7.Values.Text = "Medium Colour:";
     //
     // kryptonLabel5
     //
     this.kryptonLabel5.Location = new System.Drawing.Point(36, 408);
     this.kryptonLabel5.Name     = "kryptonLabel5";
     this.kryptonLabel5.Size     = new System.Drawing.Size(175, 33);
     this.kryptonLabel5.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.TabIndex    = 20;
     this.kryptonLabel5.Values.Text = "Lightest Colour:";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(36, 290);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(145, 33);
     this.kryptonLabel4.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex    = 19;
     this.kryptonLabel4.Values.Text = "Light Colour:";
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(36, 54);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(141, 33);
     this.kryptonLabel2.StateCommon.LongText.Font  = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 18;
     this.kryptonLabel2.Values.Text = "Dark Colour:";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 794);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(906, 3);
     this.panel1.TabIndex  = 2;
     //
     // OptionsWindow
     //
     this.ClientSize = new System.Drawing.Size(906, 852);
     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            = "OptionsWindow";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Palette Explorer Options";
     this.Load           += new System.EventHandler(this.OptionsWindow_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.knOptions)).EndInit();
     this.knOptions.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).EndInit();
     this.kpTheme.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).EndInit();
     this.kryptonGroupBox1.Panel.ResumeLayout(false);
     this.kryptonGroupBox1.Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).EndInit();
     this.kryptonGroupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).EndInit();
     this.kryptonPage1.ResumeLayout(false);
     this.kryptonPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).EndInit();
     this.ResumeLayout(false);
 }
예제 #5
0
 private void InitializeComponent()
 {
     this.kryptonPanel1        = new Krypton.Toolkit.KryptonPanel();
     this.kryptonButton1       = new Krypton.Toolkit.KryptonButton();
     this.kbtnCancel           = new Krypton.Toolkit.KryptonButton();
     this.panel1               = new System.Windows.Forms.Panel();
     this.kryptonPanel2        = new Krypton.Toolkit.KryptonPanel();
     this.ksbFindOptions       = new KryptonButton();
     this.kbtnCountOccurrences = new Krypton.Toolkit.KryptonButton();
     this.kryptonColorButton1  = new Krypton.Toolkit.KryptonColorButton();
     this.kryptonLabel1        = new Krypton.Toolkit.KryptonLabel();
     this.ktxtSearchTerm       = new Krypton.Toolkit.KryptonTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonButton1);
     this.kryptonPanel1.Controls.Add(this.kbtnCancel);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 146);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(504, 45);
     this.kryptonPanel1.TabIndex = 1;
     //
     // kryptonButton1
     //
     this.kryptonButton1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kryptonButton1.Location     = new System.Drawing.Point(207, 10);
     this.kryptonButton1.Name         = "kryptonButton1";
     this.kryptonButton1.Size         = new System.Drawing.Size(90, 25);
     this.kryptonButton1.TabIndex     = 1;
     this.kryptonButton1.Values.Text  = "C&ancel";
     //
     // kbtnCancel
     //
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(544, 8);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(90, 25);
     this.kbtnCancel.TabIndex     = 0;
     this.kbtnCancel.Values.Text  = "C&ancel";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 143);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(504, 3);
     this.panel1.TabIndex  = 2;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.ksbFindOptions);
     this.kryptonPanel2.Controls.Add(this.kbtnCountOccurrences);
     this.kryptonPanel2.Controls.Add(this.kryptonColorButton1);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.ktxtSearchTerm);
     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(504, 143);
     this.kryptonPanel2.TabIndex = 3;
     //
     // ksbFindOptions
     //
     this.ksbFindOptions.AutoSize = true;
     this.ksbFindOptions.Location = new System.Drawing.Point(360, 105);
     this.ksbFindOptions.Name     = "ksbFindOptions";
     this.ksbFindOptions.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.Size = new System.Drawing.Size(131, 25);
     this.ksbFindOptions.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.ksbFindOptions.TabIndex    = 4;
     this.ksbFindOptions.Values.Text = "&Find....";
     this.ksbFindOptions.Click      += new System.EventHandler(this.ksbFindOptions_Click);
     //
     // kbtnCountOccurrences
     //
     this.kbtnCountOccurrences.Location    = new System.Drawing.Point(215, 105);
     this.kbtnCountOccurrences.Name        = "kbtnCountOccurrences";
     this.kbtnCountOccurrences.Size        = new System.Drawing.Size(138, 25);
     this.kbtnCountOccurrences.TabIndex    = 3;
     this.kbtnCountOccurrences.Values.Text = "Count &Occurrences";
     this.kbtnCountOccurrences.Click      += new System.EventHandler(this.kbtnCountOccurrences_Click);
     //
     // kryptonColorButton1
     //
     this.kryptonColorButton1.Location    = new System.Drawing.Point(13, 105);
     this.kryptonColorButton1.Name        = "kryptonColorButton1";
     this.kryptonColorButton1.Size        = new System.Drawing.Size(196, 25);
     this.kryptonColorButton1.TabIndex    = 2;
     this.kryptonColorButton1.Values.Text = "Select a &Highlight Colour";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location    = new System.Drawing.Point(13, 24);
     this.kryptonLabel1.Name        = "kryptonLabel1";
     this.kryptonLabel1.Size        = new System.Drawing.Size(36, 20);
     this.kryptonLabel1.TabIndex    = 1;
     this.kryptonLabel1.Values.Text = "Find:";
     //
     // ktxtSearchTerm
     //
     this.ktxtSearchTerm.Location = new System.Drawing.Point(55, 24);
     this.ktxtSearchTerm.Name     = "ktxtSearchTerm";
     this.ktxtSearchTerm.Size     = new System.Drawing.Size(437, 23);
     this.ktxtSearchTerm.TabIndex = 0;
     this.ktxtSearchTerm.Text     = "kryptonTextBox1";
     //
     // KryptonTextFinderDialog
     //
     this.ClientSize = new System.Drawing.Size(504, 191);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonTextFinderDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.kryptonPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #6
0
 public KryptonColorButtonToolStripItem() : base(new KryptonColorButton())
 {
     _button             = Control as KryptonColorButton;
     _button.Text        = "";
     _button.ButtonStyle = ButtonStyle.LowProfile;
 }
예제 #7
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatusStripControls));
     this.kryptonPanel1         = new ComponentFactory.Krypton.Toolkit.KryptonPanel();
     this.ss                    = new System.Windows.Forms.StatusStrip();
     this.knudtsiTest           = new ExtendedControls.ExtendedToolkit.ToolstripControls.KryptonNumericUpDownToolStripItem();
     this.o07cptsiTest          = new ExtendedControls.ExtendedToolkit.Controls.Drawing.Controls.Office2007ColorPickerToolStripMenuItem();
     this.kcbtsmiTest           = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonColourButtonToolStripMenuItem();
     this.ktbtsmiTest           = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonTrackBarToolStripMenuItem();
     this.kvbTest               = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonViewBar();
     this.ksbTest               = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar();
     this.tsmiuacsTest          = new KryptonExtendedToolkit.ExtendedToolkit.ToolstripControls.ToolStripMenuItemUACSheld();
     this.etslTest              = new ExtendedControls.ExtendedToolkit.ToolstripControls.ExtendedToolStripStatusLabel();
     this.tspbTest              = new System.Windows.Forms.ToolStripProgressBar();
     this.kpgStatusStripItems   = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.KryptonPropertyGrid();
     this.kcbtnBackwardDiagonal = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnForwardDiagonal  = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnVertical         = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnHorizontal       = new ComponentFactory.Krypton.Toolkit.KryptonCheckButton();
     this.kcbtnTextColour       = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kcbtnGradientColour2  = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kcbtnGradientColour1  = new ComponentFactory.Krypton.Toolkit.KryptonColorButton();
     this.kryptonSliderBar1     = new ExtendedControls.ExtendedToolkit.Controls.KryptonControls.ToolbarItems.KryptonSliderBar();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     this.ss.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.ss);
     this.kryptonPanel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel1.Location = new System.Drawing.Point(0, 646);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(1207, 22);
     this.kryptonPanel1.TabIndex = 0;
     //
     // ss
     //
     this.ss.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.ss.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.knudtsiTest,
         this.o07cptsiTest,
         this.kcbtsmiTest,
         this.ktbtsmiTest,
         this.kvbTest,
         this.ksbTest,
         this.tsmiuacsTest,
         this.etslTest,
         this.tspbTest,
         this.kryptonSliderBar1
     });
     this.ss.Location   = new System.Drawing.Point(0, -3);
     this.ss.Name       = "ss";
     this.ss.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode;
     this.ss.Size       = new System.Drawing.Size(1207, 25);
     this.ss.TabIndex   = 0;
     this.ss.Text       = "statusStrip1";
     //
     // knudtsiTest
     //
     this.knudtsiTest.AutoSize = false;
     this.knudtsiTest.Name     = "knudtsiTest";
     this.knudtsiTest.Size     = new System.Drawing.Size(50, 23);
     this.knudtsiTest.Text     = "0";
     this.knudtsiTest.Value    = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.knudtsiTest.Click += new System.EventHandler(this.KnudtsiTest_Click);
     //
     // o07cptsiTest
     //
     this.o07cptsiTest.Name = "o07cptsiTest";
     //
     // o07cptsiTest
     //
     this.o07cptsiTest.Office2007ColourPickerControl.AccessibleName = "o07cptsiTest";
     this.o07cptsiTest.Office2007ColourPickerControl.DrawMode       = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.o07cptsiTest.Office2007ColourPickerControl.DropDownStyle  = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.o07cptsiTest.Office2007ColourPickerControl.Items.AddRange(new object[] {
         "Color"
     });
     this.o07cptsiTest.Office2007ColourPickerControl.Location       = new System.Drawing.Point(51, 2);
     this.o07cptsiTest.Office2007ColourPickerControl.Name           = "o07cptsiTest";
     this.o07cptsiTest.Office2007ColourPickerControl.SelectedColour = System.Drawing.Color.Black;
     this.o07cptsiTest.Office2007ColourPickerControl.Size           = new System.Drawing.Size(121, 24);
     this.o07cptsiTest.Office2007ColourPickerControl.TabIndex       = 2;
     this.o07cptsiTest.Size = new System.Drawing.Size(121, 23);
     this.o07cptsiTest.Text = "Color";
     //
     // kcbtsmiTest
     //
     this.kcbtsmiTest.AutoSize = false;
     //
     // kcbtsmiTest
     //
     this.kcbtsmiTest.KryptonColorButtonControl.AccessibleName = "kcbtsmiTest";
     this.kcbtsmiTest.KryptonColorButtonControl.Location       = new System.Drawing.Point(172, 2);
     this.kcbtsmiTest.KryptonColorButtonControl.Name           = "kcbtsmiTest";
     this.kcbtsmiTest.KryptonColorButtonControl.Size           = new System.Drawing.Size(90, 23);
     this.kcbtsmiTest.KryptonColorButtonControl.TabIndex       = 3;
     this.kcbtsmiTest.Name = "kcbtsmiTest";
     this.kcbtsmiTest.Size = new System.Drawing.Size(90, 23);
     this.kcbtsmiTest.Text = "Color";
     //
     // ktbtsmiTest
     //
     this.ktbtsmiTest.AutoSize = false;
     //
     // ktbtsmiTest
     //
     this.ktbtsmiTest.KryptonTrackBarControl.AccessibleName = "ktbtsmiTest";
     this.ktbtsmiTest.KryptonTrackBarControl.DrawBackground = true;
     this.ktbtsmiTest.KryptonTrackBarControl.Location       = new System.Drawing.Point(262, 2);
     this.ktbtsmiTest.KryptonTrackBarControl.Name           = "ktbtsmiTest";
     this.ktbtsmiTest.KryptonTrackBarControl.Size           = new System.Drawing.Size(150, 23);
     this.ktbtsmiTest.KryptonTrackBarControl.TabIndex       = 4;
     this.ktbtsmiTest.LargeChange   = 5;
     this.ktbtsmiTest.Maximum       = 10;
     this.ktbtsmiTest.Minimum       = 0;
     this.ktbtsmiTest.Name          = "ktbtsmiTest";
     this.ktbtsmiTest.Orientation   = System.Windows.Forms.Orientation.Horizontal;
     this.ktbtsmiTest.Size          = new System.Drawing.Size(150, 23);
     this.ktbtsmiTest.SmallChange   = 1;
     this.ktbtsmiTest.Text          = "kryptonTrackBarToolStripMenuItem1";
     this.ktbtsmiTest.TickFrequency = 1;
     this.ktbtsmiTest.TickStyle     = System.Windows.Forms.TickStyle.BottomRight;
     this.ktbtsmiTest.TrackBarSize  = ComponentFactory.Krypton.Toolkit.PaletteTrackBarSize.Medium;
     this.ktbtsmiTest.Value         = 0;
     this.ktbtsmiTest.VolumeControl = false;
     //
     // kvbTest
     //
     this.kvbTest.BackColor   = System.Drawing.Color.Transparent;
     this.kvbTest.Font        = new System.Drawing.Font("Segoe UI", 8.25F);
     this.kvbTest.Name        = "kvbTest";
     this.kvbTest.Size        = new System.Drawing.Size(117, 23);
     this.kvbTest.Text        = "kryptonViewBar1";
     this.kvbTest.ViewBarSize = new System.Drawing.Size(117, 23);
     //
     // ksbTest
     //
     this.ksbTest.BackColor   = System.Drawing.Color.Transparent;
     this.ksbTest.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ksbTest.Name        = "ksbTest";
     this.ksbTest.Size        = new System.Drawing.Size(140, 23);
     this.ksbTest.Steps       = 2;
     this.ksbTest.Text        = "kryptonSliderBar1";
     this.ksbTest.TrackerSize = new System.Drawing.Size(140, 23);
     //
     // tsmiuacsTest
     //
     this.tsmiuacsTest.Image = ((System.Drawing.Image)(resources.GetObject("tsmiuacsTest.Image")));
     this.tsmiuacsTest.Name  = "tsmiuacsTest";
     this.tsmiuacsTest.Size  = new System.Drawing.Size(194, 25);
     this.tsmiuacsTest.Text  = "toolStripMenuItemUACSheld1";
     //
     // etslTest
     //
     this.etslTest.BackColor         = System.Drawing.Color.Empty;
     this.etslTest.BkClr             = false;
     this.etslTest.BlinkDuration     = ((long)(10));
     this.etslTest.BlinkState        = ExtendedControls.Base.Enumerations.BlinkState.NormalBlink;
     this.etslTest.CycleInterval     = ((short)(2000));
     this.etslTest.EnableBlinking    = true;
     this.etslTest.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.etslTest.GradientColourOne = System.Drawing.Color.Empty;
     this.etslTest.GradientColourTwo = System.Drawing.Color.Empty;
     this.etslTest.Name   = "etslTest";
     this.etslTest.Size   = new System.Drawing.Size(75, 20);
     this.etslTest.Text   = "Gradient Test";
     this.etslTest.Click += new System.EventHandler(this.EtslTest_Click);
     //
     // tspbTest
     //
     this.tspbTest.Name  = "tspbTest";
     this.tspbTest.Size  = new System.Drawing.Size(100, 19);
     this.tspbTest.Value = 50;
     //
     // kpgStatusStripItems
     //
     this.kpgStatusStripItems.CategoryForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgStatusStripItems.HelpBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230)))));
     this.kpgStatusStripItems.HelpForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91)))));
     this.kpgStatusStripItems.LineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(196)))), ((int)(((byte)(216)))));
     this.kpgStatusStripItems.Location          = new System.Drawing.Point(12, 12);
     this.kpgStatusStripItems.Name     = "kpgStatusStripItems";
     this.kpgStatusStripItems.Size     = new System.Drawing.Size(349, 612);
     this.kpgStatusStripItems.TabIndex = 1;
     //
     // kcbtnBackwardDiagonal
     //
     this.kcbtnBackwardDiagonal.Location    = new System.Drawing.Point(403, 92);
     this.kcbtnBackwardDiagonal.Name        = "kcbtnBackwardDiagonal";
     this.kcbtnBackwardDiagonal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnBackwardDiagonal.TabIndex    = 23;
     this.kcbtnBackwardDiagonal.Values.Text = "&Backward Diagonal";
     this.kcbtnBackwardDiagonal.Click      += new System.EventHandler(this.KcbtnBackwardDiagonal_Click);
     //
     // kcbtnForwardDiagonal
     //
     this.kcbtnForwardDiagonal.Checked     = true;
     this.kcbtnForwardDiagonal.Location    = new System.Drawing.Point(402, 252);
     this.kcbtnForwardDiagonal.Name        = "kcbtnForwardDiagonal";
     this.kcbtnForwardDiagonal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnForwardDiagonal.TabIndex    = 22;
     this.kcbtnForwardDiagonal.Values.Text = "&Forward Diagonal";
     this.kcbtnForwardDiagonal.Click      += new System.EventHandler(this.KcbtnForwardDiagonal_Click);
     //
     // kcbtnVertical
     //
     this.kcbtnVertical.Location    = new System.Drawing.Point(403, 172);
     this.kcbtnVertical.Name        = "kcbtnVertical";
     this.kcbtnVertical.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnVertical.TabIndex    = 21;
     this.kcbtnVertical.Values.Text = "Ver&tical";
     this.kcbtnVertical.Click      += new System.EventHandler(this.KcbtnVertical_Click);
     //
     // kcbtnHorizontal
     //
     this.kcbtnHorizontal.Location    = new System.Drawing.Point(402, 12);
     this.kcbtnHorizontal.Name        = "kcbtnHorizontal";
     this.kcbtnHorizontal.Size        = new System.Drawing.Size(150, 25);
     this.kcbtnHorizontal.TabIndex    = 20;
     this.kcbtnHorizontal.Values.Text = "&Horizontal";
     this.kcbtnHorizontal.Click      += new System.EventHandler(this.KcbtnHorizontal_Click);
     //
     // kcbtnTextColour
     //
     this.kcbtnTextColour.AutoSize              = true;
     this.kcbtnTextColour.Location              = new System.Drawing.Point(402, 488);
     this.kcbtnTextColour.Name                  = "kcbtnTextColour";
     this.kcbtnTextColour.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnTextColour.TabIndex              = 26;
     this.kcbtnTextColour.Values.Text           = "Text Colour";
     this.kcbtnTextColour.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnTextColour_SelectedColorChanged);
     //
     // kcbtnGradientColour2
     //
     this.kcbtnGradientColour2.AutoSize              = true;
     this.kcbtnGradientColour2.Location              = new System.Drawing.Point(403, 401);
     this.kcbtnGradientColour2.Name                  = "kcbtnGradientColour2";
     this.kcbtnGradientColour2.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnGradientColour2.TabIndex              = 25;
     this.kcbtnGradientColour2.Values.Text           = "Gradient Colour 2";
     this.kcbtnGradientColour2.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnGradientColour2_SelectedColorChanged);
     //
     // kcbtnGradientColour1
     //
     this.kcbtnGradientColour1.AutoSize              = true;
     this.kcbtnGradientColour1.Location              = new System.Drawing.Point(403, 314);
     this.kcbtnGradientColour1.Name                  = "kcbtnGradientColour1";
     this.kcbtnGradientColour1.Size                  = new System.Drawing.Size(136, 25);
     this.kcbtnGradientColour1.TabIndex              = 24;
     this.kcbtnGradientColour1.Values.Text           = "Gradient Colour 1";
     this.kcbtnGradientColour1.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbtnGradientColour1_SelectedColorChanged);
     //
     // kryptonSliderBar1
     //
     this.kryptonSliderBar1.BackColor   = System.Drawing.Color.Transparent;
     this.kryptonSliderBar1.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonSliderBar1.Name        = "kryptonSliderBar1";
     this.kryptonSliderBar1.Size        = new System.Drawing.Size(140, 23);
     this.kryptonSliderBar1.Steps       = 2;
     this.kryptonSliderBar1.Text        = "kryptonSliderBar1";
     this.kryptonSliderBar1.TrackerSize = new System.Drawing.Size(140, 23);
     //
     // StatusStripControls
     //
     this.ClientSize = new System.Drawing.Size(1207, 668);
     this.Controls.Add(this.kcbtnTextColour);
     this.Controls.Add(this.kcbtnGradientColour2);
     this.Controls.Add(this.kcbtnGradientColour1);
     this.Controls.Add(this.kcbtnBackwardDiagonal);
     this.Controls.Add(this.kcbtnForwardDiagonal);
     this.Controls.Add(this.kcbtnVertical);
     this.Controls.Add(this.kcbtnHorizontal);
     this.Controls.Add(this.kpgStatusStripItems);
     this.Controls.Add(this.kryptonPanel1);
     this.Name   = "StatusStripControls";
     this.Load  += new System.EventHandler(this.StatusStripControls_Load);
     this.Click += new System.EventHandler(this.StatusStripControls_Click);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     this.ss.ResumeLayout(false);
     this.ss.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }