예제 #1
0
        /// <summary>
        /// Uses the selected colour.
        /// </summary>
        /// <param name="colourControl">The colour control.</param>
        /// <param name="goStraightToPaletteShader">if set to <c>true</c> [go straight to palette shader].</param>
        public static void UseSelectedColour(CircularPictureBox colourControl, bool goStraightToPaletteShader = false)
        {
            if (goStraightToPaletteShader)
            {
                PaletteColourCreator colourCreator = new PaletteColourCreator(colourControl.BackColor);

                colourCreator.Show();
            }
            else
            {
                ColourMixer mixer = new ColourMixer(colourControl.BackColor);

                mixer.Show();
            }
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="baseColour"></param>
        /// <param name="darkestColour"></param>
        /// <param name="mediumColour"></param>
        /// <param name="lightColour"></param>
        /// <param name="lightestColour"></param>
        public static void SetBasicPaletteColours(CircularPictureBox baseColour, CircularPictureBox darkestColour, CircularPictureBox mediumColour, CircularPictureBox lightColour, CircularPictureBox lightestColour)
        {
            BasicColourSettingsManager basicPaletteColourManager = new BasicColourSettingsManager();

            try
            {
                if (!BasicColourSettingsManager.AreBasicPaletteColoursEmpty())
                {
                    basicPaletteColourManager.ResetToDefaults();

                    basicPaletteColourManager.SetBaseColour(baseColour.BackColor);

                    basicPaletteColourManager.SetDarkColour(darkestColour.BackColor);

                    basicPaletteColourManager.SetMediumColour(mediumColour.BackColor);

                    basicPaletteColourManager.SetLightColour(lightColour.BackColor);

                    basicPaletteColourManager.SetLightestColour(lightestColour.BackColor);

                    basicPaletteColourManager.SaveBasicColourSettings();
                }
                else
                {
                    basicPaletteColourManager.SetBaseColour(baseColour.BackColor);

                    basicPaletteColourManager.SetDarkColour(darkestColour.BackColor);

                    basicPaletteColourManager.SetMediumColour(mediumColour.BackColor);

                    basicPaletteColourManager.SetLightColour(lightColour.BackColor);

                    basicPaletteColourManager.SetLightestColour(lightestColour.BackColor);

                    basicPaletteColourManager.SaveBasicColourSettings();
                }
            }
            catch (Exception exc)
            {
                KryptonMessageBox.Show($"An unexpected error has occurred: { exc.Message }", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

                basicPaletteColourManager.ResetToDefaults();
            }
        }
        /// <summary>
        /// Generates the colour shades.
        /// </summary>
        /// <param name="baseColour">The base colour.</param>
        /// <param name="darkestColour">The darkest colour.</param>
        /// <param name="middleColour">The middle colour.</param>
        /// <param name="lightColour">The light colour.</param>
        /// <param name="lightestColour">The lightest colour.</param>
        public static void GenerateColourShades(Color baseColour, CircularPictureBox darkestColour, CircularPictureBox middleColour, CircularPictureBox lightColour, CircularPictureBox lightestColour)
        {
            if (baseColour != null)
            {
                darkestColour.BackColor = Darken(baseColour, 0.5f);

                middleColour.BackColor = Darken(baseColour, 0.25f);

                lightColour.BackColor = Lighten(baseColour, 0.25f);

                lightestColour.BackColor = Lighten(baseColour, 0.5f);

                if (lightestColour.BackColor == lightColour.BackColor)
                {
                    lightestColour.BackColor = Color.Transparent;

                    lightestColour.Enabled = false;
                }
                else
                {
                    lightestColour.Enabled = true;
                }
            }
        }
 /// <summary>
 /// Displays the tool tip.
 /// </summary>
 /// <param name="information">The information.</param>
 /// <param name="target">The target.</param>
 /// <param name="colourType">Type of the colour.</param>
 /// <param name="alphaValue">The alpha value.</param>
 /// <param name="redValue">The red value.</param>
 /// <param name="greenValue">The green value.</param>
 /// <param name="blueValue">The blue value.</param>
 /// <param name="hexValue">The hexadecimal value.</param>
 /// <param name="hueValue">The hue value.</param>
 public static void DisplayToolTip(ToolTip information, CircularPictureBox target, string colourType, int alphaValue, int redValue, int greenValue, int blueValue, string hexValue, double hueValue)
 {
     information.SetToolTip(target, $"{ colourType } Colour\nARGB: ({ alphaValue.ToString() }, { redValue.ToString() }, { greenValue.ToString() }, { blueValue.ToString() })\nRGB: ({ redValue.ToString() }, { greenValue.ToString() }, { blueValue.ToString() })\nHexadecimal Value: #{ hexValue.ToUpper() }\nHue Value: { hueValue.ToString() }");
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourPickerDialogLegacy));
     this.kpnlBack         = new Krypton.Toolkit.KryptonPanel();
     this.scpColours       = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ScreenColourPickerControl();
     this.ceColour         = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourEditorUserControlLegacy();
     this.cwSelectedColour = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourWheelControl();
     this.cem = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourEditorManager();
     this.kryptonButtonExtended1 = new Krypton.Toolkit.Suite.Extended.Standard.Controls.KryptonButtonExtended();
     this.kbeCancel              = new Krypton.Toolkit.Suite.Extended.Standard.Controls.KryptonButtonExtended();
     this.kbeOk                  = new Krypton.Toolkit.Suite.Extended.Standard.Controls.KryptonButtonExtended();
     this.cgColourPalette        = new Cyotek.Windows.Forms.ColorGrid();
     this.cpbColourPreview       = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox();
     this.kbtneLoadColourPalette = new Krypton.Toolkit.Suite.Extended.Standard.Controls.KryptonButtonExtended();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlBack)).BeginInit();
     this.kpnlBack.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlBack
     //
     this.kpnlBack.Controls.Add(this.cgColourPalette);
     this.kpnlBack.Controls.Add(this.cpbColourPreview);
     this.kpnlBack.Controls.Add(this.scpColours);
     this.kpnlBack.Controls.Add(this.kryptonButtonExtended1);
     this.kpnlBack.Controls.Add(this.kbtneLoadColourPalette);
     this.kpnlBack.Controls.Add(this.ceColour);
     this.kpnlBack.Controls.Add(this.cwSelectedColour);
     this.kpnlBack.Controls.Add(this.kbeCancel);
     this.kpnlBack.Controls.Add(this.kbeOk);
     this.kpnlBack.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlBack.Location = new System.Drawing.Point(0, 0);
     this.kpnlBack.Name     = "kpnlBack";
     this.kpnlBack.Size     = new System.Drawing.Size(647, 541);
     this.kpnlBack.TabIndex = 0;
     //
     // scpColours
     //
     this.scpColours.Colour   = System.Drawing.Color.Empty;
     this.scpColours.Image    = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.eyedropper;
     this.scpColours.Location = new System.Drawing.Point(501, 144);
     this.scpColours.Name     = "scpColours";
     this.scpColours.Size     = new System.Drawing.Size(130, 131);
     //
     // ceColour
     //
     this.ceColour.BackColor = System.Drawing.Color.Transparent;
     this.ceColour.Location  = new System.Drawing.Point(249, 12);
     this.ceColour.Name      = "ceColour";
     this.ceColour.Size      = new System.Drawing.Size(246, 321);
     this.ceColour.TabIndex  = 1;
     //
     // cwSelectedColour
     //
     this.cwSelectedColour.BackColor = System.Drawing.Color.Transparent;
     this.cwSelectedColour.Location  = new System.Drawing.Point(12, 12);
     this.cwSelectedColour.Name      = "cwSelectedColour";
     this.cwSelectedColour.Size      = new System.Drawing.Size(231, 212);
     this.cwSelectedColour.TabIndex  = 1;
     //
     // cem
     //
     this.cem.Color              = System.Drawing.Color.Empty;
     this.cem.ColourWheel        = this.cwSelectedColour;
     this.cem.ScreenColourPicker = this.scpColours;
     //
     // kryptonButtonExtended1
     //
     this.kryptonButtonExtended1.Image            = null;
     this.kryptonButtonExtended1.Location         = new System.Drawing.Point(42, 308);
     this.kryptonButtonExtended1.LongTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.Name             = "kryptonButtonExtended1";
     this.kryptonButtonExtended1.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.OverrideDefaultBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultBorderColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultBorderColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultLongTextColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultShortTextColourOne      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideDefaultShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.OverrideFocusBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusBorderColourOne           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusBorderColourTwo           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusLongTextColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusShortTextColourOne        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.OverrideFocusShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.ShortTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.Size = new System.Drawing.Size(23, 23);
     this.kryptonButtonExtended1.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateCommonBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonBorderColourOne           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonBorderColourTwo           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonLongTextColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonShortTextColourOne        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateCommonShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateDisabledBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledBorderColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledBorderColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledLongTextColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledShortTextColourOne      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateDisabledShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateNormalBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalBorderColourOne           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalBorderColourTwo           = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalLongTextColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalShortTextColourOne        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateNormalShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StatePressedBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedBorderColourOne          = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedBorderColourTwo          = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedLongTextColourOne        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedShortTextColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StatePressedShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kryptonButtonExtended1.StateTrackingBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingBorderColourOne         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingBorderColourTwo         = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingLongTextColourOne       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingShortTextColourOne      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.StateTrackingShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kryptonButtonExtended1.TabIndex     = 0;
     this.kryptonButtonExtended1.Values.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_save;
     this.kryptonButtonExtended1.Values.Text  = "";
     //
     // kbeCancel
     //
     this.kbeCancel.Image            = null;
     this.kbeCancel.Location         = new System.Drawing.Point(501, 64);
     this.kbeCancel.LongTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.Name             = "kbeCancel";
     this.kbeCancel.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.OverrideDefaultBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideDefaultShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.OverrideFocusBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeCancel.OverrideFocusShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeCancel.ShortTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.Size = new System.Drawing.Size(130, 38);
     this.kbeCancel.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateCommonBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeCancel.StateCommonShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateDisabledBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeCancel.StateDisabledShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateNormalBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeCancel.StateNormalShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StatePressedBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedBorderColourOne          = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedBorderColourTwo          = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedLongTextColourOne        = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedShortTextColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.StatePressedShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeCancel.StateTrackingBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeCancel.StateTrackingShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeCancel.TabIndex    = 2;
     this.kbeCancel.Values.Text = "Can&cel";
     //
     // kbeOk
     //
     this.kbeOk.Image            = null;
     this.kbeOk.Location         = new System.Drawing.Point(501, 20);
     this.kbeOk.LongTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.Name             = "kbeOk";
     this.kbeOk.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.OverrideDefaultBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeOk.OverrideDefaultShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.OverrideFocusBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeOk.OverrideFocusShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeOk.ShortTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.Size = new System.Drawing.Size(130, 38);
     this.kbeOk.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateCommonBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeOk.StateCommonShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateDisabledBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeOk.StateDisabledShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeOk.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateNormalBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalBorderColourOne           = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbeOk.StateNormalShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeOk.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StatePressedBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedBorderColourOne          = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedBorderColourTwo          = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedLongTextColourOne        = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedShortTextColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.StatePressedShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbeOk.StateTrackingBackGroundColourOne     = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingBackGroundColourTwo     = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingBorderColourOne         = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingBorderColourTwo         = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingLongTextColourOne       = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingLongTextColourTwo       = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingShortTextColourOne      = System.Drawing.Color.Empty;
     this.kbeOk.StateTrackingShortTextColourTwo      = System.Drawing.Color.Empty;
     this.kbeOk.TabIndex    = 1;
     this.kbeOk.Values.Text = "&Ok";
     //
     // cgColourPalette
     //
     this.cgColourPalette.BackColor = System.Drawing.Color.Transparent;
     this.cgColourPalette.Location  = new System.Drawing.Point(12, 337);
     this.cgColourPalette.Name      = "cgColourPalette";
     this.cgColourPalette.Size      = new System.Drawing.Size(247, 180);
     this.cgColourPalette.TabIndex  = 4;
     //
     // cpbColourPreview
     //
     this.cpbColourPreview.BackColor     = System.Drawing.SystemColors.Control;
     this.cpbColourPreview.Location      = new System.Drawing.Point(501, 397);
     this.cpbColourPreview.Name          = "cpbColourPreview";
     this.cpbColourPreview.Size          = new System.Drawing.Size(130, 120);
     this.cpbColourPreview.TabIndex      = 3;
     this.cpbColourPreview.TabStop       = false;
     this.cpbColourPreview.ToolTipValues = null;
     //
     // kbtneLoadColourPalette
     //
     this.kbtneLoadColourPalette.Image            = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.Location         = new System.Drawing.Point(12, 308);
     this.kbtneLoadColourPalette.LongTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.Name             = "kbtneLoadColourPalette";
     this.kbtneLoadColourPalette.OverrideDefault.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.OverrideDefault.Content.LongText.Image  = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.OverrideDefault.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.OverrideDefault.Content.ShortText.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.OverrideDefaultBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultBorderColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultBorderColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultLongTextColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultShortTextColourOne       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideDefaultShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocus.Content.LongText.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.OverrideFocus.Content.LongText.Image    = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.OverrideFocus.Content.ShortText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.OverrideFocus.Content.ShortText.Image   = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.OverrideFocusBackGroundColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusBackGroundColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusBorderColourOne            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusBorderColourTwo            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusLongTextColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusLongTextColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusShortTextColourOne         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.OverrideFocusShortTextColourTwo         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.ShortTextTypeface = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.Size = new System.Drawing.Size(23, 23);
     this.kbtneLoadColourPalette.StateCommon.Content.LongText.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateCommon.Content.LongText.Image    = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateCommon.Content.ShortText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateCommon.Content.ShortText.Image   = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateCommonBackGroundColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonBackGroundColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonBorderColourOne            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonBorderColourTwo            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonLongTextColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonLongTextColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonShortTextColourOne         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateCommonShortTextColourTwo         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabled.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateDisabled.Content.LongText.Image  = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateDisabled.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateDisabled.Content.ShortText.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateDisabledBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledBorderColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledBorderColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledLongTextColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledShortTextColourOne       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateDisabledShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormal.Content.LongText.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateNormal.Content.LongText.Image    = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateNormal.Content.ShortText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateNormal.Content.ShortText.Image   = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateNormalBackGroundColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalBackGroundColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalBorderColourOne            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalBorderColourTwo            = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalLongTextColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalLongTextColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalShortTextColourOne         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateNormalShortTextColourTwo         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressed.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StatePressed.Content.LongText.Image   = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StatePressed.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StatePressed.Content.ShortText.Image  = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StatePressedBackGroundColourOne       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedBackGroundColourTwo       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedBorderColourOne           = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedBorderColourTwo           = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedLongTextColourOne         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedLongTextColourTwo         = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedShortTextColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StatePressedShortTextColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTracking.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateTracking.Content.LongText.Image  = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateTracking.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtneLoadColourPalette.StateTracking.Content.ShortText.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.StateTrackingBackGroundColourOne      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingBackGroundColourTwo      = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingBorderColourOne          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingBorderColourTwo          = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingLongTextColourOne        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingLongTextColourTwo        = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingShortTextColourOne       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.StateTrackingShortTextColourTwo       = System.Drawing.Color.Empty;
     this.kbtneLoadColourPalette.TabIndex = 1;
     this.kbtneLoadColourPalette.ToolTipValues.Description = "Load a custom palette.";
     this.kbtneLoadColourPalette.ToolTipValues.Heading     = "Custom Palette";
     this.kbtneLoadColourPalette.ToolTipValues.Image       = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.Values.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtneLoadColourPalette.Values.Text  = "";
     //
     // ColourPickerDialog
     //
     this.ClientSize = new System.Drawing.Size(647, 541);
     this.Controls.Add(this.kpnlBack);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ColourPickerDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Colour Dialog";
     ((System.ComponentModel.ISupportInitialize)(this.kpnlBack)).EndInit();
     this.kpnlBack.ResumeLayout(false);
     this.kpnlBack.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).EndInit();
     this.ResumeLayout(false);
 }
        public static void FactoryCircularPictureboxLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkFocusedColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview)
        {
            circularColourPreviewPane.Size = new Size(708, 467);

            baseColourPreview.Location = new Point(19, 13); // 14);

            darkColourPreview.Location = new Point(118, 13);

            middleColourPreview.Location = new Point(217, 13);

            lightColourPreview.Location = new Point(316, 13);

            lightestColourPreview.Location = new Point(415, 13);

            borderColourPreview.Location = new Point(514, 13);                // 16;

            alternativeNormalTextColourPreview.Location = new Point(613, 13); // 15);

            normalTextColourPreview.Location = new Point(19, 127);

            disabledTextColourPreview.Location = new Point(118, 127);

            focusedTextColourPreview.Location = new Point(217, 127);

            pressedTextColourPreview.Location = new Point(316, 127);

            disabledColourPreview.Location = new Point(415, 127);

            linkNormalColourPreview.Location = new Point(514, 127);

            linkFocusedColourPreview.Location = new Point(613, 127);

            linkHoverColourPreview.Location = new Point(19, 239);

            linkVisitedColourPreview.Location = new Point(118, 239);

            customColourOne.Location = new Point(217, 239);

            customColourTwo.Location = new Point(316, 239);

            customColourThree.Location = new Point(415, 239);

            customColourFour.Location = new Point(514, 239);

            customColourFive.Location = new Point(613, 239);

            customTextColourOne.Location = new Point(19, 351);

            customTextColourTwo.Location = new Point(118, 351);

            customTextColourThree.Location = new Point(217, 351);

            customTextColourFour.Location = new Point(316, 351);

            customTextColourFive.Location = new Point(415, 351);

            menuTextColourPreview.Location = new Point(514, 351);

            statusTextColourPreview.Location = new Point(613, 351);
        }
        public static void CircularPictureBoxPropertiesPaneVisibleLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkFocusedColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview, CircularPictureBox ribbonTabTextColourPreview)
        {
            #region Top Row
            circularColourPreviewPane.Size = new Size(1413, 552);

            baseColourPreview.Location = new Point(19, 13);

            darkColourPreview.Location = new Point(149, 13);

            middleColourPreview.Location = new Point(279, 13);

            lightColourPreview.Location = new Point(409, 13);

            lightestColourPreview.Location = new Point(539, 13);

            borderColourPreview.Location = new Point(669, 13);

            alternativeNormalTextColourPreview.Location = new Point(779, 13);

            normalTextColourPreview.Location = new Point(929, 13);

            disabledTextColourPreview.Location = new Point(1059, 13);

            focusedTextColourPreview.Location = new Point(1189, 13);

            pressedTextColourPreview.Location = new Point(1319, 13);
            #endregion

            #region Middle Row
            disabledColourPreview.Location = new Point(19, 223);

            linkNormalColourPreview.Location = new Point(149, 223);

            linkFocusedColourPreview.Location = new Point(279, 223);

            linkHoverColourPreview.Location = new Point(409, 223);

            linkVisitedColourPreview.Location = new Point(539, 223);

            customColourOne.Location = new Point(669, 223);

            customColourTwo.Location = new Point(799, 223);

            customColourThree.Location = new Point(929, 223);

            customColourFour.Location = new Point(1059, 223);

            customColourFive.Location = new Point(1189, 223);

            customTextColourOne.Location = new Point(1319, 223);
            #endregion

            #region Bottom Row
            customTextColourTwo.Location = new Point(19, 432);

            customTextColourThree.Location = new Point(149, 432);

            customTextColourFour.Location = new Point(279, 432);

            customTextColourFive.Location = new Point(409, 432);

            menuTextColourPreview.Location = new Point(539, 432);

            statusTextColourPreview.Location = new Point(669, 432);

            ribbonTabTextColourPreview.Location = new Point(799, 432);
            #endregion
        }
        /// <summary>
        /// Circulars the picturebox hidden properties location.
        /// </summary>
        /// <param name="circularColourPreviewPane">The circular colour preview pane.</param>
        /// <param name="baseColourPreview">The base colour preview.</param>
        /// <param name="darkColourPreview">The dark colour preview.</param>
        /// <param name="middleColourPreview">The middle colour preview.</param>
        /// <param name="lightColourPreview">The light colour preview.</param>
        /// <param name="lightestColourPreview">The lightest colour preview.</param>
        /// <param name="borderColourPreview">The border colour preview.</param>
        /// <param name="alternativeNormalTextColourPreview">The alternative normal text colour preview.</param>
        /// <param name="normalTextColourPreview">The normal text colour preview.</param>
        /// <param name="disabledTextColourPreview">The disabled text colour preview.</param>
        /// <param name="focusedTextColourPreview">The focused text colour preview.</param>
        /// <param name="pressedTextColourPreview">The pressed text colour preview.</param>
        /// <param name="disabledColourPreview">The disabled colour preview.</param>
        /// <param name="linkNormalColourPreview">The link normal colour preview.</param>
        /// <param name="linkFocusedColourPreview">The link focused colour preview.</param>
        /// <param name="linkHoverColourPreview">The link hover colour preview.</param>
        /// <param name="linkVisitedColourPreview">The link visited colour preview.</param>
        /// <param name="customColourOne">The custom colour one.</param>
        /// <param name="customColourTwo">The custom colour two.</param>
        /// <param name="customColourThree">The custom colour three.</param>
        /// <param name="customColourFour">The custom colour four.</param>
        /// <param name="customColourFive">The custom colour five.</param>
        /// <param name="customTextColourOne">The custom text colour one.</param>
        /// <param name="customTextColourTwo">The custom text colour two.</param>
        /// <param name="customTextColourThree">The custom text colour three.</param>
        /// <param name="customTextColourFour">The custom text colour four.</param>
        /// <param name="customTextColourFive">The custom text colour five.</param>
        /// <param name="menuTextColourPreview">The menu text colour preview.</param>
        /// <param name="statusTextColourPreview">The status text colour preview.</param>
        public static void CircularPictureboxHiddenPropertiesLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkFocusedColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview, CircularPictureBox ribbonTabTextColourPreview)
        {
            circularColourPreviewPane.Size = new Size(882, 552);

            #region First Row
            baseColourPreview.Location = new Point(19, 18);

            darkColourPreview.Location = new Point(149, 18);

            middleColourPreview.Location = new Point(279, 18);

            lightColourPreview.Location = new Point(409, 18);

            lightestColourPreview.Location = new Point(539, 18);

            borderColourPreview.Location = new Point(669, 13);

            alternativeNormalTextColourPreview.Location = new Point(779, 18);
            #endregion

            #region Second Row
            normalTextColourPreview.Location = new Point(19, 118);

            disabledTextColourPreview.Location = new Point(149, 118);

            focusedTextColourPreview.Location = new Point(279, 118);

            pressedTextColourPreview.Location = new Point(409, 118);

            disabledColourPreview.Location = new Point(539, 118);

            linkNormalColourPreview.Location = new Point(669, 118);

            linkFocusedColourPreview.Location = new Point(799, 118);
            #endregion

            #region Third Row
            linkHoverColourPreview.Location = new Point(19, 222);

            linkVisitedColourPreview.Location = new Point(149, 222);

            customColourOne.Location = new Point(279, 222);

            customColourTwo.Location = new Point(409, 222);

            customColourThree.Location = new Point(539, 222);

            customColourFour.Location = new Point(669, 222);

            customColourFive.Location = new Point(799, 222);
            #endregion

            #region Fourth Row
            customTextColourOne.Location = new Point(19, 326);

            customTextColourTwo.Location = new Point(149, 326);

            customTextColourThree.Location = new Point(279, 326);

            customTextColourFour.Location = new Point(409, 326);

            customTextColourFive.Location = new Point(539, 326);

            menuTextColourPreview.Location = new Point(669, 326);

            statusTextColourPreview.Location = new Point(799, 326);
            #endregion

            #region Fifth Row
            ribbonTabTextColourPreview.Location = new Point(19, 430);
            #endregion
        }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KryptonPaletteColourMixerBasic));
     this.kpnlButtons      = new Krypton.Toolkit.KryptonPanel();
     this.panel1           = new System.Windows.Forms.Panel();
     this.kryptonPanel1    = new Krypton.Toolkit.KryptonPanel();
     this.cpbColourPreview = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox();
     this.kbtnOk           = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonOKDialogButton();
     this.kbtnCancel       = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonCancelDialogButton();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).BeginInit();
     this.kpnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlButtons
     //
     this.kpnlButtons.Controls.Add(this.kbtnOk);
     this.kpnlButtons.Controls.Add(this.kbtnCancel);
     this.kpnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlButtons.Location = new System.Drawing.Point(0, 217);
     this.kpnlButtons.Name     = "kpnlButtons";
     this.kpnlButtons.Size     = new System.Drawing.Size(629, 44);
     this.kpnlButtons.TabIndex = 4;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 214);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(629, 3);
     this.panel1.TabIndex  = 6;
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.cpbColourPreview);
     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(629, 214);
     this.kryptonPanel1.TabIndex = 7;
     //
     // cpbColourPreview
     //
     this.cpbColourPreview.BackColor     = System.Drawing.SystemColors.Control;
     this.cpbColourPreview.Location      = new System.Drawing.Point(12, 12);
     this.cpbColourPreview.Name          = "cpbColourPreview";
     this.cpbColourPreview.Size          = new System.Drawing.Size(196, 196);
     this.cpbColourPreview.TabIndex      = 8;
     this.cpbColourPreview.TabStop       = false;
     this.cpbColourPreview.ToolTipValues = null;
     //
     // 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(431, 7);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.Size = new System.Drawing.Size(90, 25);
     this.kbtnOk.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnOk.TabIndex    = 2;
     this.kbtnOk.Values.Text = "&OK";
     //
     // 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(527, 7);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.Size = new System.Drawing.Size(90, 25);
     this.kbtnCancel.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCancel.TabIndex    = 2;
     this.kbtnCancel.Values.Text = "C&ancel";
     //
     // KryptonPaletteColourMixerBasic
     //
     this.ClientSize = new System.Drawing.Size(629, 261);
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kpnlButtons);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonPaletteColourMixerBasic";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Basic Colour Mixer";
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).EndInit();
     this.kpnlButtons.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).EndInit();
     this.ResumeLayout(false);
 }
예제 #10
0
        internal static void GenerateColourShades(Color baseColour, CircularPictureBox darkColour, CircularPictureBox mediumColour, CircularPictureBox lightColour, CircularPictureBox lightestColour, float darkestColourIntensity, float mediumColourIntensity, float lightColourIntensity, float lightestColourIntensity)
        {
            if (baseColour != null || baseColour.IsEmpty || baseColour == Color.Transparent)
            {
                darkColour.BackColor = Darken(baseColour, darkestColourIntensity);

                mediumColour.BackColor = Darken(baseColour, mediumColourIntensity);

                lightColour.BackColor = Lighten(baseColour, lightColourIntensity);

                lightestColour.BackColor = Lighten(baseColour, lightestColourIntensity);
            }
        }
예제 #11
0
 private void InitializeComponent()
 {
     this.kryptonPanel1     = new Krypton.Toolkit.KryptonPanel();
     this.kbtnOk            = new Krypton.Toolkit.KryptonButton();
     this.kbtnCancel        = new Krypton.Toolkit.KryptonButton();
     this.kryptonPanel2     = new Krypton.Toolkit.KryptonPanel();
     this.panel1            = new System.Windows.Forms.Panel();
     this.cwColourSelector  = new ColourWheelControl();
     this.krvlRed           = new KryptonRedValueLabel();
     this.kbvlBlue          = new KryptonBlueValueLabel();
     this.cpbSelectedColour = new 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.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.Typeface    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.krvlRed.Values.Text = "Red Value: ";
     //
     // kbvlBlue
     //
     this.kbvlBlue.Location  = new System.Drawing.Point(504, 384);
     this.kbvlBlue.Name      = "kbvlBlue";
     this.kbvlBlue.BlueValue = 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.Typeface    = 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);
 }
예제 #12
0
 private void InitializeComponent()
 {
     this.kryptonPanel1             = new Krypton.Toolkit.KryptonPanel();
     this.kbtnOk                    = new Krypton.Toolkit.KryptonButton();
     this.kbtnCancel                = new Krypton.Toolkit.KryptonButton();
     this.panel1                    = new System.Windows.Forms.Panel();
     this.kryptonPanel2             = new Krypton.Toolkit.KryptonPanel();
     this.kbtnCustomColours         = new Krypton.Toolkit.KryptonButton();
     this.kbtnSaveColourPalette     = new Krypton.Toolkit.KryptonButton();
     this.kbtnLoadColourPalette     = new Krypton.Toolkit.KryptonButton();
     this.knumBlue                  = new Krypton.Toolkit.Extended.Colour.Controls.KryptonBlueValueNumericBox();
     this.knumGreen                 = new Krypton.Toolkit.Extended.Colour.Controls.KryptonGreenValueNumericBox();
     this.knumNormalGreen           = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.knumNormalBlue            = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.knumRed                   = new Krypton.Toolkit.Extended.Colour.Controls.KryptonRedValueNumericBox();
     this.knumNormalRed             = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.kryptonBlueValueLabel1    = new Krypton.Toolkit.Extended.Colour.Controls.KryptonBlueValueLabel();
     this.kryptonRedValueLabel1     = new Krypton.Toolkit.Extended.Colour.Controls.KryptonRedValueLabel();
     this.klblNormalBlue            = new Krypton.Toolkit.KryptonLabel();
     this.klblNormalRed             = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel6             = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel5             = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel4             = new Krypton.Toolkit.KryptonLabel();
     this.kryptonLabel3             = new Krypton.Toolkit.KryptonLabel();
     this.knumBrightness            = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.knumHue                   = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.knumSaturation            = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.knumAlpha                 = new Krypton.Toolkit.Extended.Colour.Controls.KryptonAlphaValueNumericBox();
     this.kryptonLabel2             = new Krypton.Toolkit.KryptonLabel();
     this.ktbHexadecimalColourValue = new Krypton.Toolkit.KryptonTextBox();
     this.kryptonLabel1             = new Krypton.Toolkit.KryptonLabel();
     this.cwColours                 = new Krypton.Toolkit.Extended.Colour.Controls.ColourWheelControl();
     this.cpbSelectedColour         = new Krypton.Toolkit.Extended.Base.CircularPictureBox();
     this.kryptonGreenValueLabel1   = new Krypton.Toolkit.Extended.Colour.Controls.KryptonGreenValueLabel();
     ((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, 452);
     this.kryptonPanel1.Name     = "kryptonPanel1";
     this.kryptonPanel1.Size     = new System.Drawing.Size(611, 48);
     this.kryptonPanel1.TabIndex = 1;
     //
     // 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(405, 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(505, 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);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 449);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(611, 3);
     this.panel1.TabIndex  = 3;
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kryptonGreenValueLabel1);
     this.kryptonPanel2.Controls.Add(this.kbtnCustomColours);
     this.kryptonPanel2.Controls.Add(this.kbtnSaveColourPalette);
     this.kryptonPanel2.Controls.Add(this.kbtnLoadColourPalette);
     this.kryptonPanel2.Controls.Add(this.knumBlue);
     this.kryptonPanel2.Controls.Add(this.knumGreen);
     this.kryptonPanel2.Controls.Add(this.knumNormalGreen);
     this.kryptonPanel2.Controls.Add(this.knumNormalBlue);
     this.kryptonPanel2.Controls.Add(this.knumRed);
     this.kryptonPanel2.Controls.Add(this.knumNormalRed);
     this.kryptonPanel2.Controls.Add(this.kryptonBlueValueLabel1);
     this.kryptonPanel2.Controls.Add(this.kryptonRedValueLabel1);
     this.kryptonPanel2.Controls.Add(this.klblNormalBlue);
     this.kryptonPanel2.Controls.Add(this.klblNormalRed);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel6);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel5);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel4);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel3);
     this.kryptonPanel2.Controls.Add(this.knumBrightness);
     this.kryptonPanel2.Controls.Add(this.knumHue);
     this.kryptonPanel2.Controls.Add(this.knumSaturation);
     this.kryptonPanel2.Controls.Add(this.knumAlpha);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel2);
     this.kryptonPanel2.Controls.Add(this.ktbHexadecimalColourValue);
     this.kryptonPanel2.Controls.Add(this.kryptonLabel1);
     this.kryptonPanel2.Controls.Add(this.cpbSelectedColour);
     this.kryptonPanel2.Controls.Add(this.cwColours);
     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(611, 449);
     this.kryptonPanel2.TabIndex = 4;
     //
     // kbtnCustomColours
     //
     this.kbtnCustomColours.Location = new System.Drawing.Point(12, 272);
     this.kbtnCustomColours.Name     = "kbtnCustomColours";
     this.kbtnCustomColours.Size     = new System.Drawing.Size(190, 28);
     this.kbtnCustomColours.StateCommon.Content.LongText.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCustomColours.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnCustomColours.TabIndex    = 106;
     this.kbtnCustomColours.Values.Text = "C&stom Colours...";
     this.kbtnCustomColours.Click      += new System.EventHandler(this.KbtnCustomColours_Click);
     //
     // kbtnSaveColourPalette
     //
     this.kbtnSaveColourPalette.Location     = new System.Drawing.Point(41, 231);
     this.kbtnSaveColourPalette.Name         = "kbtnSaveColourPalette";
     this.kbtnSaveColourPalette.Size         = new System.Drawing.Size(23, 23);
     this.kbtnSaveColourPalette.TabIndex     = 105;
     this.kbtnSaveColourPalette.Values.Image = LibraryResources.palette_save;
     this.kbtnSaveColourPalette.Values.Text  = "";
     this.kbtnSaveColourPalette.Click       += new System.EventHandler(this.KbtnSaveColourPalette_Click);
     //
     // kbtnLoadColourPalette
     //
     this.kbtnLoadColourPalette.Location     = new System.Drawing.Point(12, 231);
     this.kbtnLoadColourPalette.Name         = "kbtnLoadColourPalette";
     this.kbtnLoadColourPalette.Size         = new System.Drawing.Size(23, 23);
     this.kbtnLoadColourPalette.TabIndex     = 104;
     this.kbtnLoadColourPalette.Values.Image = LibraryResources.palette_load;
     this.kbtnLoadColourPalette.Values.Text  = "";
     this.kbtnLoadColourPalette.Click       += new System.EventHandler(this.KbtnLoadColourPalette_Click);
     //
     // knumBlue
     //
     this.knumBlue.Location = new System.Drawing.Point(505, 399);
     this.knumBlue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBlue.Name = "knumBlue";
     this.knumBlue.Size = new System.Drawing.Size(94, 22);
     this.knumBlue.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.knumBlue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumBlue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBlue.TabIndex        = 5;
     this.knumBlue.Typeface        = null;
     this.knumBlue.UseAccessibleUI = false;
     this.knumBlue.ValueChanged   += new System.EventHandler(this.KnumBlue_ValueChanged);
     //
     // knumGreen
     //
     this.knumGreen.Location = new System.Drawing.Point(505, 336);
     this.knumGreen.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumGreen.Name = "knumGreen";
     this.knumGreen.Size = new System.Drawing.Size(94, 22);
     this.knumGreen.StateCommon.Back.Color1    = System.Drawing.Color.Green;
     this.knumGreen.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumGreen.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumGreen.TabIndex        = 90;
     this.knumGreen.Typeface        = null;
     this.knumGreen.UseAccessibleUI = false;
     this.knumGreen.ValueChanged   += new System.EventHandler(this.KnumGreen_ValueChanged);
     //
     // knumNormalGreen
     //
     this.knumNormalGreen.Location = new System.Drawing.Point(505, 336);
     this.knumNormalGreen.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumNormalGreen.Name = "knumNormalGreen";
     this.knumNormalGreen.Size = new System.Drawing.Size(94, 22);
     this.knumNormalGreen.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumNormalGreen.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumNormalGreen.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumNormalGreen.TabIndex      = 103;
     this.knumNormalGreen.Typeface      = null;
     this.knumNormalGreen.ValueChanged += new System.EventHandler(this.KnumNormalGreen_ValueChanged);
     //
     // knumNormalBlue
     //
     this.knumNormalBlue.Location = new System.Drawing.Point(505, 399);
     this.knumNormalBlue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumNormalBlue.Name = "knumNormalBlue";
     this.knumNormalBlue.Size = new System.Drawing.Size(94, 22);
     this.knumNormalBlue.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumNormalBlue.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumNormalBlue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumNormalBlue.TabIndex      = 102;
     this.knumNormalBlue.Typeface      = null;
     this.knumNormalBlue.ValueChanged += new System.EventHandler(this.KnumNormalBlue_ValueChanged);
     //
     // knumRed
     //
     this.knumRed.Location = new System.Drawing.Point(505, 283);
     this.knumRed.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumRed.Name = "knumRed";
     this.knumRed.Size = new System.Drawing.Size(94, 22);
     this.knumRed.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.knumRed.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumRed.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumRed.TabIndex        = 89;
     this.knumRed.Typeface        = null;
     this.knumRed.UseAccessibleUI = false;
     this.knumRed.ValueChanged   += new System.EventHandler(this.KnumRed_ValueChanged);
     //
     // knumNormalRed
     //
     this.knumNormalRed.Location = new System.Drawing.Point(505, 283);
     this.knumNormalRed.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumNormalRed.Name = "knumNormalRed";
     this.knumNormalRed.Size = new System.Drawing.Size(94, 22);
     this.knumNormalRed.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumNormalRed.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumNormalRed.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumNormalRed.TabIndex      = 101;
     this.knumNormalRed.Typeface      = null;
     this.knumNormalRed.ValueChanged += new System.EventHandler(this.KnumNormalRed_ValueChanged);
     //
     // kryptonBlueValueLabel1
     //
     this.kryptonBlueValueLabel1.BlueValue = 255;
     this.kryptonBlueValueLabel1.ExtraText = "Blue";
     this.kryptonBlueValueLabel1.Location  = new System.Drawing.Point(449, 399);
     this.kryptonBlueValueLabel1.Name      = "kryptonBlueValueLabel1";
     this.kryptonBlueValueLabel1.ShowColon = false;
     this.kryptonBlueValueLabel1.ShowCurrentColourValue = false;
     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        = 5;
     this.kryptonBlueValueLabel1.Typeface        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.UseAccessibleUI = false;
     this.kryptonBlueValueLabel1.Values.Text     = "Blue:";
     //
     // kryptonRedValueLabel1
     //
     this.kryptonRedValueLabel1.ExtraText = "Red";
     this.kryptonRedValueLabel1.Location  = new System.Drawing.Point(453, 283);
     this.kryptonRedValueLabel1.Name      = "kryptonRedValueLabel1";
     this.kryptonRedValueLabel1.RedValue  = 255;
     this.kryptonRedValueLabel1.ShowColon = false;
     this.kryptonRedValueLabel1.ShowCurrentColourValue = false;
     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.Typeface        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.UseAccessibleUI = false;
     this.kryptonRedValueLabel1.Values.Text     = "Red:";
     //
     // klblNormalBlue
     //
     this.klblNormalBlue.Location = new System.Drawing.Point(449, 399);
     this.klblNormalBlue.Name     = "klblNormalBlue";
     this.klblNormalBlue.Size     = new System.Drawing.Size(50, 26);
     this.klblNormalBlue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblNormalBlue.TabIndex    = 100;
     this.klblNormalBlue.Values.Text = "Blue:";
     //
     // klblNormalRed
     //
     this.klblNormalRed.Location = new System.Drawing.Point(449, 283);
     this.klblNormalRed.Name     = "klblNormalRed";
     this.klblNormalRed.Size     = new System.Drawing.Size(46, 26);
     this.klblNormalRed.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblNormalRed.TabIndex    = 98;
     this.klblNormalRed.Values.Text = "Red:";
     //
     // kryptonLabel6
     //
     this.kryptonLabel6.Location = new System.Drawing.Point(437, 231);
     this.kryptonLabel6.Name     = "kryptonLabel6";
     this.kryptonLabel6.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel6.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel6.TabIndex    = 97;
     this.kryptonLabel6.Values.Text = "Alpha:";
     //
     // kryptonLabel5
     //
     this.kryptonLabel5.Location = new System.Drawing.Point(306, 399);
     this.kryptonLabel5.Name     = "kryptonLabel5";
     this.kryptonLabel5.Size     = new System.Drawing.Size(27, 26);
     this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.TabIndex    = 96;
     this.kryptonLabel5.Values.Text = "B:";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(306, 336);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(26, 26);
     this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.TabIndex    = 95;
     this.kryptonLabel4.Values.Text = "S:";
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(306, 283);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(29, 26);
     this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.TabIndex    = 94;
     this.kryptonLabel3.Values.Text = "H:";
     //
     // knumBrightness
     //
     this.knumBrightness.Location = new System.Drawing.Point(341, 399);
     this.knumBrightness.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBrightness.Name = "knumBrightness";
     this.knumBrightness.Size = new System.Drawing.Size(91, 22);
     this.knumBrightness.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumBrightness.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumBrightness.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBrightness.TabIndex      = 93;
     this.knumBrightness.Typeface      = null;
     this.knumBrightness.ValueChanged += new System.EventHandler(this.KnumBrightness_ValueChanged);
     //
     // knumHue
     //
     this.knumHue.Location = new System.Drawing.Point(341, 283);
     this.knumHue.Maximum  = new decimal(new int[] {
         360,
         0,
         0,
         0
     });
     this.knumHue.Name = "knumHue";
     this.knumHue.Size = new System.Drawing.Size(91, 22);
     this.knumHue.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumHue.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumHue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumHue.TabIndex      = 91;
     this.knumHue.Typeface      = null;
     this.knumHue.ValueChanged += new System.EventHandler(this.KnumHue_ValueChanged);
     //
     // knumSaturation
     //
     this.knumSaturation.Location = new System.Drawing.Point(341, 336);
     this.knumSaturation.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumSaturation.Name = "knumSaturation";
     this.knumSaturation.Size = new System.Drawing.Size(91, 22);
     this.knumSaturation.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumSaturation.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumSaturation.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumSaturation.TabIndex      = 92;
     this.knumSaturation.Typeface      = null;
     this.knumSaturation.ValueChanged += new System.EventHandler(this.KnumSaturation_ValueChanged);
     //
     // knumAlpha
     //
     this.knumAlpha.Location = new System.Drawing.Point(505, 231);
     this.knumAlpha.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumAlpha.Name = "knumAlpha";
     this.knumAlpha.Size = new System.Drawing.Size(94, 22);
     this.knumAlpha.StateCommon.Back.Color1    = System.Drawing.Color.White;
     this.knumAlpha.StateCommon.Content.Color1 = System.Drawing.Color.Black;
     this.knumAlpha.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumAlpha.TabIndex      = 5;
     this.knumAlpha.Typeface      = null;
     this.knumAlpha.ValueChanged += new System.EventHandler(this.KnumAlpha_ValueChanged);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(341, 56);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(138, 26);
     this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.TabIndex    = 88;
     this.kryptonLabel2.Values.Text = "Selected Colour:";
     //
     // ktbHexadecimalColourValue
     //
     this.ktbHexadecimalColourValue.Hint      = "#000000";
     this.ktbHexadecimalColourValue.Location  = new System.Drawing.Point(423, 152);
     this.ktbHexadecimalColourValue.MaxLength = 7;
     this.ktbHexadecimalColourValue.Name      = "ktbHexadecimalColourValue";
     this.ktbHexadecimalColourValue.Size      = new System.Drawing.Size(176, 29);
     this.ktbHexadecimalColourValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ktbHexadecimalColourValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.ktbHexadecimalColourValue.TabIndex     = 87;
     this.ktbHexadecimalColourValue.TextAlign    = System.Windows.Forms.HorizontalAlignment.Center;
     this.ktbHexadecimalColourValue.TextChanged += new System.EventHandler(this.KtbHexadecimalColourValue_TextChanged);
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(245, 154);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(172, 26);
     this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.TabIndex    = 86;
     this.kryptonLabel1.Values.Text = "Hexadecimal Colour:";
     //
     // cwColours
     //
     this.cwColours.BackColor      = System.Drawing.Color.Transparent;
     this.cwColours.Location       = new System.Drawing.Point(12, 12);
     this.cwColours.Name           = "cwColours";
     this.cwColours.Size           = new System.Drawing.Size(247, 190);
     this.cwColours.TabIndex       = 5;
     this.cwColours.ColourChanged += new System.EventHandler(this.CwColours_ColourChanged);
     //
     // cpbSelectedColour
     //
     this.cpbSelectedColour.BackColor         = System.Drawing.Color.Transparent;
     this.cpbSelectedColour.Location          = new System.Drawing.Point(485, 12);
     this.cpbSelectedColour.Name              = "cpbSelectedColour";
     this.cpbSelectedColour.Size              = new System.Drawing.Size(114, 114);
     this.cpbSelectedColour.TabIndex          = 5;
     this.cpbSelectedColour.TabStop           = false;
     this.cpbSelectedColour.ToolTipValues     = null;
     this.cpbSelectedColour.BackColorChanged += new System.EventHandler(this.CpbSelectedColour_BackColorChanged);
     //
     // kryptonGreenValueLabel1
     //
     this.kryptonGreenValueLabel1.ExtraText                    = "Green";
     this.kryptonGreenValueLabel1.GreenValue                   = 0;
     this.kryptonGreenValueLabel1.Location                     = new System.Drawing.Point(437, 336);
     this.kryptonGreenValueLabel1.Name                         = "kryptonGreenValueLabel1";
     this.kryptonGreenValueLabel1.ShowColon                    = false;
     this.kryptonGreenValueLabel1.ShowCurrentColourValue       = false;
     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                     = 107;
     this.kryptonGreenValueLabel1.Typeface                     = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonGreenValueLabel1.UseAccessibleUI              = false;
     this.kryptonGreenValueLabel1.Values.Text                  = "Green:";
     //
     // KryptonColourButtonCustomColourDialog
     //
     this.ClientSize = new System.Drawing.Size(611, 500);
     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            = "KryptonColourButtonCustomColourDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.KryptonColourButtonCustomColourDialog_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);
 }
예제 #13
0
 private void InitializeComponent()
 {
     this.kpnlMain = new Krypton.Toolkit.KryptonPanel();
     this.kbtnSaveColourPalette = new Krypton.Toolkit.KryptonButton();
     this.kbtnLoadColourPalette = new Krypton.Toolkit.KryptonButton();
     this.ceColour        = new Krypton.Toolkit.Extended.Colour.Controls.ColourEditorUserControl();
     this.ceEditor        = new Cyotek.Windows.Forms.ColorEditor();
     this.kbtnCancel      = new Krypton.Toolkit.KryptonButton();
     this.kbtnOk          = new Krypton.Toolkit.KryptonButton();
     this.cwColourPicker  = new Krypton.Toolkit.Extended.Colour.Controls.ColourWheelControl();
     this.cgColourPalette = new ColourGridControl();
     this.cem             = new Krypton.Toolkit.Extended.Colour.Controls.ColourEditorManager();
     this.cbColourPreview = new Krypton.Toolkit.Extended.Base.CircularPictureBox();
     this.scpPicker       = new Krypton.Toolkit.Extended.Colour.Controls.ScreenColourPickerControl();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlMain)).BeginInit();
     this.kpnlMain.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbColourPreview)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlMain
     //
     this.kpnlMain.Controls.Add(this.scpPicker);
     this.kpnlMain.Controls.Add(this.kbtnSaveColourPalette);
     this.kpnlMain.Controls.Add(this.kbtnLoadColourPalette);
     this.kpnlMain.Controls.Add(this.ceColour);
     this.kpnlMain.Controls.Add(this.ceEditor);
     this.kpnlMain.Controls.Add(this.kbtnCancel);
     this.kpnlMain.Controls.Add(this.kbtnOk);
     this.kpnlMain.Controls.Add(this.cbColourPreview);
     this.kpnlMain.Controls.Add(this.cwColourPicker);
     this.kpnlMain.Controls.Add(this.cgColourPalette);
     this.kpnlMain.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlMain.Location = new System.Drawing.Point(0, 0);
     this.kpnlMain.Name     = "kpnlMain";
     this.kpnlMain.Size     = new System.Drawing.Size(643, 483);
     this.kpnlMain.TabIndex = 0;
     //
     // kbtnSaveColourPalette
     //
     this.kbtnSaveColourPalette.Location     = new System.Drawing.Point(41, 300);
     this.kbtnSaveColourPalette.Name         = "kbtnSaveColourPalette";
     this.kbtnSaveColourPalette.Size         = new System.Drawing.Size(23, 23);
     this.kbtnSaveColourPalette.TabIndex     = 5;
     this.kbtnSaveColourPalette.Values.Image = LibraryResources.palette_save;
     this.kbtnSaveColourPalette.Values.Text  = "";
     this.kbtnSaveColourPalette.Click       += new System.EventHandler(this.KbtnSaveColourPalette_Click);
     //
     // kbtnLoadColourPalette
     //
     this.kbtnLoadColourPalette.Location     = new System.Drawing.Point(12, 300);
     this.kbtnLoadColourPalette.Name         = "kbtnLoadColourPalette";
     this.kbtnLoadColourPalette.Size         = new System.Drawing.Size(23, 23);
     this.kbtnLoadColourPalette.TabIndex     = 1;
     this.kbtnLoadColourPalette.Values.Image = LibraryResources.palette_load;
     this.kbtnLoadColourPalette.Values.Text  = "";
     this.kbtnLoadColourPalette.Click       += new System.EventHandler(this.KbtnLoadColourPalette_Click);
     //
     // ceColour
     //
     this.ceColour.BackColor = System.Drawing.Color.Transparent;
     this.ceColour.Location  = new System.Drawing.Point(249, 20);
     this.ceColour.Name      = "ceColour";
     this.ceColour.Size      = new System.Drawing.Size(246, 371);
     this.ceColour.TabIndex  = 1;
     //
     // ceEditor
     //
     this.ceEditor.BackColor = System.Drawing.Color.Transparent;
     this.ceEditor.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ceEditor.Location  = new System.Drawing.Point(249, 20);
     this.ceEditor.Margin    = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.ceEditor.Name      = "ceEditor";
     this.ceEditor.Size      = new System.Drawing.Size(246, 371);
     this.ceEditor.TabIndex  = 1;
     this.ceEditor.Visible   = false;
     //
     // kbtnCancel
     //
     this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kbtnCancel.Location     = new System.Drawing.Point(501, 64);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.Size         = new System.Drawing.Size(130, 38);
     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    = 4;
     this.kbtnCancel.Values.Text = "C&ancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.KbtnCancel_Click);
     //
     // kbtnOk
     //
     this.kbtnOk.Location = new System.Drawing.Point(501, 20);
     this.kbtnOk.Name     = "kbtnOk";
     this.kbtnOk.Size     = new System.Drawing.Size(130, 38);
     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    = 3;
     this.kbtnOk.Values.Text = "&Ok";
     this.kbtnOk.Click      += new System.EventHandler(this.KbtnOk_Click);
     //
     // cwColourPicker
     //
     this.cwColourPicker.BackColor = System.Drawing.Color.Transparent;
     this.cwColourPicker.Location  = new System.Drawing.Point(12, 20);
     this.cwColourPicker.Name      = "cwColourPicker";
     this.cwColourPicker.Size      = new System.Drawing.Size(231, 212);
     this.cwColourPicker.TabIndex  = 1;
     //
     // cgColourPalette
     //
     this.cgColourPalette.AutoAddColours    = false;
     this.cgColourPalette.BackColor         = System.Drawing.Color.Transparent;
     this.cgColourPalette.CellSize          = new System.Drawing.Size(11, 12);
     this.cgColourPalette.EditMode          = ColourEditingMode.Both;
     this.cgColourPalette.Location          = new System.Drawing.Point(12, 329);
     this.cgColourPalette.Name              = "cgColourPalette";
     this.cgColourPalette.SelectedCellStyle = ColourGridSelectedCellStyle.Standard;
     this.cgColourPalette.ShowCustomColours = false;
     this.cgColourPalette.Size              = new System.Drawing.Size(231, 142);
     this.cgColourPalette.TabIndex          = 1;
     this.cgColourPalette.EditingColour    += new EventHandler <EditColourCancelEventArgs>(CgColourPalette_EditingColour);
     //
     // cem
     //
     this.cem.Color          = System.Drawing.Color.Empty;
     this.cem.ColourWheel    = this.cwColourPicker;
     this.cem.ColorChanged  += new System.EventHandler(this.Cem_ColorChanged);
     this.cem.ColourChanged += new System.EventHandler(this.Cem_ColourChanged);
     //
     // cbColourPreview
     //
     this.cbColourPreview.BackColor     = System.Drawing.SystemColors.Control;
     this.cbColourPreview.Location      = new System.Drawing.Point(501, 341);
     this.cbColourPreview.Name          = "cbColourPreview";
     this.cbColourPreview.Size          = new System.Drawing.Size(130, 130);
     this.cbColourPreview.TabIndex      = 2;
     this.cbColourPreview.TabStop       = false;
     this.cbColourPreview.ToolTipValues = null;
     this.cbColourPreview.Paint        += new System.Windows.Forms.PaintEventHandler(this.CbColourPreview_Paint);
     //
     // scpPicker
     //
     this.scpPicker.Colour   = System.Drawing.Color.Empty;
     this.scpPicker.Image    = global::Krypton.Toolkit.Extended.Colour.Controls.Properties.Resources.eyedropper;
     this.scpPicker.Location = new System.Drawing.Point(501, 108);
     this.scpPicker.Name     = "scpPicker";
     this.scpPicker.Size     = new System.Drawing.Size(130, 100);
     //
     // ColourPickerDialog
     //
     this.AcceptButton = this.kbtnOk;
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(643, 483);
     this.Controls.Add(this.kpnlMain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ColourPickerDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Text            = "Colour Picker";
     this.Load           += new System.EventHandler(this.ColourPickerDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlMain)).EndInit();
     this.kpnlMain.ResumeLayout(false);
     this.kpnlMain.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbColourPreview)).EndInit();
     this.ResumeLayout(false);
 }
예제 #14
0
 private void InitializeComponent()
 {
     this.kpnlContent                     = new Krypton.Toolkit.KryptonPanel();
     this.kryptonBlueValueLabel1          = new KryptonBlueValueLabel();
     this.kryptonRedValueLabel1           = new KryptonRedValueLabel();
     this.kbtnContrastColourGenerateAlpha = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel1                   = new Krypton.Toolkit.KryptonLabel();
     this.cpbContrastColour               = new CircularPictureBox();
     this.kryptonLabel12                  = new Krypton.Toolkit.KryptonLabel();
     this.cpbBaseColour                   = new CircularPictureBox();
     this.kryptonLabel2                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnUtiliseContrastColour       = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel3                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnUtiliseBaseColour           = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel4                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnContrastColourGenerateBlue  = new Krypton.Toolkit.KryptonButton();
     this.knumBaseRedChannelValue         = new Krypton.Toolkit.KryptonNumericUpDown();
     this.kbtnContrastColourGenerateGreen = new Krypton.Toolkit.KryptonButton();
     this.knumBaseGreenChannelValue       = new Krypton.Toolkit.KryptonNumericUpDown();
     this.kbtnContrastColourGenerateRed   = new Krypton.Toolkit.KryptonButton();
     this.knumBaseBlueChannelValue        = new Krypton.Toolkit.KryptonNumericUpDown();
     this.kbtnGenerateBaseAlphaValue      = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel10                  = new Krypton.Toolkit.KryptonLabel();
     this.kbtnInvertColours               = new Krypton.Toolkit.KryptonButton();
     this.knumBaseAlphaChannelValue       = new Krypton.Toolkit.KryptonNumericUpDown();
     this.kbtnGenerateComplementaryColour = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel8                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateBlueValue           = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel7                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateGreenValue          = new Krypton.Toolkit.KryptonButton();
     this.kryptonLabel6                   = new Krypton.Toolkit.KryptonLabel();
     this.kbtnGenerateRedValue            = new Krypton.Toolkit.KryptonButton();
     this.knumContrastRedChannelValue     = new Krypton.Toolkit.KryptonNumericUpDown();
     this.knumContrastAlphaChannelValue   = new Krypton.Toolkit.KryptonNumericUpDown();
     this.knumContrastGreenChannelValue   = new Krypton.Toolkit.KryptonNumericUpDown();
     this.kryptonLabel5                   = new Krypton.Toolkit.KryptonLabel();
     this.knumContrastBlueChannelValue    = new Krypton.Toolkit.KryptonNumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).BeginInit();
     this.kpnlContent.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbContrastColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlContent
     //
     this.kpnlContent.Controls.Add(this.kryptonBlueValueLabel1);
     this.kpnlContent.Controls.Add(this.kryptonRedValueLabel1);
     this.kpnlContent.Controls.Add(this.kbtnContrastColourGenerateAlpha);
     this.kpnlContent.Controls.Add(this.kryptonLabel1);
     this.kpnlContent.Controls.Add(this.cpbContrastColour);
     this.kpnlContent.Controls.Add(this.kryptonLabel12);
     this.kpnlContent.Controls.Add(this.cpbBaseColour);
     this.kpnlContent.Controls.Add(this.kryptonLabel2);
     this.kpnlContent.Controls.Add(this.kbtnUtiliseContrastColour);
     this.kpnlContent.Controls.Add(this.kryptonLabel3);
     this.kpnlContent.Controls.Add(this.kbtnUtiliseBaseColour);
     this.kpnlContent.Controls.Add(this.kryptonLabel4);
     this.kpnlContent.Controls.Add(this.kbtnContrastColourGenerateBlue);
     this.kpnlContent.Controls.Add(this.knumBaseRedChannelValue);
     this.kpnlContent.Controls.Add(this.kbtnContrastColourGenerateGreen);
     this.kpnlContent.Controls.Add(this.knumBaseGreenChannelValue);
     this.kpnlContent.Controls.Add(this.kbtnContrastColourGenerateRed);
     this.kpnlContent.Controls.Add(this.knumBaseBlueChannelValue);
     this.kpnlContent.Controls.Add(this.kbtnGenerateBaseAlphaValue);
     this.kpnlContent.Controls.Add(this.kryptonLabel10);
     this.kpnlContent.Controls.Add(this.kbtnInvertColours);
     this.kpnlContent.Controls.Add(this.knumBaseAlphaChannelValue);
     this.kpnlContent.Controls.Add(this.kbtnGenerateComplementaryColour);
     this.kpnlContent.Controls.Add(this.kryptonLabel8);
     this.kpnlContent.Controls.Add(this.kbtnGenerateBlueValue);
     this.kpnlContent.Controls.Add(this.kryptonLabel7);
     this.kpnlContent.Controls.Add(this.kbtnGenerateGreenValue);
     this.kpnlContent.Controls.Add(this.kryptonLabel6);
     this.kpnlContent.Controls.Add(this.kbtnGenerateRedValue);
     this.kpnlContent.Controls.Add(this.knumContrastRedChannelValue);
     this.kpnlContent.Controls.Add(this.knumContrastAlphaChannelValue);
     this.kpnlContent.Controls.Add(this.knumContrastGreenChannelValue);
     this.kpnlContent.Controls.Add(this.kryptonLabel5);
     this.kpnlContent.Controls.Add(this.knumContrastBlueChannelValue);
     this.kpnlContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpnlContent.Location = new System.Drawing.Point(0, 0);
     this.kpnlContent.Name     = "kpnlContent";
     this.kpnlContent.Size     = new System.Drawing.Size(883, 561);
     this.kpnlContent.TabIndex = 0;
     //
     // kryptonBlueValueLabel1
     //
     this.kryptonBlueValueLabel1.Location  = new System.Drawing.Point(330, 49);
     this.kryptonBlueValueLabel1.Name      = "kryptonBlueValueLabel1";
     this.kryptonBlueValueLabel1.BlueValue = 255;
     this.kryptonBlueValueLabel1.Size      = new System.Drawing.Size(201, 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    = 128;
     this.kryptonBlueValueLabel1.Typeface    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonBlueValueLabel1.Values.Text = "kryptonBlueValueLabel1";
     this.kryptonBlueValueLabel1.Visible     = false;
     //
     // kryptonRedValueLabel1
     //
     this.kryptonRedValueLabel1.Location = new System.Drawing.Point(330, 3);
     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    = 127;
     this.kryptonRedValueLabel1.Typeface    = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonRedValueLabel1.Values.Text = "Red:";
     this.kryptonRedValueLabel1.Visible     = false;
     //
     // kbtnContrastColourGenerateAlpha
     //
     this.kbtnContrastColourGenerateAlpha.AutoSize     = true;
     this.kbtnContrastColourGenerateAlpha.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnContrastColourGenerateAlpha.Location     = new System.Drawing.Point(734, 352);
     this.kbtnContrastColourGenerateAlpha.Name         = "kbtnContrastColourGenerateAlpha";
     this.kbtnContrastColourGenerateAlpha.Size         = new System.Drawing.Size(125, 30);
     this.kbtnContrastColourGenerateAlpha.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnContrastColourGenerateAlpha.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnContrastColourGenerateAlpha.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnContrastColourGenerateAlpha.TabIndex    = 126;
     this.kbtnContrastColourGenerateAlpha.Values.Text = "Generate &Alpha";
     //
     // kryptonLabel1
     //
     this.kryptonLabel1.Location = new System.Drawing.Point(627, 25);
     this.kryptonLabel1.Name     = "kryptonLabel1";
     this.kryptonLabel1.Size     = new System.Drawing.Size(174, 33);
     this.kryptonLabel1.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel1.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel1.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel1.TabIndex    = 98;
     this.kryptonLabel1.Values.Text = "Contrast Colour";
     //
     // cpbContrastColour
     //
     this.cpbContrastColour.BackColor         = System.Drawing.SystemColors.Control;
     this.cpbContrastColour.Location          = new System.Drawing.Point(574, 64);
     this.cpbContrastColour.Name              = "cpbContrastColour";
     this.cpbContrastColour.Size              = new System.Drawing.Size(285, 280);
     this.cpbContrastColour.TabIndex          = 96;
     this.cpbContrastColour.TabStop           = false;
     this.cpbContrastColour.BackColorChanged += new System.EventHandler(this.CpbContrastColour_BackColorChanged);
     //
     // kryptonLabel12
     //
     this.kryptonLabel12.Location = new System.Drawing.Point(90, 25);
     this.kryptonLabel12.Name     = "kryptonLabel12";
     this.kryptonLabel12.Size     = new System.Drawing.Size(134, 33);
     this.kryptonLabel12.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel12.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel12.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel12.TabIndex    = 97;
     this.kryptonLabel12.Values.Text = "Base Colour";
     //
     // cpbBaseColour
     //
     this.cpbBaseColour.BackColor         = System.Drawing.SystemColors.Control;
     this.cpbBaseColour.Location          = new System.Drawing.Point(22, 64);
     this.cpbBaseColour.Name              = "cpbBaseColour";
     this.cpbBaseColour.Size              = new System.Drawing.Size(285, 280);
     this.cpbBaseColour.TabIndex          = 95;
     this.cpbBaseColour.TabStop           = false;
     this.cpbBaseColour.BackColorChanged += new System.EventHandler(this.CpbBaseColour_BackColorChanged);
     //
     // kryptonLabel2
     //
     this.kryptonLabel2.Location = new System.Drawing.Point(22, 397);
     this.kryptonLabel2.Name     = "kryptonLabel2";
     this.kryptonLabel2.Size     = new System.Drawing.Size(46, 26);
     this.kryptonLabel2.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel2.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel2.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel2.TabIndex    = 99;
     this.kryptonLabel2.Values.Text = "Red:";
     //
     // kbtnUtiliseContrastColour
     //
     this.kbtnUtiliseContrastColour.AutoSize     = true;
     this.kbtnUtiliseContrastColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnUtiliseContrastColour.Location     = new System.Drawing.Point(574, 520);
     this.kbtnUtiliseContrastColour.Name         = "kbtnUtiliseContrastColour";
     this.kbtnUtiliseContrastColour.Size         = new System.Drawing.Size(255, 30);
     this.kbtnUtiliseContrastColour.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnUtiliseContrastColour.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnUtiliseContrastColour.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnUtiliseContrastColour.TabIndex    = 125;
     this.kbtnUtiliseContrastColour.Values.Text = "Utilise &Contrast Colour for Palette";
     //
     // kryptonLabel3
     //
     this.kryptonLabel3.Location = new System.Drawing.Point(22, 439);
     this.kryptonLabel3.Name     = "kryptonLabel3";
     this.kryptonLabel3.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel3.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel3.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel3.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel3.TabIndex    = 100;
     this.kryptonLabel3.Values.Text = "Green:";
     //
     // kbtnUtiliseBaseColour
     //
     this.kbtnUtiliseBaseColour.AutoSize     = true;
     this.kbtnUtiliseBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnUtiliseBaseColour.Location     = new System.Drawing.Point(51, 520);
     this.kbtnUtiliseBaseColour.Name         = "kbtnUtiliseBaseColour";
     this.kbtnUtiliseBaseColour.Size         = new System.Drawing.Size(227, 30);
     this.kbtnUtiliseBaseColour.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnUtiliseBaseColour.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnUtiliseBaseColour.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnUtiliseBaseColour.TabIndex    = 124;
     this.kbtnUtiliseBaseColour.Values.Text = "Utilise &Base Colour for Palette";
     //
     // kryptonLabel4
     //
     this.kryptonLabel4.Location = new System.Drawing.Point(22, 484);
     this.kryptonLabel4.Name     = "kryptonLabel4";
     this.kryptonLabel4.Size     = new System.Drawing.Size(50, 26);
     this.kryptonLabel4.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel4.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel4.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel4.TabIndex    = 101;
     this.kryptonLabel4.Values.Text = "Blue:";
     //
     // kbtnContrastColourGenerateBlue
     //
     this.kbtnContrastColourGenerateBlue.AutoSize     = true;
     this.kbtnContrastColourGenerateBlue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnContrastColourGenerateBlue.Location     = new System.Drawing.Point(734, 484);
     this.kbtnContrastColourGenerateBlue.Name         = "kbtnContrastColourGenerateBlue";
     this.kbtnContrastColourGenerateBlue.Size         = new System.Drawing.Size(114, 30);
     this.kbtnContrastColourGenerateBlue.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnContrastColourGenerateBlue.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnContrastColourGenerateBlue.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnContrastColourGenerateBlue.TabIndex    = 123;
     this.kbtnContrastColourGenerateBlue.Values.Text = "Generate &Blue";
     //
     // knumBaseRedChannelValue
     //
     this.knumBaseRedChannelValue.Location = new System.Drawing.Point(90, 395);
     this.knumBaseRedChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBaseRedChannelValue.Name = "knumBaseRedChannelValue";
     this.knumBaseRedChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBaseRedChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.knumBaseRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumBaseRedChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBaseRedChannelValue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBaseRedChannelValue.TabIndex = 102;
     //
     // kbtnContrastColourGenerateGreen
     //
     this.kbtnContrastColourGenerateGreen.AutoSize     = true;
     this.kbtnContrastColourGenerateGreen.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnContrastColourGenerateGreen.Location     = new System.Drawing.Point(734, 441);
     this.kbtnContrastColourGenerateGreen.Name         = "kbtnContrastColourGenerateGreen";
     this.kbtnContrastColourGenerateGreen.Size         = new System.Drawing.Size(126, 30);
     this.kbtnContrastColourGenerateGreen.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnContrastColourGenerateGreen.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnContrastColourGenerateGreen.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnContrastColourGenerateGreen.TabIndex    = 122;
     this.kbtnContrastColourGenerateGreen.Values.Text = "Generate &Green";
     //
     // knumBaseGreenChannelValue
     //
     this.knumBaseGreenChannelValue.Location = new System.Drawing.Point(90, 439);
     this.knumBaseGreenChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBaseGreenChannelValue.Name = "knumBaseGreenChannelValue";
     this.knumBaseGreenChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBaseGreenChannelValue.StateCommon.Back.Color1   = System.Drawing.Color.Lime;
     this.knumBaseGreenChannelValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBaseGreenChannelValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBaseGreenChannelValue.TabIndex = 103;
     //
     // kbtnContrastColourGenerateRed
     //
     this.kbtnContrastColourGenerateRed.AutoSize     = true;
     this.kbtnContrastColourGenerateRed.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnContrastColourGenerateRed.Location     = new System.Drawing.Point(734, 397);
     this.kbtnContrastColourGenerateRed.Name         = "kbtnContrastColourGenerateRed";
     this.kbtnContrastColourGenerateRed.Size         = new System.Drawing.Size(111, 30);
     this.kbtnContrastColourGenerateRed.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnContrastColourGenerateRed.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnContrastColourGenerateRed.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnContrastColourGenerateRed.TabIndex    = 121;
     this.kbtnContrastColourGenerateRed.Values.Text = "Generate &Red";
     //
     // knumBaseBlueChannelValue
     //
     this.knumBaseBlueChannelValue.Location = new System.Drawing.Point(90, 482);
     this.knumBaseBlueChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBaseBlueChannelValue.Name = "knumBaseBlueChannelValue";
     this.knumBaseBlueChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBaseBlueChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.knumBaseBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumBaseBlueChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBaseBlueChannelValue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBaseBlueChannelValue.TabIndex = 104;
     //
     // kbtnGenerateBaseAlphaValue
     //
     this.kbtnGenerateBaseAlphaValue.AutoSize     = true;
     this.kbtnGenerateBaseAlphaValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateBaseAlphaValue.Location     = new System.Drawing.Point(216, 352);
     this.kbtnGenerateBaseAlphaValue.Name         = "kbtnGenerateBaseAlphaValue";
     this.kbtnGenerateBaseAlphaValue.Size         = new System.Drawing.Size(125, 30);
     this.kbtnGenerateBaseAlphaValue.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateBaseAlphaValue.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnGenerateBaseAlphaValue.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnGenerateBaseAlphaValue.TabIndex    = 120;
     this.kbtnGenerateBaseAlphaValue.Values.Text = "Generate &Alpha";
     //
     // kryptonLabel10
     //
     this.kryptonLabel10.Location = new System.Drawing.Point(22, 350);
     this.kryptonLabel10.Name     = "kryptonLabel10";
     this.kryptonLabel10.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel10.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel10.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel10.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel10.TabIndex    = 105;
     this.kryptonLabel10.Values.Text = "Alpha:";
     //
     // kbtnInvertColours
     //
     this.kbtnInvertColours.AutoSize     = true;
     this.kbtnInvertColours.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnInvertColours.Location     = new System.Drawing.Point(424, 177);
     this.kbtnInvertColours.Name         = "kbtnInvertColours";
     this.kbtnInvertColours.Size         = new System.Drawing.Size(36, 30);
     this.kbtnInvertColours.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnInvertColours.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnInvertColours.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnInvertColours.TabIndex    = 119;
     this.kbtnInvertColours.Values.Text = "<&--";
     this.kbtnInvertColours.Click      += new System.EventHandler(this.KbtnInvertColours_Click);
     //
     // knumBaseAlphaChannelValue
     //
     this.knumBaseAlphaChannelValue.Location = new System.Drawing.Point(90, 350);
     this.knumBaseAlphaChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumBaseAlphaChannelValue.Name = "knumBaseAlphaChannelValue";
     this.knumBaseAlphaChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumBaseAlphaChannelValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumBaseAlphaChannelValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumBaseAlphaChannelValue.TabIndex = 106;
     this.knumBaseAlphaChannelValue.Value    = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     //
     // kbtnGenerateComplementaryColour
     //
     this.kbtnGenerateComplementaryColour.AutoSize     = true;
     this.kbtnGenerateComplementaryColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateComplementaryColour.Location     = new System.Drawing.Point(424, 113);
     this.kbtnGenerateComplementaryColour.Name         = "kbtnGenerateComplementaryColour";
     this.kbtnGenerateComplementaryColour.Size         = new System.Drawing.Size(36, 30);
     this.kbtnGenerateComplementaryColour.StateCommon.Content.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kbtnGenerateComplementaryColour.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnGenerateComplementaryColour.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnGenerateComplementaryColour.TabIndex    = 118;
     this.kbtnGenerateComplementaryColour.Values.Text = "--&>";
     this.kbtnGenerateComplementaryColour.Click      += new System.EventHandler(this.KbtnGenerateComplementaryColour_Click);
     //
     // kryptonLabel8
     //
     this.kryptonLabel8.Location = new System.Drawing.Point(540, 399);
     this.kryptonLabel8.Name     = "kryptonLabel8";
     this.kryptonLabel8.Size     = new System.Drawing.Size(46, 26);
     this.kryptonLabel8.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel8.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel8.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel8.TabIndex    = 107;
     this.kryptonLabel8.Values.Text = "Red:";
     //
     // kbtnGenerateBlueValue
     //
     this.kbtnGenerateBlueValue.AutoSize     = true;
     this.kbtnGenerateBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateBlueValue.Location     = new System.Drawing.Point(216, 484);
     this.kbtnGenerateBlueValue.Name         = "kbtnGenerateBlueValue";
     this.kbtnGenerateBlueValue.Size         = new System.Drawing.Size(114, 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.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnGenerateBlueValue.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnGenerateBlueValue.TabIndex    = 117;
     this.kbtnGenerateBlueValue.Values.Text = "Generate &Blue";
     //
     // kryptonLabel7
     //
     this.kryptonLabel7.Location = new System.Drawing.Point(540, 441);
     this.kryptonLabel7.Name     = "kryptonLabel7";
     this.kryptonLabel7.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel7.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel7.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel7.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel7.TabIndex    = 108;
     this.kryptonLabel7.Values.Text = "Green:";
     //
     // kbtnGenerateGreenValue
     //
     this.kbtnGenerateGreenValue.AutoSize     = true;
     this.kbtnGenerateGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateGreenValue.Location     = new System.Drawing.Point(216, 441);
     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.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnGenerateGreenValue.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnGenerateGreenValue.TabIndex    = 116;
     this.kbtnGenerateGreenValue.Values.Text = "Generate &Green";
     //
     // kryptonLabel6
     //
     this.kryptonLabel6.Location = new System.Drawing.Point(540, 486);
     this.kryptonLabel6.Name     = "kryptonLabel6";
     this.kryptonLabel6.Size     = new System.Drawing.Size(50, 26);
     this.kryptonLabel6.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel6.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel6.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel6.TabIndex    = 109;
     this.kryptonLabel6.Values.Text = "Blue:";
     //
     // kbtnGenerateRedValue
     //
     this.kbtnGenerateRedValue.AutoSize     = true;
     this.kbtnGenerateRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnGenerateRedValue.Location     = new System.Drawing.Point(216, 397);
     this.kbtnGenerateRedValue.Name         = "kbtnGenerateRedValue";
     this.kbtnGenerateRedValue.Size         = new System.Drawing.Size(111, 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.StateCommon.Content.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kbtnGenerateRedValue.StateCommon.Content.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kbtnGenerateRedValue.TabIndex    = 115;
     this.kbtnGenerateRedValue.Values.Text = "Generate &Red";
     //
     // knumContrastRedChannelValue
     //
     this.knumContrastRedChannelValue.Location = new System.Drawing.Point(608, 397);
     this.knumContrastRedChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumContrastRedChannelValue.Name = "knumContrastRedChannelValue";
     this.knumContrastRedChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumContrastRedChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Red;
     this.knumContrastRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumContrastRedChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumContrastRedChannelValue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumContrastRedChannelValue.TabIndex = 110;
     //
     // knumContrastAlphaChannelValue
     //
     this.knumContrastAlphaChannelValue.Location = new System.Drawing.Point(608, 352);
     this.knumContrastAlphaChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumContrastAlphaChannelValue.Name = "knumContrastAlphaChannelValue";
     this.knumContrastAlphaChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumContrastAlphaChannelValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumContrastAlphaChannelValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumContrastAlphaChannelValue.TabIndex = 114;
     this.knumContrastAlphaChannelValue.Value    = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     //
     // knumContrastGreenChannelValue
     //
     this.knumContrastGreenChannelValue.Location = new System.Drawing.Point(608, 441);
     this.knumContrastGreenChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumContrastGreenChannelValue.Name = "knumContrastGreenChannelValue";
     this.knumContrastGreenChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumContrastGreenChannelValue.StateCommon.Back.Color1   = System.Drawing.Color.Lime;
     this.knumContrastGreenChannelValue.StateCommon.Content.Font  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumContrastGreenChannelValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumContrastGreenChannelValue.TabIndex = 111;
     //
     // kryptonLabel5
     //
     this.kryptonLabel5.Location = new System.Drawing.Point(540, 352);
     this.kryptonLabel5.Name     = "kryptonLabel5";
     this.kryptonLabel5.Size     = new System.Drawing.Size(62, 26);
     this.kryptonLabel5.StateCommon.ShortText.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonLabel5.StateCommon.ShortText.ImageStyle = Krypton.Toolkit.PaletteImageStyle.Inherit;
     this.kryptonLabel5.StateCommon.ShortText.Trim       = Krypton.Toolkit.PaletteTextTrim.Inherit;
     this.kryptonLabel5.TabIndex    = 113;
     this.kryptonLabel5.Values.Text = "Alpha:";
     //
     // knumContrastBlueChannelValue
     //
     this.knumContrastBlueChannelValue.Location = new System.Drawing.Point(608, 484);
     this.knumContrastBlueChannelValue.Maximum  = new decimal(new int[] {
         255,
         0,
         0,
         0
     });
     this.knumContrastBlueChannelValue.Name = "knumContrastBlueChannelValue";
     this.knumContrastBlueChannelValue.Size = new System.Drawing.Size(120, 28);
     this.knumContrastBlueChannelValue.StateCommon.Back.Color1    = System.Drawing.Color.Blue;
     this.knumContrastBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White;
     this.knumContrastBlueChannelValue.StateCommon.Content.Font   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.knumContrastBlueChannelValue.StateCommon.Content.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Inherit;
     this.knumContrastBlueChannelValue.TabIndex = 112;
     //
     // ContrastColourControl
     //
     this.AutoSize  = true;
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.kpnlContent);
     this.Name = "ContrastColourControl";
     this.Size = new System.Drawing.Size(883, 561);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlContent)).EndInit();
     this.kpnlContent.ResumeLayout(false);
     this.kpnlContent.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbContrastColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).EndInit();
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KryptonColourPickerDialog));
     this.kryptonPanel1              = new Krypton.Toolkit.KryptonPanel();
     this.kbtnSavePalette            = new Krypton.Toolkit.KryptonButton();
     this.kbtnLoadPalette            = new Krypton.Toolkit.KryptonButton();
     this.cgColours                  = new Cyotek.Windows.Forms.ColorGrid();
     this.cpbColourPreview           = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox();
     this.kryptonPanel2              = new Krypton.Toolkit.KryptonPanel();
     this.panel1                     = new System.Windows.Forms.Panel();
     this.kryptonCancelDialogButton1 = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonCancelDialogButton();
     this.kryptonOKDialogButton1     = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonOKDialogButton();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
     this.kryptonPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kbtnSavePalette);
     this.kryptonPanel1.Controls.Add(this.kbtnLoadPalette);
     this.kryptonPanel1.Controls.Add(this.cgColours);
     this.kryptonPanel1.Controls.Add(this.cpbColourPreview);
     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(574, 491);
     this.kryptonPanel1.TabIndex = 0;
     //
     // kbtnSavePalette
     //
     this.kbtnSavePalette.AutoSize     = true;
     this.kbtnSavePalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnSavePalette.Location     = new System.Drawing.Point(40, 252);
     this.kbtnSavePalette.Name         = "kbtnSavePalette";
     this.kbtnSavePalette.Size         = new System.Drawing.Size(22, 22);
     this.kbtnSavePalette.TabIndex     = 4;
     this.kbtnSavePalette.ToolTipValues.Description = "Save current custom palette for futre use.";
     this.kbtnSavePalette.Values.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_save;
     this.kbtnSavePalette.Values.Text  = "";
     this.kbtnSavePalette.Click       += new System.EventHandler(this.kbtnSavePalette_Click);
     //
     // kbtnLoadPalette
     //
     this.kbtnLoadPalette.AutoSize     = true;
     this.kbtnLoadPalette.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.kbtnLoadPalette.Location     = new System.Drawing.Point(12, 252);
     this.kbtnLoadPalette.Name         = "kbtnLoadPalette";
     this.kbtnLoadPalette.Size         = new System.Drawing.Size(22, 22);
     this.kbtnLoadPalette.TabIndex     = 1;
     this.kbtnLoadPalette.ToolTipValues.Description = "Load a custom palette.";
     this.kbtnLoadPalette.ToolTipValues.Heading     = "Load Custom Palette";
     this.kbtnLoadPalette.ToolTipValues.Image       = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtnLoadPalette.Values.Image = global::Krypton.Toolkit.Suite.Extended.Dialogs.Properties.Resources.palette_load;
     this.kbtnLoadPalette.Values.Text  = "";
     this.kbtnLoadPalette.Click       += new System.EventHandler(this.kbtnLoadPalette_Click);
     //
     // cgColours
     //
     this.cgColours.BackColor     = System.Drawing.Color.Transparent;
     this.cgColours.Location      = new System.Drawing.Point(12, 280);
     this.cgColours.Name          = "cgColours";
     this.cgColours.Size          = new System.Drawing.Size(247, 165);
     this.cgColours.TabIndex      = 3;
     this.cgColours.EditingColor += new System.EventHandler <Cyotek.Windows.Forms.EditColorCancelEventArgs>(this.cgColours_EditingColor);
     //
     // cpbColourPreview
     //
     this.cpbColourPreview.BackColor     = System.Drawing.SystemColors.Control;
     this.cpbColourPreview.Location      = new System.Drawing.Point(443, 252);
     this.cpbColourPreview.Name          = "cpbColourPreview";
     this.cpbColourPreview.Size          = new System.Drawing.Size(119, 119);
     this.cpbColourPreview.TabIndex      = 2;
     this.cpbColourPreview.TabStop       = false;
     this.cpbColourPreview.ToolTipValues = null;
     this.cpbColourPreview.Paint        += new System.Windows.Forms.PaintEventHandler(this.cpbColourPreview_Paint);
     //
     // kryptonPanel2
     //
     this.kryptonPanel2.Controls.Add(this.kryptonOKDialogButton1);
     this.kryptonPanel2.Controls.Add(this.kryptonCancelDialogButton1);
     this.kryptonPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kryptonPanel2.Location = new System.Drawing.Point(0, 454);
     this.kryptonPanel2.Name     = "kryptonPanel2";
     this.kryptonPanel2.Size     = new System.Drawing.Size(574, 37);
     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, 451);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(574, 3);
     this.panel1.TabIndex  = 2;
     //
     // kryptonCancelDialogButton1
     //
     this.kryptonCancelDialogButton1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.kryptonCancelDialogButton1.Location     = new System.Drawing.Point(472, 6);
     this.kryptonCancelDialogButton1.Name         = "kryptonCancelDialogButton1";
     this.kryptonCancelDialogButton1.ParentWindow = this;
     this.kryptonCancelDialogButton1.Size         = new System.Drawing.Size(90, 25);
     this.kryptonCancelDialogButton1.TabIndex     = 0;
     this.kryptonCancelDialogButton1.Values.Text  = "C&ancel";
     //
     // kryptonOKDialogButton1
     //
     this.kryptonOKDialogButton1.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.kryptonOKDialogButton1.Location     = new System.Drawing.Point(376, 6);
     this.kryptonOKDialogButton1.Name         = "kryptonOKDialogButton1";
     this.kryptonOKDialogButton1.ParentWindow = this;
     this.kryptonOKDialogButton1.Size         = new System.Drawing.Size(90, 25);
     this.kryptonOKDialogButton1.TabIndex     = 3;
     this.kryptonOKDialogButton1.Values.Text  = "&OK";
     //
     // KryptonColourPickerDialog
     //
     this.ClientSize = new System.Drawing.Size(574, 491);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel2);
     this.Controls.Add(this.kryptonPanel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonColourPickerDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Colour Picker";
     this.Load           += new System.EventHandler(this.KryptonColourPickerDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbColourPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit();
     this.kryptonPanel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #16
0
        /// <summary>
        /// Circulars the picturebox hidden properties location.
        /// </summary>
        /// <param name="circularColourPreviewPane">The circular colour preview pane.</param>
        /// <param name="baseColourPreview">The base colour preview.</param>
        /// <param name="darkColourPreview">The dark colour preview.</param>
        /// <param name="middleColourPreview">The middle colour preview.</param>
        /// <param name="lightColourPreview">The light colour preview.</param>
        /// <param name="lightestColourPreview">The lightest colour preview.</param>
        /// <param name="borderColourPreview">The border colour preview.</param>
        /// <param name="alternativeNormalTextColourPreview">The alternative normal text colour preview.</param>
        /// <param name="normalTextColourPreview">The normal text colour preview.</param>
        /// <param name="disabledTextColourPreview">The disabled text colour preview.</param>
        /// <param name="focusedTextColourPreview">The focused text colour preview.</param>
        /// <param name="pressedTextColourPreview">The pressed text colour preview.</param>
        /// <param name="disabledColourPreview">The disabled colour preview.</param>
        /// <param name="linkNormalColourPreview">The link normal colour preview.</param>
        /// <param name="linkFocusedColourPreview">The link focused colour preview.</param>
        /// <param name="linkHoverColourPreview">The link hover colour preview.</param>
        /// <param name="linkVisitedColourPreview">The link visited colour preview.</param>
        /// <param name="customColourOne">The custom colour one.</param>
        /// <param name="customColourTwo">The custom colour two.</param>
        /// <param name="customColourThree">The custom colour three.</param>
        /// <param name="customColourFour">The custom colour four.</param>
        /// <param name="customColourFive">The custom colour five.</param>
        /// <param name="customTextColourOne">The custom text colour one.</param>
        /// <param name="customTextColourTwo">The custom text colour two.</param>
        /// <param name="customTextColourThree">The custom text colour three.</param>
        /// <param name="customTextColourFour">The custom text colour four.</param>
        /// <param name="customTextColourFive">The custom text colour five.</param>
        /// <param name="menuTextColourPreview">The menu text colour preview.</param>
        /// <param name="statusTextColourPreview">The status text colour preview.</param>
        public static void CircularPictureboxHiddenPropertiesLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkFocusedColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview)
        {
            circularColourPreviewPane.Size = new Size(1195, 467);

            baseColourPreview.Location = new Point(19, 13); // 14);

            darkColourPreview.Location = new Point(127, 13);

            middleColourPreview.Location = new Point(235, 13);

            lightColourPreview.Location = new Point(343, 13);

            lightestColourPreview.Location = new Point(451, 13);

            borderColourPreview.Location = new Point(559, 13);                // 16;

            alternativeNormalTextColourPreview.Location = new Point(667, 13); // 15);

            normalTextColourPreview.Location = new Point(775, 13);

            disabledTextColourPreview.Location = new Point(883, 13);

            focusedTextColourPreview.Location = new Point(991, 13);

            pressedTextColourPreview.Location = new Point(1099, 13);

            disabledColourPreview.Location = new Point(19, 182);

            linkNormalColourPreview.Location = new Point(127, 182);

            linkFocusedColourPreview.Location = new Point(235, 182);

            linkHoverColourPreview.Location = new Point(343, 182);

            linkVisitedColourPreview.Location = new Point(451, 182);

            customColourOne.Location = new Point(559, 182);

            customColourTwo.Location = new Point(667, 182);

            customColourThree.Location = new Point(775, 182);

            customColourFour.Location = new Point(883, 182);

            customColourFive.Location = new Point(991, 182);

            customTextColourOne.Location = new Point(1099, 182);

            customTextColourTwo.Location = new Point(19, 350);

            customTextColourThree.Location = new Point(127, 350);

            customTextColourFour.Location = new Point(235, 350);

            customTextColourFive.Location = new Point(343, 350);

            menuTextColourPreview.Location = new Point(451, 350);

            statusTextColourPreview.Location = new Point(551, 350);
        }
        public static void CircularPictureboxHiddenPropertiesLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview, CircularPictureBox extra1, CircularPictureBox extra2, CircularPictureBox extra3)
        {
            circularColourPreviewPane.Size = new Size(1212, 467);

            baseColourPreview.Location = new Point(19, 16);

            darkColourPreview.Location = new Point(111, 15);

            middleColourPreview.Location = new Point(203, 15);

            lightColourPreview.Location = new Point(295, 15);

            lightestColourPreview.Location = new Point(387, 15);

            borderColourPreview.Location = new Point(479, 15);

            alternativeNormalTextColourPreview.Location = new Point(571, 14);

            normalTextColourPreview.Location = new Point(663, 14);

            disabledTextColourPreview.Location = new Point(755, 16);

            focusedTextColourPreview.Location = new Point(847, 16);

            pressedTextColourPreview.Location = new Point(939, 15);

            disabledColourPreview.Location = new Point(1031, 16);

            linkNormalColourPreview.Location = new Point(1123, 15);

            linkHoverColourPreview.Location = new Point(19, 127);

            linkVisitedColourPreview.Location = new Point(111, 127);

            customColourOne.Location = new Point(203, 127);

            customColourTwo.Location = new Point(295, 127);

            customColourThree.Location = new Point(387, 127);

            customColourFour.Location = new Point(479, 127);

            customColourFive.Location = new Point(571, 127);

            customTextColourOne.Location = new Point(663, 127);

            customTextColourTwo.Location = new Point(755, 127);

            customTextColourThree.Location = new Point(847, 127);

            customTextColourFour.Location = new Point(939, 127);

            customTextColourFive.Location = new Point(1031, 127);

            menuTextColourPreview.Location = new Point(1123, 127);

            statusTextColourPreview.Location = new Point(19, 239);

            extra1.Location = new Point(111, 239);

            extra2.Location = new Point(203, 239);

            extra3.Location = new Point(295, 239);
        }
        /// <summary>
        /// Factories the circular picturebox location.
        /// </summary>
        /// <param name="circularColourPreviewPane">The circular colour preview pane.</param>
        /// <param name="baseColourPreview">The base colour preview.</param>
        /// <param name="darkColourPreview">The dark colour preview.</param>
        /// <param name="middleColourPreview">The middle colour preview.</param>
        /// <param name="lightColourPreview">The light colour preview.</param>
        /// <param name="lightestColourPreview">The lightest colour preview.</param>
        /// <param name="borderColourPreview">The border colour preview.</param>
        /// <param name="alternativeNormalTextColourPreview">The alternative normal text colour preview.</param>
        /// <param name="normalTextColourPreview">The normal text colour preview.</param>
        /// <param name="disabledTextColourPreview">The disabled text colour preview.</param>
        /// <param name="focusedTextColourPreview">The focused text colour preview.</param>
        /// <param name="pressedTextColourPreview">The pressed text colour preview.</param>
        /// <param name="disabledColourPreview">The disabled colour preview.</param>
        /// <param name="linkNormalColourPreview">The link normal colour preview.</param>
        /// <param name="linkHoverColourPreview">The link hover colour preview.</param>
        /// <param name="linkVisitedColourPreview">The link visited colour preview.</param>
        /// <param name="customColourOne">The custom colour one.</param>
        /// <param name="customColourTwo">The custom colour two.</param>
        /// <param name="customColourThree">The custom colour three.</param>
        /// <param name="customColourFour">The custom colour four.</param>
        /// <param name="customColourFive">The custom colour five.</param>
        /// <param name="customTextColourOne">The custom text colour one.</param>
        /// <param name="customTextColourTwo">The custom text colour two.</param>
        /// <param name="customTextColourThree">The custom text colour three.</param>
        /// <param name="customTextColourFour">The custom text colour four.</param>
        /// <param name="customTextColourFive">The custom text colour five.</param>
        /// <param name="menuTextColourPreview">The menu text colour preview.</param>
        /// <param name="statusTextColourPreview">The status text colour preview.</param>
        /// <param name="extra1">The extra1.</param>
        /// <param name="extra2">The extra2.</param>
        /// <param name="extra3">The extra3.</param>
        public static void FactoryCircularPictureboxLocation(KryptonGroupBox circularColourPreviewPane, CircularPictureBox baseColourPreview, CircularPictureBox darkColourPreview, CircularPictureBox middleColourPreview, CircularPictureBox lightColourPreview, CircularPictureBox lightestColourPreview, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColourPreview, CircularPictureBox statusTextColourPreview, CircularPictureBox extra1, CircularPictureBox extra2, CircularPictureBox extra3)
        {
            circularColourPreviewPane.Size = new Size(708, 467);

            baseColourPreview.Location = new Point(21, 16);

            darkColourPreview.Location = new Point(107, 15);

            middleColourPreview.Location = new Point(193, 15);

            lightColourPreview.Location = new Point(279, 15);

            lightestColourPreview.Location = new Point(365, 15);

            borderColourPreview.Location = new Point(451, 15);

            alternativeNormalTextColourPreview.Location = new Point(537, 14);

            normalTextColourPreview.Location = new Point(623, 14);

            disabledTextColourPreview.Location = new Point(19, 127);

            focusedTextColourPreview.Location = new Point(107, 127);

            pressedTextColourPreview.Location = new Point(193, 127);

            disabledColourPreview.Location = new Point(279, 127);

            linkNormalColourPreview.Location = new Point(365, 129);

            linkHoverColourPreview.Location = new Point(451, 129);

            linkVisitedColourPreview.Location = new Point(537, 129);

            customColourOne.Location = new Point(623, 127);

            customColourTwo.Location = new Point(19, 238);

            customColourThree.Location = new Point(107, 238);

            customColourFour.Location = new Point(193, 238);

            customColourFive.Location = new Point(279, 238);

            customTextColourOne.Location = new Point(365, 238);

            customTextColourTwo.Location = new Point(451, 238);

            customTextColourThree.Location = new Point(537, 238);

            customTextColourFour.Location = new Point(623, 238);

            customTextColourFive.Location = new Point(19, 349);

            menuTextColourPreview.Location = new Point(107, 349);

            statusTextColourPreview.Location = new Point(193, 349);

            extra1.Location = new Point(279, 349);

            extra2.Location = new Point(365, 349);

            extra3.Location = new Point(451, 349);
        }
예제 #19
0
 private void InitializeComponent()
 {
     this.components                 = new System.ComponentModel.Container();
     this.kpnlProgressBar            = new Krypton.Toolkit.KryptonPanel();
     this.kpProgress                 = new Krypton.Toolkit.Suite.Extended.Base.KryptonProgressBar();
     this.kpContent                  = new Krypton.Toolkit.KryptonPanel();
     this.cbApplicationIconCircular  = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox();
     this.pbxApplicationIconStandard = new System.Windows.Forms.PictureBox();
     this.kmlblExtraText             = new Krypton.Toolkit.Suite.Extended.Base.KryptonMarqueeLabel();
     this.klblApplicationName        = new Krypton.Toolkit.KryptonLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlProgressBar)).BeginInit();
     this.kpnlProgressBar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kpContent)).BeginInit();
     this.kpContent.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbApplicationIconCircular)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxApplicationIconStandard)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlProgressBar
     //
     this.kpnlProgressBar.Controls.Add(this.kpProgress);
     this.kpnlProgressBar.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlProgressBar.Location = new System.Drawing.Point(0, 341);
     this.kpnlProgressBar.Name     = "kpnlProgressBar";
     this.kpnlProgressBar.Size     = new System.Drawing.Size(725, 32);
     this.kpnlProgressBar.TabIndex = 0;
     //
     // kpProgress
     //
     this.kpProgress.BackColor        = System.Drawing.Color.Transparent;
     this.kpProgress.BackgroundColour = System.Drawing.Color.Transparent;
     this.kpProgress.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.kpProgress.EndColour        = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(224)))), ((int)(((byte)(135)))));
     this.kpProgress.Font             = new System.Drawing.Font("Segoe UI", 9F);
     this.kpProgress.ForeColour       = System.Drawing.Color.Empty;
     this.kpProgress.Location         = new System.Drawing.Point(0, 0);
     this.kpProgress.Name             = "kpProgress";
     this.kpProgress.Size             = new System.Drawing.Size(725, 32);
     this.kpProgress.StartColour      = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(224)))), ((int)(((byte)(135)))));
     this.kpProgress.TabIndex         = 1;
     //
     // kpContent
     //
     this.kpContent.Controls.Add(this.cbApplicationIconCircular);
     this.kpContent.Controls.Add(this.pbxApplicationIconStandard);
     this.kpContent.Controls.Add(this.kmlblExtraText);
     this.kpContent.Controls.Add(this.klblApplicationName);
     this.kpContent.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kpContent.Location = new System.Drawing.Point(0, 0);
     this.kpContent.Name     = "kpContent";
     this.kpContent.Size     = new System.Drawing.Size(725, 341);
     this.kpContent.TabIndex = 1;
     //
     // cbApplicationIconCircular
     //
     this.cbApplicationIconCircular.BackColor     = System.Drawing.Color.Transparent;
     this.cbApplicationIconCircular.Location      = new System.Drawing.Point(234, 59);
     this.cbApplicationIconCircular.Name          = "cbApplicationIconCircular";
     this.cbApplicationIconCircular.Size          = new System.Drawing.Size(256, 256);
     this.cbApplicationIconCircular.TabIndex      = 5;
     this.cbApplicationIconCircular.TabStop       = false;
     this.cbApplicationIconCircular.ToolTipValues = null;
     //
     // pbxApplicationIconStandard
     //
     this.pbxApplicationIconStandard.BackColor = System.Drawing.Color.Transparent;
     this.pbxApplicationIconStandard.Location  = new System.Drawing.Point(234, 59);
     this.pbxApplicationIconStandard.Name      = "pbxApplicationIconStandard";
     this.pbxApplicationIconStandard.Size      = new System.Drawing.Size(256, 256);
     this.pbxApplicationIconStandard.TabIndex  = 4;
     this.pbxApplicationIconStandard.TabStop   = false;
     //
     // kmlblExtraText
     //
     this.kmlblExtraText.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.kmlblExtraText.Location    = new System.Drawing.Point(0, 321);
     this.kmlblExtraText.Name        = "kmlblExtraText";
     this.kmlblExtraText.Size        = new System.Drawing.Size(725, 20);
     this.kmlblExtraText.Speed       = 1;
     this.kmlblExtraText.TabIndex    = 3;
     this.kmlblExtraText.Values.Text = "<##SOME-TEXT##>";
     this.kmlblExtraText.YOffset     = 0;
     //
     // klblApplicationName
     //
     this.klblApplicationName.AutoSize = false;
     this.klblApplicationName.Location = new System.Drawing.Point(12, 12);
     this.klblApplicationName.Name     = "klblApplicationName";
     this.klblApplicationName.Size     = new System.Drawing.Size(701, 41);
     this.klblApplicationName.StateCommon.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblApplicationName.StateCommon.ShortText.TextH = Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblApplicationName.TabIndex    = 2;
     this.klblApplicationName.Values.Text = "<##APPLICATION-NAME##>";
     //
     // KryptonSplashWindow
     //
     this.ClientSize = new System.Drawing.Size(725, 373);
     this.ControlBox = false;
     this.Controls.Add(this.kpContent);
     this.Controls.Add(this.kpnlProgressBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonSplashWindow";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.KryptonSplashWindow_FormClosing);
     this.Load           += new System.EventHandler(this.KryptonSplashWindow_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlProgressBar)).EndInit();
     this.kpnlProgressBar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kpContent)).EndInit();
     this.kpContent.ResumeLayout(false);
     this.kpContent.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbApplicationIconCircular)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pbxApplicationIconStandard)).EndInit();
     this.ResumeLayout(false);
 }
예제 #20
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KryptonBasicColourDialog));
     this.kpnlButtons             = new Krypton.Toolkit.KryptonPanel();
     this.txtHexColour            = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourHexadecimalTextBox();
     this.kryptonAlphaValueLabel1 = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.KryptonAlphaValueLabel();
     this.kbtnOk                  = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonOKDialogButton();
     this.kbtnCancel              = new Krypton.Toolkit.Suite.Extended.Dialogs.KryptonCancelDialogButton();
     this.kryptonPanel1           = new Krypton.Toolkit.KryptonPanel();
     this.klblBlueValue           = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.KryptonBlueValueLabel();
     this.klblRedValue            = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.KryptonRedValueLabel();
     this.cpbxColourPreview       = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox();
     this.cwColourPicker          = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourWheelControl();
     this.panel1                  = new System.Windows.Forms.Panel();
     this.kryptonGreenValueLabel1 = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.KryptonGreenValueLabel();
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).BeginInit();
     this.kpnlButtons.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
     this.kryptonPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbxColourPreview)).BeginInit();
     this.SuspendLayout();
     //
     // kpnlButtons
     //
     this.kpnlButtons.Controls.Add(this.txtHexColour);
     this.kpnlButtons.Controls.Add(this.kryptonAlphaValueLabel1);
     this.kpnlButtons.Controls.Add(this.kbtnOk);
     this.kpnlButtons.Controls.Add(this.kbtnCancel);
     this.kpnlButtons.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.kpnlButtons.Location = new System.Drawing.Point(0, 200);
     this.kpnlButtons.Name     = "kpnlButtons";
     this.kpnlButtons.Size     = new System.Drawing.Size(506, 44);
     this.kpnlButtons.TabIndex = 0;
     //
     // txtHexColour
     //
     this.txtHexColour.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtHexColour.Colour    = System.Drawing.Color.Empty;
     this.txtHexColour.Hint      = "000000";
     this.txtHexColour.Location  = new System.Drawing.Point(172, 9);
     this.txtHexColour.MaxLength = 6;
     this.txtHexColour.Name      = "txtHexColour";
     this.txtHexColour.Size      = new System.Drawing.Size(100, 23);
     this.txtHexColour.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.txtHexColour.TabIndex     = 3;
     this.txtHexColour.TextChanged += new System.EventHandler(this.txtHexColour_TextChanged);
     //
     // kryptonAlphaValueLabel1
     //
     this.kryptonAlphaValueLabel1.AlphaValue                 = 255;
     this.kryptonAlphaValueLabel1.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.kryptonAlphaValueLabel1.ExtraText                  = "Alpha Value";
     this.kryptonAlphaValueLabel1.Location                   = new System.Drawing.Point(12, 4);
     this.kryptonAlphaValueLabel1.Name                       = "kryptonAlphaValueLabel1";
     this.kryptonAlphaValueLabel1.ShowColon                  = false;
     this.kryptonAlphaValueLabel1.ShowCurrentColourValue     = false;
     this.kryptonAlphaValueLabel1.Size                       = new System.Drawing.Size(110, 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                   = 3;
     this.kryptonAlphaValueLabel1.Typeface                   = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
     this.kryptonAlphaValueLabel1.Values.Text                = "Alpha Value:";
     //
     // 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(308, 7);
     this.kbtnOk.Name         = "kbtnOk";
     this.kbtnOk.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.Size = new System.Drawing.Size(90, 25);
     this.kbtnOk.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnOk.TabIndex    = 2;
     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(404, 7);
     this.kbtnCancel.Name         = "kbtnCancel";
     this.kbtnCancel.OverrideDefault.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.OverrideDefault.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.OverrideFocus.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.OverrideFocus.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.Size = new System.Drawing.Size(90, 25);
     this.kbtnCancel.StateCommon.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateCommon.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateDisabled.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateDisabled.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateNormal.Content.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateNormal.Content.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StatePressed.Content.LongText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StatePressed.Content.ShortText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateTracking.Content.LongText.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.StateTracking.Content.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.kbtnCancel.TabIndex    = 2;
     this.kbtnCancel.Values.Text = "C&ancel";
     this.kbtnCancel.Click      += new System.EventHandler(this.kbtnCancel_Click);
     //
     // kryptonPanel1
     //
     this.kryptonPanel1.Controls.Add(this.kryptonGreenValueLabel1);
     this.kryptonPanel1.Controls.Add(this.klblBlueValue);
     this.kryptonPanel1.Controls.Add(this.klblRedValue);
     this.kryptonPanel1.Controls.Add(this.cpbxColourPreview);
     this.kryptonPanel1.Controls.Add(this.cwColourPicker);
     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(506, 200);
     this.kryptonPanel1.TabIndex = 1;
     //
     // klblBlueValue
     //
     this.klblBlueValue.BlueValue = 255;
     this.klblBlueValue.ExtraText = "Blue";
     this.klblBlueValue.Location  = new System.Drawing.Point(212, 111);
     this.klblBlueValue.Name      = "klblBlueValue";
     this.klblBlueValue.ShowColon = false;
     this.klblBlueValue.ShowCurrentColourValue = true;
     this.klblBlueValue.Size = new System.Drawing.Size(79, 21);
     this.klblBlueValue.StateCommon.LongText.Color1  = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.LongText.Color2  = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBlueValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue;
     this.klblBlueValue.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBlueValue.TabIndex        = 3;
     this.klblBlueValue.Typeface        = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBlueValue.UseAccessibleUI = false;
     this.klblBlueValue.Values.Text     = "Blue: 255";
     //
     // klblRedValue
     //
     this.klblRedValue.ExtraText = "Red";
     this.klblRedValue.Location  = new System.Drawing.Point(212, 49);
     this.klblRedValue.Name      = "klblRedValue";
     this.klblRedValue.RedValue  = 255;
     this.klblRedValue.ShowColon = false;
     this.klblRedValue.ShowCurrentColourValue = true;
     this.klblRedValue.Size = new System.Drawing.Size(76, 21);
     this.klblRedValue.StateCommon.LongText.Color1  = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.LongText.Color2  = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.LongText.Font    = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblRedValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Red;
     this.klblRedValue.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblRedValue.TabIndex        = 2;
     this.klblRedValue.Typeface        = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblRedValue.UseAccessibleUI = false;
     this.klblRedValue.Values.Text     = "Red: 255";
     //
     // cpbxColourPreview
     //
     this.cpbxColourPreview.BackColor     = System.Drawing.Color.Transparent;
     this.cpbxColourPreview.Location      = new System.Drawing.Point(331, 12);
     this.cpbxColourPreview.Name          = "cpbxColourPreview";
     this.cpbxColourPreview.Size          = new System.Drawing.Size(163, 163);
     this.cpbxColourPreview.TabIndex      = 1;
     this.cpbxColourPreview.TabStop       = false;
     this.cpbxColourPreview.ToolTipValues = null;
     //
     // cwColourPicker
     //
     this.cwColourPicker.BackColor      = System.Drawing.Color.Transparent;
     this.cwColourPicker.Location       = new System.Drawing.Point(12, 12);
     this.cwColourPicker.Name           = "cwColourPicker";
     this.cwColourPicker.Size           = new System.Drawing.Size(163, 163);
     this.cwColourPicker.TabIndex       = 0;
     this.cwColourPicker.ColourChanged += new System.EventHandler(this.cwColourPicker_ColourChanged);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location  = new System.Drawing.Point(0, 197);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(506, 3);
     this.panel1.TabIndex  = 2;
     //
     // kryptonGreenValueLabel1
     //
     this.kryptonGreenValueLabel1.ExtraText                    = "Green";
     this.kryptonGreenValueLabel1.GreenValue                   = 0;
     this.kryptonGreenValueLabel1.Location                     = new System.Drawing.Point(212, 80);
     this.kryptonGreenValueLabel1.Name                         = "kryptonGreenValueLabel1";
     this.kryptonGreenValueLabel1.ShowColon                    = false;
     this.kryptonGreenValueLabel1.ShowCurrentColourValue       = true;
     this.kryptonGreenValueLabel1.Size                         = new System.Drawing.Size(74, 21);
     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("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     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("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonGreenValueLabel1.TabIndex                     = 3;
     this.kryptonGreenValueLabel1.Typeface                     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kryptonGreenValueLabel1.UseAccessibleUI              = false;
     this.kryptonGreenValueLabel1.Values.Text                  = "Green: 0";
     //
     // KryptonBasicColourDialog
     //
     this.AcceptButton = this.kbtnOk;
     this.CancelButton = this.kbtnCancel;
     this.ClientSize   = new System.Drawing.Size(506, 244);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.kryptonPanel1);
     this.Controls.Add(this.kpnlButtons);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KryptonBasicColourDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.Text            = "Colour Dialog";
     this.Load           += new System.EventHandler(this.KryptonBasicColourDialog_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kpnlButtons)).EndInit();
     this.kpnlButtons.ResumeLayout(false);
     this.kpnlButtons.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
     this.kryptonPanel1.ResumeLayout(false);
     this.kryptonPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cpbxColourPreview)).EndInit();
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Grabs the colour definitions.
        /// </summary>
        /// <param name="baseColour">The base colour.</param>
        /// <param name="darkColour">The dark colour.</param>
        /// <param name="middleColour">The middle colour.</param>
        /// <param name="lightColour">The light colour.</param>
        /// <param name="lightestColour">The lightest colour.</param>
        /// <param name="borderColourPreview">The border colour preview.</param>
        /// <param name="alternativeNormalTextColourPreview">The alternative normal text colour preview.</param>
        /// <param name="normalTextColourPreview">The normal text colour preview.</param>
        /// <param name="disabledTextColourPreview">The disabled text colour preview.</param>
        /// <param name="focusedTextColourPreview">The focused text colour preview.</param>
        /// <param name="pressedTextColourPreview">The pressed text colour preview.</param>
        /// <param name="disabledColourPreview">The disabled colour preview.</param>
        /// <param name="linkNormalColourPreview">The link normal colour preview.</param>
        /// <param name="linkHoverColourPreview">The link hover colour preview.</param>
        /// <param name="linkVisitedColourPreview">The link visited colour preview.</param>
        /// <param name="customColourOne">The custom colour one.</param>
        /// <param name="customColourTwo">The custom colour two.</param>
        /// <param name="customColourThree">The custom colour three.</param>
        /// <param name="customColourFour">The custom colour four.</param>
        /// <param name="customColourFive">The custom colour five.</param>
        /// <param name="customTextColourOne">The custom text colour one.</param>
        /// <param name="customTextColourTwo">The custom text colour two.</param>
        /// <param name="customTextColourThree">The custom text colour three.</param>
        /// <param name="customTextColourFour">The custom text colour four.</param>
        /// <param name="customTextColourFive">The custom text colour five.</param>
        /// <param name="menuTextColour">The menu text colour.</param>
        /// <param name="statusTextColour">The status text colour.</param>
        public static void GrabColourDefinitions(CircularPictureBox baseColour, CircularPictureBox darkColour, CircularPictureBox middleColour, CircularPictureBox lightColour, CircularPictureBox lightestColour, CircularPictureBox borderColourPreview, CircularPictureBox alternativeNormalTextColourPreview, CircularPictureBox normalTextColourPreview, CircularPictureBox disabledTextColourPreview, CircularPictureBox focusedTextColourPreview, CircularPictureBox pressedTextColourPreview, CircularPictureBox disabledColourPreview, CircularPictureBox linkNormalColourPreview, CircularPictureBox linkHoverColourPreview, CircularPictureBox linkVisitedColourPreview, CircularPictureBox customColourOne, CircularPictureBox customColourTwo, CircularPictureBox customColourThree, CircularPictureBox customColourFour, CircularPictureBox customColourFive, CircularPictureBox customTextColourOne, CircularPictureBox customTextColourTwo, CircularPictureBox customTextColourThree, CircularPictureBox customTextColourFour, CircularPictureBox customTextColourFive, CircularPictureBox menuTextColour, CircularPictureBox statusTextColour)
        {
            ColourSettingsManager colourSettingsManager = new ColourSettingsManager();

            baseColour.BackColor = colourSettingsManager.GetBaseColour();

            darkColour.BackColor = colourSettingsManager.GetDarkestColour();

            middleColour.BackColor = colourSettingsManager.GetMediumColour();

            lightColour.BackColor = colourSettingsManager.GetLightColour();

            lightestColour.BackColor = colourSettingsManager.GetLightestColour();

            borderColourPreview.BackColor = colourSettingsManager.GetBorderColour();

            alternativeNormalTextColourPreview.BackColor = colourSettingsManager.GetAlternativeNormalTextColour();

            normalTextColourPreview.BackColor = colourSettingsManager.GetNormalTextColour();

            disabledTextColourPreview.BackColor = colourSettingsManager.GetDisabledTextColour();

            focusedTextColourPreview.BackColor = colourSettingsManager.GetFocusTextColour();

            pressedTextColourPreview.BackColor = colourSettingsManager.GetPressedTextColour();

            disabledColourPreview.BackColor = colourSettingsManager.GetDisabledColour();

            linkNormalColourPreview.BackColor = colourSettingsManager.GetLinkNormalColour();

            linkHoverColourPreview.BackColor = colourSettingsManager.GetLinkHoverColour();

            linkVisitedColourPreview.BackColor = colourSettingsManager.GetLinkVisitedColour();

            customColourOne.BackColor = colourSettingsManager.GetCustomColourOne();

            customColourTwo.BackColor = colourSettingsManager.GetCustomColourTwo();

            customColourThree.BackColor = colourSettingsManager.GetCustomColourThree();

            customColourFour.BackColor = colourSettingsManager.GetCustomColourFour();

            customColourFive.BackColor = colourSettingsManager.GetCustomColourFive();

            menuTextColour.BackColor = colourSettingsManager.GetMenuTextColour();

            customTextColourOne.BackColor = colourSettingsManager.GetCustomTextColourOne();

            customTextColourTwo.BackColor = colourSettingsManager.GetCustomTextColourTwo();

            customTextColourThree.BackColor = colourSettingsManager.GetCustomTextColourThree();

            customTextColourFour.BackColor = colourSettingsManager.GetCustomTextColourFour();

            customTextColourFive.BackColor = colourSettingsManager.GetCustomTextColourFive();

            statusTextColour.BackColor = colourSettingsManager.GetStatusTextColour();
        }