コード例 #1
0
 private void InitializeComponent()
 {
     this.klblBasicColour    = new KryptonLabelExtended();
     this.cpbBaseColour      = new CircularPictureBox();
     this.cpbDarkestColour   = new CircularPictureBox();
     this.klblDarkestColour  = new KryptonLabelExtended();
     this.cpbDarkColour      = new CircularPictureBox();
     this.klblDarkColour     = new KryptonLabelExtended();
     this.cpbMediumColour    = new CircularPictureBox();
     this.klblMediumColour   = new KryptonLabelExtended();
     this.cpbLightColour     = new CircularPictureBox();
     this.klblLightColour    = new KryptonLabelExtended();
     this.cpbLightestColour  = new CircularPictureBox();
     this.klblLightestColour = new KryptonLabelExtended();
     ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbDarkestColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbDarkColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbMediumColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbLightColour)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbLightestColour)).BeginInit();
     this.SuspendLayout();
     //
     // klblBasicColour
     //
     this.klblBasicColour.Image                        = null;
     this.klblBasicColour.Location                     = new System.Drawing.Point(19, 12);
     this.klblBasicColour.LongTextTypeface             = null;
     this.klblBasicColour.Name                         = "klblBasicColour";
     this.klblBasicColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBasicColour.Size                         = new System.Drawing.Size(102, 21);
     this.klblBasicColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBasicColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblBasicColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblBasicColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBasicColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblBasicColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblBasicColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblBasicColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblBasicColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblBasicColour.TabIndex                     = 0;
     this.klblBasicColour.Values.Text                  = "Basic Colour";
     //
     // cpbBaseColour
     //
     this.cpbBaseColour.BackColor     = System.Drawing.Color.White;
     this.cpbBaseColour.Location      = new System.Drawing.Point(47, 39);
     this.cpbBaseColour.Name          = "cpbBaseColour";
     this.cpbBaseColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbBaseColour.TabIndex      = 1;
     this.cpbBaseColour.TabStop       = false;
     this.cpbBaseColour.ToolTipValues = null;
     //
     // cpbDarkestColour
     //
     this.cpbDarkestColour.BackColor     = System.Drawing.Color.White;
     this.cpbDarkestColour.Location      = new System.Drawing.Point(47, 127);
     this.cpbDarkestColour.Name          = "cpbDarkestColour";
     this.cpbDarkestColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbDarkestColour.TabIndex      = 3;
     this.cpbDarkestColour.TabStop       = false;
     this.cpbDarkestColour.ToolTipValues = null;
     //
     // klblDarkestColour
     //
     this.klblDarkestColour.Image                        = null;
     this.klblDarkestColour.Location                     = new System.Drawing.Point(11, 100);
     this.klblDarkestColour.LongTextTypeface             = null;
     this.klblDarkestColour.Name                         = "klblDarkestColour";
     this.klblDarkestColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkestColour.Size                         = new System.Drawing.Size(118, 21);
     this.klblDarkestColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkestColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblDarkestColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblDarkestColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkestColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblDarkestColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblDarkestColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkestColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblDarkestColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblDarkestColour.TabIndex                     = 2;
     this.klblDarkestColour.Values.Text                  = "Darkest Colour";
     //
     // cpbDarkColour
     //
     this.cpbDarkColour.BackColor     = System.Drawing.Color.White;
     this.cpbDarkColour.Location      = new System.Drawing.Point(47, 215);
     this.cpbDarkColour.Name          = "cpbDarkColour";
     this.cpbDarkColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbDarkColour.TabIndex      = 5;
     this.cpbDarkColour.TabStop       = false;
     this.cpbDarkColour.ToolTipValues = null;
     //
     // klblDarkColour
     //
     this.klblDarkColour.Image                        = null;
     this.klblDarkColour.Location                     = new System.Drawing.Point(22, 188);
     this.klblDarkColour.LongTextTypeface             = null;
     this.klblDarkColour.Name                         = "klblDarkColour";
     this.klblDarkColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColour.Size                         = new System.Drawing.Size(97, 21);
     this.klblDarkColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblDarkColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblDarkColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblDarkColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblDarkColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblDarkColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblDarkColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblDarkColour.TabIndex                     = 4;
     this.klblDarkColour.Values.Text                  = "Dark Colour";
     //
     // cpbMediumColour
     //
     this.cpbMediumColour.BackColor     = System.Drawing.Color.White;
     this.cpbMediumColour.Location      = new System.Drawing.Point(47, 303);
     this.cpbMediumColour.Name          = "cpbMediumColour";
     this.cpbMediumColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbMediumColour.TabIndex      = 7;
     this.cpbMediumColour.TabStop       = false;
     this.cpbMediumColour.ToolTipValues = null;
     //
     // klblMediumColour
     //
     this.klblMediumColour.Image                        = null;
     this.klblMediumColour.Location                     = new System.Drawing.Point(10, 276);
     this.klblMediumColour.LongTextTypeface             = null;
     this.klblMediumColour.Name                         = "klblMediumColour";
     this.klblMediumColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColour.Size                         = new System.Drawing.Size(120, 21);
     this.klblMediumColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblMediumColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblMediumColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblMediumColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblMediumColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblMediumColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblMediumColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblMediumColour.TabIndex                     = 6;
     this.klblMediumColour.Values.Text                  = "Medium Colour";
     //
     // cpbLightColour
     //
     this.cpbLightColour.BackColor     = System.Drawing.Color.White;
     this.cpbLightColour.Location      = new System.Drawing.Point(47, 391);
     this.cpbLightColour.Name          = "cpbLightColour";
     this.cpbLightColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbLightColour.TabIndex      = 9;
     this.cpbLightColour.TabStop       = false;
     this.cpbLightColour.ToolTipValues = null;
     //
     // klblLightColour
     //
     this.klblLightColour.Image                        = null;
     this.klblLightColour.Location                     = new System.Drawing.Point(21, 364);
     this.klblLightColour.LongTextTypeface             = null;
     this.klblLightColour.Name                         = "klblLightColour";
     this.klblLightColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColour.Size                         = new System.Drawing.Size(98, 21);
     this.klblLightColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblLightColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblLightColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblLightColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblLightColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblLightColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblLightColour.TabIndex                     = 8;
     this.klblLightColour.Values.Text                  = "Light Colour";
     //
     // cpbLightestColour
     //
     this.cpbLightestColour.BackColor     = System.Drawing.Color.White;
     this.cpbLightestColour.Location      = new System.Drawing.Point(47, 479);
     this.cpbLightestColour.Name          = "cpbLightestColour";
     this.cpbLightestColour.Size          = new System.Drawing.Size(55, 55);
     this.cpbLightestColour.TabIndex      = 11;
     this.cpbLightestColour.TabStop       = false;
     this.cpbLightestColour.ToolTipValues = null;
     //
     // klblLightestColour
     //
     this.klblLightestColour.Image                        = null;
     this.klblLightestColour.Location                     = new System.Drawing.Point(10, 452);
     this.klblLightestColour.LongTextTypeface             = null;
     this.klblLightestColour.Name                         = "klblLightestColour";
     this.klblLightestColour.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColour.Size                         = new System.Drawing.Size(120, 21);
     this.klblLightestColour.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColour.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblLightestColour.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblLightestColour.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColour.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblLightestColour.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblLightestColour.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblLightestColour.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblLightestColour.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblLightestColour.TabIndex                     = 10;
     this.klblLightestColour.Values.Text                  = "Lightest Colour";
     //
     // BasicPaletteColourUserControl
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.cpbLightestColour);
     this.Controls.Add(this.klblLightestColour);
     this.Controls.Add(this.cpbLightColour);
     this.Controls.Add(this.klblLightColour);
     this.Controls.Add(this.cpbMediumColour);
     this.Controls.Add(this.klblMediumColour);
     this.Controls.Add(this.cpbDarkColour);
     this.Controls.Add(this.klblDarkColour);
     this.Controls.Add(this.cpbDarkestColour);
     this.Controls.Add(this.klblDarkestColour);
     this.Controls.Add(this.cpbBaseColour);
     this.Controls.Add(this.klblBasicColour);
     this.Name = "BasicPaletteColourUserControl";
     this.Size = new System.Drawing.Size(149, 545);
     ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbDarkestColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbDarkColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbMediumColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbLightColour)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpbLightestColour)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
 private void InitializeComponent()
 {
     this.klblHeader = new KryptonLabelExtended();
     this.panel1     = new System.Windows.Forms.Panel();
     this.panel2     = new System.Windows.Forms.Panel();
     this.panel9     = new System.Windows.Forms.Panel();
     this.panel4     = new System.Windows.Forms.Panel();
     this.cbPreview  = new CircularPictureBox();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbPreview)).BeginInit();
     this.SuspendLayout();
     //
     // klblHeader
     //
     this.klblHeader.Dock                         = System.Windows.Forms.DockStyle.Top;
     this.klblHeader.Image                        = null;
     this.klblHeader.Location                     = new System.Drawing.Point(0, 0);
     this.klblHeader.LongTextTypeface             = null;
     this.klblHeader.Name                         = "klblHeader";
     this.klblHeader.ShortTextTypeface            = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.Size                         = new System.Drawing.Size(149, 21);
     this.klblHeader.StateCommon.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.StateCommon.ShortText.TextH  = Krypton.Toolkit.PaletteRelativeAlign.Center;
     this.klblHeader.StateCommonTextColourOne     = System.Drawing.Color.Empty;
     this.klblHeader.StateCommonTextColourTwo     = System.Drawing.Color.Empty;
     this.klblHeader.StateDisabled.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.StateDisabledTextColourOne   = System.Drawing.Color.Empty;
     this.klblHeader.StateDisabledTextColourTwo   = System.Drawing.Color.Empty;
     this.klblHeader.StateNormal.ShortText.Font   = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.klblHeader.StateNormalTextColourOne     = System.Drawing.Color.Empty;
     this.klblHeader.StateNormalTextColourTwo     = System.Drawing.Color.Empty;
     this.klblHeader.TabIndex                     = 1;
     this.klblHeader.Values.Text                  = "Header Text";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location  = new System.Drawing.Point(108, 21);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(41, 69);
     this.panel1.TabIndex  = 2;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.Transparent;
     this.panel2.Dock      = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location  = new System.Drawing.Point(0, 21);
     this.panel2.Name      = "panel2";
     this.panel2.Size      = new System.Drawing.Size(41, 69);
     this.panel2.TabIndex  = 3;
     //
     // panel9
     //
     this.panel9.BackColor = System.Drawing.Color.Transparent;
     this.panel9.Dock      = System.Windows.Forms.DockStyle.Bottom;
     this.panel9.Location  = new System.Drawing.Point(41, 80);
     this.panel9.Name      = "panel9";
     this.panel9.Size      = new System.Drawing.Size(67, 10);
     this.panel9.TabIndex  = 9;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.Transparent;
     this.panel4.Controls.Add(this.cbPreview);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(41, 21);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(67, 59);
     this.panel4.TabIndex = 11;
     //
     // cbPreview
     //
     this.cbPreview.BackColor     = System.Drawing.Color.White;
     this.cbPreview.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.cbPreview.Location      = new System.Drawing.Point(0, 0);
     this.cbPreview.Name          = "cbPreview";
     this.cbPreview.Size          = new System.Drawing.Size(67, 59);
     this.cbPreview.TabIndex      = 0;
     this.cbPreview.TabStop       = false;
     this.cbPreview.ToolTipValues = null;
     //
     // PaletteColourPreviewControl
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel9);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.klblHeader);
     this.Name = "PaletteColourPreviewControl";
     this.Size = new System.Drawing.Size(149, 90);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbPreview)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }