/// <summary> /// Initialise a new instance of the KryptonRibbonGroupNumericUpDown class. /// </summary> public KryptonRibbonGroupNumericUpDown() { // Default fields _visible = true; _enabled = true; _itemSizeCurrent = GroupItemSize.Medium; _shortcutKeys = Keys.None; _keyTip = "X"; // Create the actual numeric up-down control and set initial settings _numericUpDown = new KryptonNumericUpDown(); _numericUpDown.InputControlStyle = InputControlStyle.Ribbon; _numericUpDown.AlwaysActive = false; _numericUpDown.MinimumSize = new Size(121, 0); _numericUpDown.MaximumSize = new Size(121, 0); _numericUpDown.TabStop = false; // Hook into events to expose via this container _numericUpDown.ValueChanged += new EventHandler(OnNumericUpDownValueChanged); _numericUpDown.GotFocus += new EventHandler(OnNumericUpDownGotFocus); _numericUpDown.LostFocus += new EventHandler(OnNumericUpDownLostFocus); _numericUpDown.KeyDown += new KeyEventHandler(OnNumericUpDownKeyDown); _numericUpDown.KeyUp += new KeyEventHandler(OnNumericUpDownKeyUp); _numericUpDown.KeyPress += new KeyPressEventHandler(OnNumericUpDownKeyPress); _numericUpDown.PreviewKeyDown += new PreviewKeyDownEventHandler(OnNumericUpDownPreviewKeyDown); // Ensure we can track mouse events on the numeric up-down MonitorControl(_numericUpDown); }
/// <summary> /// Initialize a new instance of the KryptonNumericUpDownActionList class. /// </summary> /// <param name="owner">Designer that owns this action list instance.</param> public KryptonNumericUpDownActionList(KryptonNumericUpDownDesigner owner) : base(owner.Component) { // Remember the text box instance _numericUpDown = owner.Component as KryptonNumericUpDown; // Cache service used to notify when a property has changed _service = (IComponentChangeService)GetService(typeof(IComponentChangeService)); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourContrastTool)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnExport = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnImportValues = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnSaveValues = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kchkUpdateValues = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kcbCustomColourTwoSelector = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kcbCustomColourOneSelector = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.cbxContrastColourTwoPreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.cbxContrastColourOnePreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.ktxtHexValue = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.cwChosenColour = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourWheelExtended(); this.klblHexValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumAlpaValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.panel1 = new System.Windows.Forms.Panel(); this.kbtnGenerate = new ComponentFactory.Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourTwoSelector)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourOneSelector)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourTwoPreview)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourOnePreview)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnGenerate); this.kryptonPanel1.Controls.Add(this.kbtnExport); this.kryptonPanel1.Controls.Add(this.kbtnImportValues); this.kryptonPanel1.Controls.Add(this.kbtnSaveValues); this.kryptonPanel1.Controls.Add(this.kbtnOk); this.kryptonPanel1.Controls.Add(this.kchkUpdateValues); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 755); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(988, 55); this.kryptonPanel1.TabIndex = 0; // // kbtnExport // this.kbtnExport.AutoSize = true; this.kbtnExport.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnExport.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnExport.Enabled = false; this.kbtnExport.Location = new System.Drawing.Point(605, 13); this.kbtnExport.Name = "kbtnExport"; this.kbtnExport.Size = new System.Drawing.Size(110, 30); this.kbtnExport.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnExport.TabIndex = 64; this.kbtnExport.Values.Text = "E&xport Values"; // // kbtnImportValues // this.kbtnImportValues.AutoSize = true; this.kbtnImportValues.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnImportValues.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnImportValues.Location = new System.Drawing.Point(721, 13); this.kbtnImportValues.Name = "kbtnImportValues"; this.kbtnImportValues.Size = new System.Drawing.Size(113, 30); this.kbtnImportValues.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnImportValues.TabIndex = 63; this.kbtnImportValues.Values.Text = "&Import Values"; // // kbtnSaveValues // this.kbtnSaveValues.AutoSize = true; this.kbtnSaveValues.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnSaveValues.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnSaveValues.Location = new System.Drawing.Point(840, 13); this.kbtnSaveValues.Name = "kbtnSaveValues"; this.kbtnSaveValues.Size = new System.Drawing.Size(98, 30); this.kbtnSaveValues.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSaveValues.TabIndex = 62; this.kbtnSaveValues.Values.Text = "&Save Values"; // // kbtnOk // this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnOk.Location = new System.Drawing.Point(944, 13); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 61; this.kbtnOk.Values.Text = "O&k"; this.kbtnOk.Click += new System.EventHandler(this.KbtnOk_Click); // // kchkUpdateValues // this.kchkUpdateValues.Location = new System.Drawing.Point(12, 17); this.kchkUpdateValues.Name = "kchkUpdateValues"; this.kchkUpdateValues.Size = new System.Drawing.Size(185, 26); this.kchkUpdateValues.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kchkUpdateValues.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kchkUpdateValues.TabIndex = 0; this.kchkUpdateValues.Values.Text = "Always &Update Values"; this.kchkUpdateValues.CheckedChanged += new System.EventHandler(this.KchkUpdateValues_CheckedChanged); // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kcbCustomColourTwoSelector); this.kryptonPanel2.Controls.Add(this.kcbCustomColourOneSelector); this.kryptonPanel2.Controls.Add(this.cbxContrastColourTwoPreview); this.kryptonPanel2.Controls.Add(this.kryptonLabel3); this.kryptonPanel2.Controls.Add(this.cbxContrastColourOnePreview); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.kryptonLabel6); this.kryptonPanel2.Controls.Add(this.knudBlueChannelValue); this.kryptonPanel2.Controls.Add(this.ktxtHexValue); this.kryptonPanel2.Controls.Add(this.cwChosenColour); this.kryptonPanel2.Controls.Add(this.klblHexValue); this.kryptonPanel2.Controls.Add(this.knudGreenChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); this.kryptonPanel2.Controls.Add(this.knudRedChannelValue); this.kryptonPanel2.Controls.Add(this.knumAlpaValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel10); this.kryptonPanel2.Controls.Add(this.kryptonLabel8); this.kryptonPanel2.Controls.Add(this.kryptonLabel9); 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(988, 755); this.kryptonPanel2.TabIndex = 1; // // kcbCustomColourTwoSelector // this.kcbCustomColourTwoSelector.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.kcbCustomColourTwoSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcbCustomColourTwoSelector.DropDownWidth = 435; this.kcbCustomColourTwoSelector.Location = new System.Drawing.Point(638, 711); this.kcbCustomColourTwoSelector.Name = "kcbCustomColourTwoSelector"; this.kcbCustomColourTwoSelector.Size = new System.Drawing.Size(338, 27); this.kcbCustomColourTwoSelector.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourTwoSelector.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near; this.kcbCustomColourTwoSelector.StateCommon.Item.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourTwoSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourTwoSelector.TabIndex = 58; this.kcbCustomColourTwoSelector.SelectedIndexChanged += new System.EventHandler(this.KcbCustomColourTwoSelector_SelectedIndexChanged); // // kcbCustomColourOneSelector // this.kcbCustomColourOneSelector.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.kcbCustomColourOneSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcbCustomColourOneSelector.DropDownWidth = 435; this.kcbCustomColourOneSelector.Location = new System.Drawing.Point(638, 333); this.kcbCustomColourOneSelector.Name = "kcbCustomColourOneSelector"; this.kcbCustomColourOneSelector.Size = new System.Drawing.Size(338, 27); this.kcbCustomColourOneSelector.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourOneSelector.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near; this.kcbCustomColourOneSelector.StateCommon.Item.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourOneSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbCustomColourOneSelector.TabIndex = 57; this.kcbCustomColourOneSelector.SelectedIndexChanged += new System.EventHandler(this.KcbCustomColourOneSelector_SelectedIndexChanged); // // cbxContrastColourTwoPreview // this.cbxContrastColourTwoPreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.cbxContrastColourTwoPreview.BackColor = System.Drawing.Color.Black; this.cbxContrastColourTwoPreview.Location = new System.Drawing.Point(673, 391); this.cbxContrastColourTwoPreview.Name = "cbxContrastColourTwoPreview"; this.cbxContrastColourTwoPreview.Size = new System.Drawing.Size(303, 291); this.cbxContrastColourTwoPreview.TabIndex = 56; this.cbxContrastColourTwoPreview.TabStop = false; this.cbxContrastColourTwoPreview.MouseEnter += new System.EventHandler(this.CbxContrastColourTwoPreview_MouseEnter); // // kryptonLabel3 // this.kryptonLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.kryptonLabel3.Location = new System.Drawing.Point(424, 522); this.kryptonLabel3.Name = "kryptonLabel3"; this.kryptonLabel3.Size = new System.Drawing.Size(211, 33); this.kryptonLabel3.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.TabIndex = 55; this.kryptonLabel3.Values.Text = "Contrast Colour #2:"; // // cbxContrastColourOnePreview // this.cbxContrastColourOnePreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.cbxContrastColourOnePreview.BackColor = System.Drawing.Color.Black; this.cbxContrastColourOnePreview.Location = new System.Drawing.Point(673, 12); this.cbxContrastColourOnePreview.Name = "cbxContrastColourOnePreview"; this.cbxContrastColourOnePreview.Size = new System.Drawing.Size(303, 291); this.cbxContrastColourOnePreview.TabIndex = 54; this.cbxContrastColourOnePreview.TabStop = false; this.cbxContrastColourOnePreview.MouseEnter += new System.EventHandler(this.CbxContrastColourOnePreview_MouseEnter); // // kryptonLabel2 // this.kryptonLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.kryptonLabel2.Location = new System.Drawing.Point(424, 143); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(211, 33); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.TabIndex = 53; this.kryptonLabel2.Values.Text = "Contrast Colour #1:"; // // kryptonLabel6 // this.kryptonLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.kryptonLabel6.Location = new System.Drawing.Point(78, 713); this.kryptonLabel6.Name = "kryptonLabel6"; this.kryptonLabel6.Size = new System.Drawing.Size(26, 33); this.kryptonLabel6.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel6.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel6.TabIndex = 52; this.kryptonLabel6.Values.Text = "#"; // // knudBlueChannelValue // this.knudBlueChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.knudBlueChannelValue.DecimalPlaces = 99; this.knudBlueChannelValue.Location = new System.Drawing.Point(98, 631); this.knudBlueChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudBlueChannelValue.Name = "knudBlueChannelValue"; this.knudBlueChannelValue.Size = new System.Drawing.Size(120, 32); this.knudBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Blue; this.knudBlueChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudBlueChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudBlueChannelValue.TabIndex = 34; this.knudBlueChannelValue.ValueChanged += new System.EventHandler(this.KnudBlueChannelValue_ValueChanged); // // ktxtHexValue // this.ktxtHexValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.ktxtHexValue.Hint = "FFFFFF"; this.ktxtHexValue.Location = new System.Drawing.Point(110, 717); this.ktxtHexValue.MaxLength = 6; this.ktxtHexValue.Name = "ktxtHexValue"; this.ktxtHexValue.Size = new System.Drawing.Size(158, 29); this.ktxtHexValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtHexValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.ktxtHexValue.TabIndex = 51; this.ktxtHexValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ktxtHexValue.TextChanged += new System.EventHandler(this.KtxtHexValue_TextChanged); // // cwChosenColour // this.cwChosenColour.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.cwChosenColour.BackColor = System.Drawing.Color.Transparent; this.cwChosenColour.Location = new System.Drawing.Point(12, 12); this.cwChosenColour.Name = "cwChosenColour"; this.cwChosenColour.Size = new System.Drawing.Size(368, 373); this.cwChosenColour.TabIndex = 3; this.cwChosenColour.ColourChanged += new System.EventHandler(this.CwChosenColour_ColourChanged); // // klblHexValue // this.klblHexValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.klblHexValue.Location = new System.Drawing.Point(12, 711); this.klblHexValue.Name = "klblHexValue"; this.klblHexValue.Size = new System.Drawing.Size(60, 33); this.klblHexValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblHexValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblHexValue.TabIndex = 50; this.klblHexValue.Values.Text = "Hex:"; // // knudGreenChannelValue // this.knudGreenChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.knudGreenChannelValue.DecimalPlaces = 99; this.knudGreenChannelValue.Location = new System.Drawing.Point(98, 551); this.knudGreenChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudGreenChannelValue.Name = "knudGreenChannelValue"; this.knudGreenChannelValue.Size = new System.Drawing.Size(120, 32); this.knudGreenChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Green; this.knudGreenChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudGreenChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudGreenChannelValue.TabIndex = 33; this.knudGreenChannelValue.ValueChanged += new System.EventHandler(this.KnudGreenChannelValue_ValueChanged); // // kryptonLabel1 // this.kryptonLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.kryptonLabel1.Location = new System.Drawing.Point(12, 391); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(79, 33); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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.TabIndex = 27; this.kryptonLabel1.Values.Text = "Alpha:"; // // knudRedChannelValue // this.knudRedChannelValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.knudRedChannelValue.DecimalPlaces = 99; this.knudRedChannelValue.Location = new System.Drawing.Point(98, 471); this.knudRedChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudRedChannelValue.Name = "knudRedChannelValue"; this.knudRedChannelValue.Size = new System.Drawing.Size(120, 32); this.knudRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Red; this.knudRedChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudRedChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudRedChannelValue.TabIndex = 32; this.knudRedChannelValue.ValueChanged += new System.EventHandler(this.KnudRedChannelValue_ValueChanged); // // knumAlpaValue // this.knumAlpaValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.knumAlpaValue.DecimalPlaces = 99; this.knumAlpaValue.Location = new System.Drawing.Point(97, 391); this.knumAlpaValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumAlpaValue.Name = "knumAlpaValue"; this.knumAlpaValue.Size = new System.Drawing.Size(120, 32); this.knumAlpaValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumAlpaValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumAlpaValue.TabIndex = 28; this.knumAlpaValue.ValueChanged += new System.EventHandler(this.KnumAlpaValue_ValueChanged); // // kryptonLabel10 // this.kryptonLabel10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.kryptonLabel10.Location = new System.Drawing.Point(12, 471); this.kryptonLabel10.Name = "kryptonLabel10"; this.kryptonLabel10.Size = new System.Drawing.Size(59, 33); this.kryptonLabel10.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.TabIndex = 31; this.kryptonLabel10.Values.Text = "Red:"; // // kryptonLabel8 // this.kryptonLabel8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.kryptonLabel8.Location = new System.Drawing.Point(12, 631); this.kryptonLabel8.Name = "kryptonLabel8"; this.kryptonLabel8.Size = new System.Drawing.Size(64, 33); this.kryptonLabel8.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.TabIndex = 29; this.kryptonLabel8.Values.Text = "Blue:"; // // kryptonLabel9 // this.kryptonLabel9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.kryptonLabel9.Location = new System.Drawing.Point(12, 551); this.kryptonLabel9.Name = "kryptonLabel9"; this.kryptonLabel9.Size = new System.Drawing.Size(80, 33); this.kryptonLabel9.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.TabIndex = 30; this.kryptonLabel9.Values.Text = "Green:"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 752); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(988, 3); this.panel1.TabIndex = 2; // // kbtnGenerate // this.kbtnGenerate.AutoSize = true; this.kbtnGenerate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerate.Location = new System.Drawing.Point(402, 13); this.kbtnGenerate.Name = "kbtnGenerate"; this.kbtnGenerate.Size = new System.Drawing.Size(197, 30); this.kbtnGenerate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerate.TabIndex = 65; this.kbtnGenerate.Values.Text = "Gener&ate Random Colour"; this.kbtnGenerate.Click += new System.EventHandler(this.KbtnGenerate_Click); // // ColourContrastTool // this.ClientSize = new System.Drawing.Size(988, 810); 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.Name = "ColourContrastTool"; this.Text = "Krypton Colour Contrast Tool"; this.Load += new System.EventHandler(this.ColourContrastTool_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourTwoSelector)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kcbCustomColourOneSelector)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourTwoPreview)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxContrastColourOnePreview)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomPaletteColours)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ktbHexadecimal = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnUtiliseAsBaseColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnSaveColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.klstCustomColourSelector = new ComponentFactory.Krypton.Toolkit.KryptonListBox(); this.pbxColourPreview = new System.Windows.Forms.PictureBox(); this.kcmbNormalTextSystemColours = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel22 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kcmbNormalTextColour = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel21 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextBlueValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextRedValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnUtiliseAsBaseColour); this.kryptonPanel1.Controls.Add(this.kbtnSaveColour); this.kryptonPanel1.Controls.Add(this.kbtnOk); this.kryptonPanel1.Controls.Add(this.ktbHexadecimal); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 341); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(1027, 50); this.kryptonPanel1.TabIndex = 1; // // kbtnOk // this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.Location = new System.Drawing.Point(983, 8); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 101; this.kbtnOk.Values.Text = "&Ok"; // // ktbHexadecimal // this.ktbHexadecimal.Hint = "#000000"; this.ktbHexadecimal.Location = new System.Drawing.Point(534, 9); this.ktbHexadecimal.MaxLength = 7; this.ktbHexadecimal.Name = "ktbHexadecimal"; this.ktbHexadecimal.Size = new System.Drawing.Size(176, 29); this.ktbHexadecimal.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktbHexadecimal.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.ktbHexadecimal.TabIndex = 85; this.ktbHexadecimal.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(356, 11); 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 = 84; this.kryptonLabel1.Values.Text = "Hexadecimal Colour:"; // // kbtnUtiliseAsBaseColour // this.kbtnUtiliseAsBaseColour.AutoSize = true; this.kbtnUtiliseAsBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnUtiliseAsBaseColour.Location = new System.Drawing.Point(183, 8); this.kbtnUtiliseAsBaseColour.Name = "kbtnUtiliseAsBaseColour"; this.kbtnUtiliseAsBaseColour.Size = new System.Drawing.Size(167, 30); this.kbtnUtiliseAsBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnUtiliseAsBaseColour.TabIndex = 103; this.kbtnUtiliseAsBaseColour.Values.Text = "Utilise as Base &Colour"; // // kbtnSaveColour // this.kbtnSaveColour.AutoSize = true; this.kbtnSaveColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnSaveColour.Enabled = false; this.kbtnSaveColour.Location = new System.Drawing.Point(12, 8); this.kbtnSaveColour.Name = "kbtnSaveColour"; this.kbtnSaveColour.Size = new System.Drawing.Size(165, 30); this.kbtnSaveColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSaveColour.TabIndex = 102; this.kbtnSaveColour.Values.Text = "Save &Selected Colour"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 338); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1027, 3); this.panel1.TabIndex = 3; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.klstCustomColourSelector); this.kryptonPanel2.Controls.Add(this.pbxColourPreview); this.kryptonPanel2.Controls.Add(this.kcmbNormalTextSystemColours); this.kryptonPanel2.Controls.Add(this.kryptonLabel22); this.kryptonPanel2.Controls.Add(this.kcmbNormalTextColour); this.kryptonPanel2.Controls.Add(this.kryptonLabel21); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextBlueValue); this.kryptonPanel2.Controls.Add(this.knumBlueChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel4); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextGreenValue); this.kryptonPanel2.Controls.Add(this.knumGreenChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel3); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextRedValue); this.kryptonPanel2.Controls.Add(this.knumRedChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); 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(1027, 338); this.kryptonPanel2.TabIndex = 4; // // klstCustomColourSelector // this.klstCustomColourSelector.HorizontalScrollbar = true; this.klstCustomColourSelector.Location = new System.Drawing.Point(12, 12); this.klstCustomColourSelector.Name = "klstCustomColourSelector"; this.klstCustomColourSelector.Size = new System.Drawing.Size(335, 257); this.klstCustomColourSelector.Sorted = true; this.klstCustomColourSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klstCustomColourSelector.TabIndex = 156; // // pbxColourPreview // this.pbxColourPreview.BackColor = System.Drawing.Color.Transparent; this.pbxColourPreview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pbxColourPreview.Location = new System.Drawing.Point(353, 12); this.pbxColourPreview.Name = "pbxColourPreview"; this.pbxColourPreview.Size = new System.Drawing.Size(650, 180); this.pbxColourPreview.TabIndex = 155; this.pbxColourPreview.TabStop = false; // // kcmbNormalTextSystemColours // this.kcmbNormalTextSystemColours.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcmbNormalTextSystemColours.DropDownWidth = 173; this.kcmbNormalTextSystemColours.IntegralHeight = false; this.kcmbNormalTextSystemColours.Location = new System.Drawing.Point(830, 215); this.kcmbNormalTextSystemColours.Name = "kcmbNormalTextSystemColours"; this.kcmbNormalTextSystemColours.Size = new System.Drawing.Size(173, 27); this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near; this.kcmbNormalTextSystemColours.TabIndex = 154; // // kryptonLabel22 // this.kryptonLabel22.Location = new System.Drawing.Point(688, 216); this.kryptonLabel22.Name = "kryptonLabel22"; this.kryptonLabel22.Size = new System.Drawing.Size(136, 26); this.kryptonLabel22.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel22.TabIndex = 153; this.kryptonLabel22.Values.Text = "System Colours:"; // // kcmbNormalTextColour // this.kcmbNormalTextColour.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcmbNormalTextColour.DropDownWidth = 173; this.kcmbNormalTextColour.IntegralHeight = false; this.kcmbNormalTextColour.Location = new System.Drawing.Point(509, 215); this.kcmbNormalTextColour.Name = "kcmbNormalTextColour"; this.kcmbNormalTextColour.Size = new System.Drawing.Size(173, 27); this.kcmbNormalTextColour.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbNormalTextColour.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near; this.kcmbNormalTextColour.TabIndex = 152; // // kryptonLabel21 // this.kryptonLabel21.Location = new System.Drawing.Point(353, 216); this.kryptonLabel21.Name = "kryptonLabel21"; this.kryptonLabel21.Size = new System.Drawing.Size(150, 26); this.kryptonLabel21.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel21.TabIndex = 151; this.kryptonLabel21.Values.Text = "Standard Colours:"; // // kbtnGenerateNormalTextBlueValue // this.kbtnGenerateNormalTextBlueValue.AutoSize = true; this.kbtnGenerateNormalTextBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextBlueValue.Location = new System.Drawing.Point(843, 282); this.kbtnGenerateNormalTextBlueValue.Name = "kbtnGenerateNormalTextBlueValue"; this.kbtnGenerateNormalTextBlueValue.Size = new System.Drawing.Size(114, 30); this.kbtnGenerateNormalTextBlueValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextBlueValue.TabIndex = 150; this.kbtnGenerateNormalTextBlueValue.Values.Text = "Generate &Blue"; // // knumBlueChannelValue // this.knumBlueChannelValue.Location = new System.Drawing.Point(717, 282); this.knumBlueChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBlueChannelValue.Name = "knumBlueChannelValue"; this.knumBlueChannelValue.Size = new System.Drawing.Size(120, 28); this.knumBlueChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.knumBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumBlueChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBlueChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumBlueChannelValue.TabIndex = 149; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(649, 284); 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.TabIndex = 148; this.kryptonLabel4.Values.Text = "Blue:"; // // kbtnGenerateNormalTextGreenValue // this.kbtnGenerateNormalTextGreenValue.AutoSize = true; this.kbtnGenerateNormalTextGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextGreenValue.Location = new System.Drawing.Point(517, 284); this.kbtnGenerateNormalTextGreenValue.Name = "kbtnGenerateNormalTextGreenValue"; this.kbtnGenerateNormalTextGreenValue.Size = new System.Drawing.Size(126, 30); this.kbtnGenerateNormalTextGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextGreenValue.TabIndex = 147; this.kbtnGenerateNormalTextGreenValue.Values.Text = "Generate &Green"; // // knumGreenChannelValue // this.knumGreenChannelValue.Location = new System.Drawing.Point(391, 284); this.knumGreenChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumGreenChannelValue.Name = "knumGreenChannelValue"; this.knumGreenChannelValue.Size = new System.Drawing.Size(120, 28); this.knumGreenChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Lime; this.knumGreenChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumGreenChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumGreenChannelValue.TabIndex = 146; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(323, 284); 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.TabIndex = 145; this.kryptonLabel3.Values.Text = "Green:"; // // kbtnGenerateNormalTextRedValue // this.kbtnGenerateNormalTextRedValue.AutoSize = true; this.kbtnGenerateNormalTextRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextRedValue.Location = new System.Drawing.Point(206, 284); this.kbtnGenerateNormalTextRedValue.Name = "kbtnGenerateNormalTextRedValue"; this.kbtnGenerateNormalTextRedValue.Size = new System.Drawing.Size(111, 30); this.kbtnGenerateNormalTextRedValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextRedValue.TabIndex = 144; this.kbtnGenerateNormalTextRedValue.Values.Text = "Generate &Red"; // // knumRedChannelValue // this.knumRedChannelValue.Location = new System.Drawing.Point(80, 283); this.knumRedChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumRedChannelValue.Name = "knumRedChannelValue"; this.knumRedChannelValue.Size = new System.Drawing.Size(120, 28); this.knumRedChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knumRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumRedChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumRedChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumRedChannelValue.TabIndex = 143; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 284); 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.TabIndex = 142; this.kryptonLabel2.Values.Text = "Red:"; // // CustomPaletteColours // this.ClientSize = new System.Drawing.Size(1027, 391); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); 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 = "CustomPaletteColours"; this.ShowInTaskbar = false; this.Text = "Define Custom Palette Colours"; ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.btnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.btnOK = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.Label3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.Label7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.pnlColour = new System.Windows.Forms.Panel(); this.Label6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.Label1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.Label5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.pnlSelectedColour = new System.Windows.Forms.Panel(); this.pnlBrightness = new System.Windows.Forms.Panel(); this.Label4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.Label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kpbg = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.knumHue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumSaturation = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBrightness = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBlue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumGreen = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumRed = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.ktxtWebColour = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); ((System.ComponentModel.ISupportInitialize)(this.kpbg)).BeginInit(); this.kpbg.SuspendLayout(); this.SuspendLayout(); // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.Location = new System.Drawing.Point(192, 320); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 24); this.btnCancel.TabIndex = 55; this.btnCancel.Values.Text = "Cancel"; // // btnOK // this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOK.Location = new System.Drawing.Point(120, 320); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(64, 24); this.btnOK.TabIndex = 54; this.btnOK.Values.Text = "OK"; // // Label3 // this.Label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label3.Location = new System.Drawing.Point(152, 280); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(37, 20); this.Label3.TabIndex = 45; this.Label3.Values.Text = "Blue:"; // // Label7 // this.Label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label7.Location = new System.Drawing.Point(16, 280); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(70, 20); this.Label7.TabIndex = 50; this.Label7.Values.Text = "Brightness:"; // // pnlColour // this.pnlColour.Location = new System.Drawing.Point(8, 8); this.pnlColour.Name = "pnlColour"; this.pnlColour.Size = new System.Drawing.Size(176, 176); this.pnlColour.TabIndex = 51; this.pnlColour.Visible = false; this.pnlColour.MouseUp += new System.Windows.Forms.MouseEventHandler(this.frmMain_MouseUp); // // Label6 // this.Label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label6.Location = new System.Drawing.Point(16, 256); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(69, 20); this.Label6.TabIndex = 49; this.Label6.Values.Text = "Saturation:"; // // Label1 // this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.Location = new System.Drawing.Point(152, 232); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(34, 20); this.Label1.TabIndex = 43; this.Label1.Values.Text = "Red:"; // // Label5 // this.Label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label5.Location = new System.Drawing.Point(16, 232); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(35, 20); this.Label5.TabIndex = 48; this.Label5.Values.Text = "Hue:"; // // pnlSelectedColour // this.pnlSelectedColour.Location = new System.Drawing.Point(136, 203); this.pnlSelectedColour.Name = "pnlSelectedColour"; this.pnlSelectedColour.Size = new System.Drawing.Size(48, 20); this.pnlSelectedColour.TabIndex = 53; this.pnlSelectedColour.Visible = false; // // pnlBrightness // this.pnlBrightness.Location = new System.Drawing.Point(208, 8); this.pnlBrightness.Name = "pnlBrightness"; this.pnlBrightness.Size = new System.Drawing.Size(16, 176); this.pnlBrightness.TabIndex = 52; this.pnlBrightness.Visible = false; // // Label4 // this.Label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label4.Location = new System.Drawing.Point(80, 203); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(50, 20); this.Label4.TabIndex = 46; this.Label4.Values.Text = "Colour:"; // // Label2 // this.Label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.Location = new System.Drawing.Point(152, 256); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(46, 20); this.Label2.TabIndex = 44; this.Label2.Values.Text = "Green:"; // // kpbg // this.kpbg.Controls.Add(this.ktxtWebColour); this.kpbg.Controls.Add(this.knumBlue); this.kpbg.Controls.Add(this.knumGreen); this.kpbg.Controls.Add(this.knumRed); this.kpbg.Controls.Add(this.knumBrightness); this.kpbg.Controls.Add(this.knumSaturation); this.kpbg.Controls.Add(this.knumHue); this.kpbg.Controls.Add(this.Label4); this.kpbg.Controls.Add(this.Label5); this.kpbg.Controls.Add(this.Label1); this.kpbg.Controls.Add(this.Label3); this.kpbg.Controls.Add(this.Label6); this.kpbg.Controls.Add(this.Label2); this.kpbg.Controls.Add(this.Label7); this.kpbg.Dock = System.Windows.Forms.DockStyle.Fill; this.kpbg.Location = new System.Drawing.Point(0, 0); this.kpbg.Name = "kpbg"; this.kpbg.Size = new System.Drawing.Size(264, 349); this.kpbg.TabIndex = 57; // // knumHue // this.knumHue.Location = new System.Drawing.Point(98, 232); this.knumHue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumHue.Name = "knumHue"; this.knumHue.Size = new System.Drawing.Size(48, 22); this.knumHue.TabIndex = 51; // // knumSaturation // this.knumSaturation.Location = new System.Drawing.Point(98, 256); this.knumSaturation.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumSaturation.Name = "knumSaturation"; this.knumSaturation.Size = new System.Drawing.Size(48, 22); this.knumSaturation.TabIndex = 52; // // knumBrightness // this.knumBrightness.Location = new System.Drawing.Point(98, 280); this.knumBrightness.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBrightness.Name = "knumBrightness"; this.knumBrightness.Size = new System.Drawing.Size(48, 22); this.knumBrightness.TabIndex = 53; // // knumBlue // this.knumBlue.Location = new System.Drawing.Point(204, 280); this.knumBlue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBlue.Name = "knumBlue"; this.knumBlue.Size = new System.Drawing.Size(48, 22); this.knumBlue.StateActive.Back.Color1 = System.Drawing.Color.Blue; this.knumBlue.StateActive.Content.Color1 = System.Drawing.Color.White; this.knumBlue.TabIndex = 56; // // knumGreen // this.knumGreen.Location = new System.Drawing.Point(204, 256); this.knumGreen.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumGreen.Name = "knumGreen"; this.knumGreen.Size = new System.Drawing.Size(48, 22); this.knumGreen.StateCommon.Back.Color1 = System.Drawing.Color.Lime; this.knumGreen.TabIndex = 55; // // knumRed // this.knumRed.Location = new System.Drawing.Point(204, 232); this.knumRed.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumRed.Name = "knumRed"; this.knumRed.Size = new System.Drawing.Size(48, 22); this.knumRed.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knumRed.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumRed.TabIndex = 54; // // ktxtWebColour // this.ktxtWebColour.Location = new System.Drawing.Point(190, 200); this.ktxtWebColour.MaxLength = 6; this.ktxtWebColour.Name = "ktxtWebColour"; this.ktxtWebColour.Size = new System.Drawing.Size(66, 23); this.ktxtWebColour.TabIndex = 57; // // KryptonColourChooser1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(264, 349); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.pnlColour); this.Controls.Add(this.pnlSelectedColour); this.Controls.Add(this.pnlBrightness); this.Controls.Add(this.kpbg); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "KryptonColourChooser1"; this.Text = "Select Colour"; this.Load += new System.EventHandler(this.ColourChooser1_Load); this.Paint += new System.Windows.Forms.PaintEventHandler(this.ColourChooser1_Paint); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.HandleMouse); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.HandleMouse); this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.frmMain_MouseUp); ((System.ComponentModel.ISupportInitialize)(this.kpbg)).EndInit(); this.kpbg.ResumeLayout(false); this.kpbg.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing) { if (_numericUpDown != null) { UnmonitorControl(_numericUpDown); _numericUpDown.Dispose(); _numericUpDown = null; } } base.Dispose(disposing); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnGeneratePassword = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnCopy = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.ktxtOutput = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudPasswordLength = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnCopy); this.kryptonPanel1.Controls.Add(this.kbtnCancel); this.kryptonPanel1.Controls.Add(this.kbtnGeneratePassword); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 166); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(767, 50); this.kryptonPanel1.TabIndex = 0; // // kbtnGeneratePassword // this.kbtnGeneratePassword.Location = new System.Drawing.Point(476, 9); this.kbtnGeneratePassword.Name = "kbtnGeneratePassword"; this.kbtnGeneratePassword.Size = new System.Drawing.Size(156, 29); this.kbtnGeneratePassword.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGeneratePassword.StateCommon.Content.LongText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnGeneratePassword.StateCommon.Content.LongText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kbtnGeneratePassword.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGeneratePassword.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnGeneratePassword.StateCommon.Content.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kbtnGeneratePassword.TabIndex = 13; this.kbtnGeneratePassword.Values.Text = "&Generate"; this.kbtnGeneratePassword.Click += new System.EventHandler(this.kbtnGeneratePassword_Click); // // kbtnCancel // this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnCancel.Location = new System.Drawing.Point(638, 9); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(117, 29); 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.LongText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnCancel.StateCommon.Content.LongText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; 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.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnCancel.StateCommon.Content.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kbtnCancel.TabIndex = 12; this.kbtnCancel.Values.Text = "&Cancel"; this.kbtnCancel.Click += new System.EventHandler(this.kbtnCancel_Click); // // kbtnCopy // this.kbtnCopy.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnCopy.Enabled = false; this.kbtnCopy.Location = new System.Drawing.Point(12, 9); this.kbtnCopy.Name = "kbtnCopy"; this.kbtnCopy.Size = new System.Drawing.Size(117, 29); this.kbtnCopy.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnCopy.StateCommon.Content.LongText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnCopy.StateCommon.Content.LongText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kbtnCopy.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnCopy.StateCommon.Content.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kbtnCopy.StateCommon.Content.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kbtnCopy.TabIndex = 14; this.kbtnCopy.Values.Text = "C&opy"; this.kbtnCopy.Click += new System.EventHandler(this.kbtnCopy_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, 163); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(767, 3); this.panel1.TabIndex = 1; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.ktxtOutput); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.knudPasswordLength); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); 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, 163); this.kryptonPanel2.TabIndex = 2; // // ktxtOutput // this.ktxtOutput.Location = new System.Drawing.Point(12, 113); this.ktxtOutput.Name = "ktxtOutput"; this.ktxtOutput.ReadOnly = true; this.ktxtOutput.Size = new System.Drawing.Size(739, 29); this.ktxtOutput.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtOutput.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.ktxtOutput.TabIndex = 8; this.ktxtOutput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ktxtOutput.TextChanged += new System.EventHandler(this.ktxtOutput_TextChanged); // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 70); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(150, 26); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.LongText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kryptonLabel2.StateCommon.LongText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; 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 = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kryptonLabel2.StateCommon.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kryptonLabel2.TabIndex = 7; this.kryptonLabel2.Values.Text = "Password Output:"; // // knudPasswordLength // this.knudPasswordLength.Location = new System.Drawing.Point(166, 12); this.knudPasswordLength.Maximum = new decimal(new int[] { 20, 0, 0, 0 }); this.knudPasswordLength.Minimum = new decimal(new int[] { 5, 0, 0, 0 }); this.knudPasswordLength.Name = "knudPasswordLength"; this.knudPasswordLength.Size = new System.Drawing.Size(120, 28); this.knudPasswordLength.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudPasswordLength.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudPasswordLength.TabIndex = 6; this.knudPasswordLength.Value = new decimal(new int[] { 5, 0, 0, 0 }); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 12); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(148, 26); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.StateCommon.LongText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kryptonLabel1.StateCommon.LongText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.StateCommon.ShortText.ImageStyle = ComponentFactory.Krypton.Toolkit.PaletteImageStyle.Inherit; this.kryptonLabel1.StateCommon.ShortText.Trim = ComponentFactory.Krypton.Toolkit.PaletteTextTrim.Inherit; this.kryptonLabel1.TabIndex = 5; this.kryptonLabel1.Values.Text = "Password Length:"; // // RandomPasswordGenerator // this.ClientSize = new System.Drawing.Size(767, 216); 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 = "RandomPasswordGenerator"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Generate a Random Password"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RandomPasswordGenerator_FormClosing); this.Load += new System.EventHandler(this.RandomPasswordGenerator_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); this.ResumeLayout(false); }
protected override Control InitialControl() { if (IsScoped) { Panel ctl = new Panel(); ctl.BackColor = Color.Transparent; KryptonNumericUpDown begin = new KryptonNumericUpDown(); KryptonNumericUpDown end = new KryptonNumericUpDown(); KryptonLabel lbl = new KryptonLabel(); begin.Width = Width / 2 - 7; begin.Dock = DockStyle.Left; begin.DecimalPlaces = DecimalPlaces; end.Width = Width / 2 - 7; end.Dock = DockStyle.Right; end.DecimalPlaces = DecimalPlaces; lbl.Text = "-"; lbl.Dock = DockStyle.Fill; lbl.LabelStyle = LabelStyle.NormalPanel; ctl.Controls.Add(lbl); ctl.Controls.Add(begin); ctl.Controls.Add(end); ctl.Height = begin.Height; return ctl; } else { KryptonNumericUpDown ctl = new KryptonNumericUpDown(); ctl.DecimalPlaces = DecimalPlaces; return ctl; } }
public KryptonNumericUpDownProxy(KryptonNumericUpDown numericUpDown) { _numericUpDown = numericUpDown; }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues1 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues2 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues3 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues4 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues5 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues6 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnGeneratePassword = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ktxtOutput = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.ctxMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.copyPasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudPasswordLength = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.ctxMenu.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnGeneratePassword); this.kryptonPanel1.Controls.Add(this.kbtnCancel); this.kryptonPanel1.Controls.Add(this.ktxtOutput); this.kryptonPanel1.Controls.Add(this.kryptonLabel2); this.kryptonPanel1.Controls.Add(this.knudPasswordLength); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); 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(763, 187); this.kryptonPanel1.TabIndex = 0; // // kbtnGeneratePassword // this.kbtnGeneratePassword.Location = new System.Drawing.Point(472, 148); this.kbtnGeneratePassword.Name = "kbtnGeneratePassword"; this.kbtnGeneratePassword.Size = new System.Drawing.Size(156, 29); this.kbtnGeneratePassword.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGeneratePassword.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGeneratePassword.TabIndex = 11; popupPositionValues1.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues1.PlacementTarget = null; this.kbtnGeneratePassword.ToolTipValues.ToolTipPosition = popupPositionValues1; this.kbtnGeneratePassword.Values.Text = "&Generate"; this.kbtnGeneratePassword.Click += new System.EventHandler(this.kbtnGeneratePasword_Click); // // kbtnCancel // this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnCancel.Location = new System.Drawing.Point(634, 148); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(117, 29); 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 = 10; popupPositionValues2.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues2.PlacementTarget = null; this.kbtnCancel.ToolTipValues.ToolTipPosition = popupPositionValues2; this.kbtnCancel.Values.Text = "&Cancel"; this.kbtnCancel.Click += new System.EventHandler(this.kbtnCancel_Click); // // ktxtOutput // this.ktxtOutput.ContextMenuStrip = this.ctxMenu; this.ktxtOutput.Location = new System.Drawing.Point(12, 113); this.ktxtOutput.Name = "ktxtOutput"; this.ktxtOutput.ReadOnly = true; this.ktxtOutput.Size = new System.Drawing.Size(739, 29); this.ktxtOutput.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtOutput.TabIndex = 4; this.ktxtOutput.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; popupPositionValues3.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues3.PlacementTarget = null; this.ktxtOutput.ToolTipValues.ToolTipPosition = popupPositionValues3; // // ctxMenu // this.ctxMenu.Font = new System.Drawing.Font("Segoe UI", 9F); this.ctxMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyPasswordToolStripMenuItem }); this.ctxMenu.Name = "ctxMenu"; this.ctxMenu.Size = new System.Drawing.Size(156, 26); // // copyPasswordToolStripMenuItem // this.copyPasswordToolStripMenuItem.Name = "copyPasswordToolStripMenuItem"; this.copyPasswordToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.copyPasswordToolStripMenuItem.Text = "&Copy Password"; this.copyPasswordToolStripMenuItem.Click += new System.EventHandler(this.copyPasswordToolStripMenuItem_Click); // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 70); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(150, 26); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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 = 3; popupPositionValues4.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues4.PlacementTarget = null; this.kryptonLabel2.ToolTipValues.ToolTipPosition = popupPositionValues4; this.kryptonLabel2.Values.Text = "Password Output:"; // // knudPasswordLength // this.knudPasswordLength.Location = new System.Drawing.Point(166, 12); this.knudPasswordLength.Maximum = new decimal(new int[] { 20, 0, 0, 0 }); this.knudPasswordLength.Minimum = new decimal(new int[] { 5, 0, 0, 0 }); this.knudPasswordLength.Name = "knudPasswordLength"; this.knudPasswordLength.Size = new System.Drawing.Size(120, 28); this.knudPasswordLength.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudPasswordLength.TabIndex = 2; this.knudPasswordLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; popupPositionValues5.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues5.PlacementTarget = null; this.knudPasswordLength.ToolTipValues.ToolTipPosition = popupPositionValues5; this.knudPasswordLength.Value = new decimal(new int[] { 5, 0, 0, 0 }); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 12); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(148, 26); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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 = 1; popupPositionValues6.PlacementRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); popupPositionValues6.PlacementTarget = null; this.kryptonLabel1.ToolTipValues.ToolTipPosition = popupPositionValues6; this.kryptonLabel1.Values.Text = "Password Length:"; // // RandomPasswordGenerator // this.ClientSize = new System.Drawing.Size(763, 187); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "RandomPasswordGenerator"; this.Text = "Generate a Random Password"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RandomPasswordGenerator_FormClosing); this.Load += new System.EventHandler(this.RandomPasswordGenerator_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); this.ctxMenu.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourWheelColourPickerDialog)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.knumAlpha = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumRed = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumGreen = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBlue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBrightness = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumSaturation = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumHue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblBrightness = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblSaturation = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblHue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kptxtHexColour = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox(); this.kryptonCueTextBox1 = new KryptonExtendedToolkit.ExtendedToolkit.Controls.KryptonCueTextBox(); this.cbSelectedColour = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.cwColourSelector = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourWheel(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbSelectedColour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.knumAlpha); this.kryptonPanel1.Controls.Add(this.knumRed); this.kryptonPanel1.Controls.Add(this.knumGreen); this.kryptonPanel1.Controls.Add(this.knumBlue); this.kryptonPanel1.Controls.Add(this.knumBrightness); this.kryptonPanel1.Controls.Add(this.knumSaturation); this.kryptonPanel1.Controls.Add(this.knumHue); this.kryptonPanel1.Controls.Add(this.kryptonLabel9); this.kryptonPanel1.Controls.Add(this.kryptonLabel8); this.kryptonPanel1.Controls.Add(this.kryptonLabel7); this.kryptonPanel1.Controls.Add(this.kryptonLabel6); this.kryptonPanel1.Controls.Add(this.klblBrightness); this.kryptonPanel1.Controls.Add(this.klblSaturation); this.kryptonPanel1.Controls.Add(this.klblHue); this.kryptonPanel1.Controls.Add(this.kryptonLabel2); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Controls.Add(this.kptxtHexColour); this.kryptonPanel1.Controls.Add(this.kryptonCueTextBox1); this.kryptonPanel1.Controls.Add(this.cbSelectedColour); this.kryptonPanel1.Controls.Add(this.cwColourSelector); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.kryptonPanel1.Location = new System.Drawing.Point(0, 0); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(525, 357); this.kryptonPanel1.TabIndex = 1; // // knumAlpha // this.knumAlpha.Location = new System.Drawing.Point(436, 171); this.knumAlpha.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumAlpha.Name = "knumAlpha"; this.knumAlpha.Size = new System.Drawing.Size(74, 28); this.knumAlpha.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumAlpha.TabIndex = 22; this.knumAlpha.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.knumAlpha.Value = new decimal(new int[] { 255, 0, 0, 0 }); // // knumRed // this.knumRed.Location = new System.Drawing.Point(436, 228); this.knumRed.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumRed.Name = "knumRed"; this.knumRed.Size = new System.Drawing.Size(74, 28); this.knumRed.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knumRed.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumRed.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumRed.TabIndex = 21; this.knumRed.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumGreen // this.knumGreen.Location = new System.Drawing.Point(436, 274); this.knumGreen.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumGreen.Name = "knumGreen"; this.knumGreen.Size = new System.Drawing.Size(74, 28); this.knumGreen.StateCommon.Back.Color1 = System.Drawing.Color.Green; this.knumGreen.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumGreen.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumGreen.TabIndex = 20; this.knumGreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBlue // this.knumBlue.Location = new System.Drawing.Point(436, 322); this.knumBlue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBlue.Name = "knumBlue"; this.knumBlue.Size = new System.Drawing.Size(74, 28); this.knumBlue.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.knumBlue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumBlue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBlue.TabIndex = 19; this.knumBlue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBrightness // this.knumBrightness.Location = new System.Drawing.Point(284, 322); this.knumBrightness.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBrightness.Name = "knumBrightness"; this.knumBrightness.Size = new System.Drawing.Size(74, 28); this.knumBrightness.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBrightness.TabIndex = 18; this.knumBrightness.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumSaturation // this.knumSaturation.Location = new System.Drawing.Point(284, 274); this.knumSaturation.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumSaturation.Name = "knumSaturation"; this.knumSaturation.Size = new System.Drawing.Size(74, 28); this.knumSaturation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumSaturation.TabIndex = 17; this.knumSaturation.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumHue // this.knumHue.Location = new System.Drawing.Point(284, 228); this.knumHue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumHue.Name = "knumHue"; this.knumHue.Size = new System.Drawing.Size(74, 28); this.knumHue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumHue.TabIndex = 16; this.knumHue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonLabel9 // this.kryptonLabel9.Location = new System.Drawing.Point(375, 324); this.kryptonLabel9.Name = "kryptonLabel9"; this.kryptonLabel9.Size = new System.Drawing.Size(50, 26); this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.TabIndex = 15; this.kryptonLabel9.Values.Text = "Blue:"; // // kryptonLabel8 // this.kryptonLabel8.Location = new System.Drawing.Point(363, 274); this.kryptonLabel8.Name = "kryptonLabel8"; this.kryptonLabel8.Size = new System.Drawing.Size(62, 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.TabIndex = 14; this.kryptonLabel8.Values.Text = "Green:"; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(379, 228); this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Size = new System.Drawing.Size(46, 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.TabIndex = 13; this.kryptonLabel7.Values.Text = "Red:"; // // kryptonLabel6 // this.kryptonLabel6.Location = new System.Drawing.Point(363, 173); 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 = 12; this.kryptonLabel6.Values.Text = "Alpha:"; // // klblBrightness // this.klblBrightness.Location = new System.Drawing.Point(180, 324); this.klblBrightness.Name = "klblBrightness"; this.klblBrightness.Size = new System.Drawing.Size(98, 26); this.klblBrightness.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblBrightness.TabIndex = 11; this.klblBrightness.Values.Text = "Brightness:"; // // klblSaturation // this.klblSaturation.Location = new System.Drawing.Point(181, 274); this.klblSaturation.Name = "klblSaturation"; this.klblSaturation.Size = new System.Drawing.Size(97, 26); this.klblSaturation.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblSaturation.TabIndex = 10; this.klblSaturation.Values.Text = "Saturation:"; // // klblHue // this.klblHue.Location = new System.Drawing.Point(230, 228); this.klblHue.Name = "klblHue"; this.klblHue.Size = new System.Drawing.Size(48, 26); this.klblHue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblHue.TabIndex = 9; this.klblHue.Values.Text = "Hue:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(232, 104); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(164, 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 = 8; this.kryptonLabel2.Values.Text = "Hexadecimal Value: "; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(302, 33); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(138, 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 = 7; this.kryptonLabel1.Values.Text = "Selected Colour:"; // // kptxtHexColour // this.kptxtHexColour.DrawPrompt = true; this.kptxtHexColour.FocusSelect = true; this.kptxtHexColour.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kptxtHexColour.Location = new System.Drawing.Point(402, 101); this.kptxtHexColour.MaxLength = 7; this.kptxtHexColour.Name = "kptxtHexColour"; this.kptxtHexColour.PromptForeColour = System.Drawing.SystemColors.GrayText; this.kptxtHexColour.PromptText = "#000000"; this.kptxtHexColour.PromptTypeface = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kptxtHexColour.Size = new System.Drawing.Size(108, 29); this.kptxtHexColour.TabIndex = 5; this.kptxtHexColour.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonCueTextBox1 // this.kryptonCueTextBox1.CueText = "000000"; this.kryptonCueTextBox1.Location = new System.Drawing.Point(410, 101); this.kryptonCueTextBox1.MaxLength = 6; this.kryptonCueTextBox1.Name = "kryptonCueTextBox1"; this.kryptonCueTextBox1.Size = new System.Drawing.Size(100, 29); this.kryptonCueTextBox1.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonCueTextBox1.TabIndex = 2; this.kryptonCueTextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // cbSelectedColour // this.cbSelectedColour.BackColor = System.Drawing.Color.White; this.cbSelectedColour.Location = new System.Drawing.Point(446, 12); this.cbSelectedColour.Name = "cbSelectedColour"; this.cbSelectedColour.Size = new System.Drawing.Size(64, 64); this.cbSelectedColour.TabIndex = 1; this.cbSelectedColour.TabStop = false; this.cbSelectedColour.BackColorChanged += new System.EventHandler(this.cbSelectedColour_BackColorChanged); // // 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(202, 195); this.cwColourSelector.TabIndex = 0; this.cwColourSelector.ColourChanged += new System.EventHandler(this.cwColourSelector_ColourChanged); // // kbtnOk // this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnOk.Location = new System.Drawing.Point(412, 12); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 23; this.kbtnOk.Values.Text = "O&k"; this.kbtnOk.Click += new System.EventHandler(this.kbtnOk_Click); // // kbtnCancel // this.kbtnCancel.AutoSize = true; this.kbtnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnCancel.Location = new System.Drawing.Point(450, 12); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(60, 30); this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnCancel.TabIndex = 6; this.kbtnCancel.Values.Text = "C&ancel"; this.kbtnCancel.Click += new System.EventHandler(this.kbtnCancel_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 357); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(525, 2); this.panel1.TabIndex = 3; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kbtnOk); this.kryptonPanel2.Controls.Add(this.kbtnCancel); this.kryptonPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel2.Location = new System.Drawing.Point(0, 359); this.kryptonPanel2.Name = "kryptonPanel2"; this.kryptonPanel2.Size = new System.Drawing.Size(525, 54); this.kryptonPanel2.TabIndex = 4; // // ColourWheelColourPickerDialog // this.AcceptButton = this.kbtnOk; this.CancelButton = this.kbtnCancel; this.ClientSize = new System.Drawing.Size(525, 413); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); 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 = "ColourWheelColourPickerDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Select {0}"; this.Load += new System.EventHandler(this.ColourWheelColourPickerDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbSelectedColour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Initializes the designer with the specified component. /// </summary> /// <param name="component">The IComponent to associate the designer with.</param> public override void Initialize(IComponent component) { // Let base class do standard stuff base.Initialize(component); // The resizing handles around the control need to change depending on the // value of the AutoSize and AutoSizeMode properties. When in AutoSize you // do not get the resizing handles, otherwise you do. AutoResizeHandles = true; // Cast to correct type _numericUpDown = component as KryptonNumericUpDown; if (_numericUpDown != null) { // Hook into numeric updown events _numericUpDown.GetViewManager().MouseUpProcessed += new MouseEventHandler(OnNumericUpDownMouseUp); _numericUpDown.GetViewManager().DoubleClickProcessed += new PointHandler(OnNumericUpDownDoubleClick); } // Get access to the design services _designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); _changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); _selectionService = (ISelectionService)GetService(typeof(ISelectionService)); // We need to know when we are being removed _changeService.ComponentRemoving += new ComponentEventHandler(OnComponentRemoving); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.txtKey = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.label5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.txtColour = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.tentativeCheckBox = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.descriptionTextBox = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.addItem = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.endMinute = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.endHour = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.startMinute = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.startHour = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.label1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.label2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.lblDescription = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.datePicker = new ComponentFactory.Krypton.Toolkit.KryptonDateTimePicker(); this.lblDate = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.endMinute)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.startMinute)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.txtKey); this.kryptonPanel1.Controls.Add(this.label5); this.kryptonPanel1.Controls.Add(this.txtColour); this.kryptonPanel1.Controls.Add(this.tentativeCheckBox); this.kryptonPanel1.Controls.Add(this.descriptionTextBox); this.kryptonPanel1.Controls.Add(this.addItem); this.kryptonPanel1.Controls.Add(this.endMinute); this.kryptonPanel1.Controls.Add(this.endHour); this.kryptonPanel1.Controls.Add(this.startMinute); this.kryptonPanel1.Controls.Add(this.startHour); this.kryptonPanel1.Controls.Add(this.label1); this.kryptonPanel1.Controls.Add(this.label2); this.kryptonPanel1.Controls.Add(this.lblDescription); this.kryptonPanel1.Controls.Add(this.datePicker); this.kryptonPanel1.Controls.Add(this.lblDate); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); 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(776, 150); this.kryptonPanel1.TabIndex = 0; // // txtKey // this.txtKey.Location = new System.Drawing.Point(456, 109); this.txtKey.Name = "txtKey"; this.txtKey.Size = new System.Drawing.Size(189, 29); this.txtKey.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtKey.TabIndex = 51; // // label5 // this.label5.Location = new System.Drawing.Point(405, 112); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(45, 26); this.label5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.TabIndex = 50; this.label5.Values.Text = "Key:"; // // txtColour // this.txtColour.Location = new System.Drawing.Point(197, 109); this.txtColour.Name = "txtColour"; this.txtColour.Size = new System.Drawing.Size(202, 29); this.txtColour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtColour.TabIndex = 49; // // tentativeCheckBox // this.tentativeCheckBox.Location = new System.Drawing.Point(12, 112); this.tentativeCheckBox.Name = "tentativeCheckBox"; this.tentativeCheckBox.Size = new System.Drawing.Size(99, 26); this.tentativeCheckBox.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tentativeCheckBox.TabIndex = 35; this.tentativeCheckBox.Values.Text = "Tentative?"; // // descriptionTextBox // this.descriptionTextBox.Location = new System.Drawing.Point(123, 65); this.descriptionTextBox.Name = "descriptionTextBox"; this.descriptionTextBox.Size = new System.Drawing.Size(522, 29); this.descriptionTextBox.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.descriptionTextBox.TabIndex = 48; // // addItem // this.addItem.Location = new System.Drawing.Point(651, 12); this.addItem.Name = "addItem"; this.addItem.Size = new System.Drawing.Size(113, 126); this.addItem.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.addItem.TabIndex = 30; this.addItem.Values.Text = "Add Item"; this.addItem.Click += new System.EventHandler(this.addItem_Click); // // endMinute // this.endMinute.DropDownWidth = 40; this.endMinute.FormattingEnabled = true; this.endMinute.Items.AddRange(new object[] { "00", "30" }); this.endMinute.Location = new System.Drawing.Point(586, 12); this.endMinute.Name = "endMinute"; this.endMinute.Size = new System.Drawing.Size(59, 27); this.endMinute.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.endMinute.TabIndex = 47; this.endMinute.Text = "00"; // // endHour // this.endHour.Location = new System.Drawing.Point(534, 12); this.endHour.Maximum = new decimal(new int[] { 23, 0, 0, 0 }); this.endHour.Name = "endHour"; this.endHour.Size = new System.Drawing.Size(46, 28); this.endHour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.endHour.TabIndex = 46; // // startMinute // this.startMinute.DropDownWidth = 40; this.startMinute.FormattingEnabled = true; this.startMinute.Items.AddRange(new object[] { "00", "30" }); this.startMinute.Location = new System.Drawing.Point(375, 12); this.startMinute.Name = "startMinute"; this.startMinute.Size = new System.Drawing.Size(59, 27); this.startMinute.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.startMinute.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.startMinute.TabIndex = 45; this.startMinute.Text = "00"; this.startMinute.TextChanged += new System.EventHandler(this.startMinute_TextChanged); // // startHour // this.startHour.Location = new System.Drawing.Point(323, 12); this.startHour.Maximum = new decimal(new int[] { 23, 0, 0, 0 }); this.startHour.Name = "startHour"; this.startHour.Size = new System.Drawing.Size(46, 28); this.startHour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.startHour.TabIndex = 31; this.startHour.ValueChanged += new System.EventHandler(this.startHour_ValueChanged); // // label1 // this.label1.Location = new System.Drawing.Point(220, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(97, 26); this.label1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.TabIndex = 44; this.label1.Values.Text = "Start Time:"; // // label2 // this.label2.Location = new System.Drawing.Point(440, 12); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(88, 26); this.label2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.TabIndex = 43; this.label2.Values.Text = "End Time:"; // // lblDescription // this.lblDescription.Location = new System.Drawing.Point(12, 65); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(105, 26); this.lblDescription.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDescription.TabIndex = 42; this.lblDescription.Values.Text = "Description:"; // // datePicker // this.datePicker.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.datePicker.Location = new System.Drawing.Point(71, 12); this.datePicker.Name = "datePicker"; this.datePicker.Size = new System.Drawing.Size(143, 27); this.datePicker.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.datePicker.TabIndex = 41; // // lblDate // this.lblDate.Location = new System.Drawing.Point(12, 12); this.lblDate.Name = "lblDate"; this.lblDate.Size = new System.Drawing.Size(53, 26); this.lblDate.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDate.TabIndex = 40; this.lblDate.Values.Text = "Date:"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(123, 112); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(68, 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 = 38; this.kryptonLabel1.Values.Text = "Colour:"; // // AddAppointment // this.ClientSize = new System.Drawing.Size(776, 150); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "AddAppointment"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Add New Appointment"; this.Load += new System.EventHandler(this.AddAppointment_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.endMinute)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.startMinute)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.cbxColourSample = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.ktrkBlueValue = new ComponentFactory.Krypton.Toolkit.KryptonTrackBar(); this.ktrkGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonTrackBar(); this.ktrkRedValue = new ComponentFactory.Krypton.Toolkit.KryptonTrackBar(); this.knudBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knudGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knudRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumAlpaValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.ktrkAlphaValue = new ComponentFactory.Krypton.Toolkit.KryptonTrackBar(); this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbxColourSample)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.cbxColourSample); this.kryptonPanel1.Controls.Add(this.ktrkBlueValue); this.kryptonPanel1.Controls.Add(this.ktrkGreenValue); this.kryptonPanel1.Controls.Add(this.ktrkRedValue); this.kryptonPanel1.Controls.Add(this.knudBlueChannelValue); this.kryptonPanel1.Controls.Add(this.knudGreenChannelValue); this.kryptonPanel1.Controls.Add(this.knudRedChannelValue); this.kryptonPanel1.Controls.Add(this.knumAlpaValue); this.kryptonPanel1.Controls.Add(this.ktrkAlphaValue); this.kryptonPanel1.Controls.Add(this.kryptonLabel10); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Controls.Add(this.kryptonLabel9); this.kryptonPanel1.Controls.Add(this.kryptonLabel8); 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(841, 308); this.kryptonPanel1.TabIndex = 0; // // cbxColourSample // this.cbxColourSample.BackColor = System.Drawing.Color.Black; this.cbxColourSample.Location = new System.Drawing.Point(583, 41); this.cbxColourSample.Name = "cbxColourSample"; this.cbxColourSample.Size = new System.Drawing.Size(241, 226); this.cbxColourSample.TabIndex = 1; this.cbxColourSample.TabStop = false; this.cbxColourSample.BackColorChanged += new System.EventHandler(this.CbxColourSample_BackColorChanged); this.cbxColourSample.MouseEnter += new System.EventHandler(this.CbxColourSample_MouseEnter); // // ktrkBlueValue // this.ktrkBlueValue.DrawBackground = true; this.ktrkBlueValue.Location = new System.Drawing.Point(223, 234); this.ktrkBlueValue.Maximum = 255; this.ktrkBlueValue.Name = "ktrkBlueValue"; this.ktrkBlueValue.Size = new System.Drawing.Size(340, 33); this.ktrkBlueValue.StateCommon.Tick.Color1 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Tick.Color2 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Tick.Color3 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Tick.Color4 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Tick.Color5 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Track.Color1 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Track.Color2 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Track.Color3 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Track.Color4 = System.Drawing.Color.Blue; this.ktrkBlueValue.StateCommon.Track.Color5 = System.Drawing.Color.Blue; this.ktrkBlueValue.TabIndex = 33; this.ktrkBlueValue.TickStyle = System.Windows.Forms.TickStyle.Both; this.ktrkBlueValue.ValueChanged += new System.EventHandler(this.KtrkBlueValue_ValueChanged); // // ktrkGreenValue // this.ktrkGreenValue.DrawBackground = true; this.ktrkGreenValue.Location = new System.Drawing.Point(223, 172); this.ktrkGreenValue.Maximum = 255; this.ktrkGreenValue.Name = "ktrkGreenValue"; this.ktrkGreenValue.Size = new System.Drawing.Size(340, 33); this.ktrkGreenValue.StateCommon.Tick.Color1 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Tick.Color2 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Tick.Color3 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Tick.Color4 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Tick.Color5 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Track.Color1 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Track.Color2 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Track.Color3 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Track.Color4 = System.Drawing.Color.Green; this.ktrkGreenValue.StateCommon.Track.Color5 = System.Drawing.Color.Green; this.ktrkGreenValue.TabIndex = 32; this.ktrkGreenValue.TickStyle = System.Windows.Forms.TickStyle.Both; this.ktrkGreenValue.ValueChanged += new System.EventHandler(this.KtrkGreenValue_ValueChanged); // // ktrkRedValue // this.ktrkRedValue.DrawBackground = true; this.ktrkRedValue.Location = new System.Drawing.Point(223, 110); this.ktrkRedValue.Maximum = 255; this.ktrkRedValue.Name = "ktrkRedValue"; this.ktrkRedValue.Size = new System.Drawing.Size(340, 33); this.ktrkRedValue.StateCommon.Tick.Color1 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Tick.Color2 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Tick.Color3 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Tick.Color4 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Tick.Color5 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Track.Color1 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Track.Color2 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Track.Color3 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Track.Color4 = System.Drawing.Color.Red; this.ktrkRedValue.StateCommon.Track.Color5 = System.Drawing.Color.Red; this.ktrkRedValue.TabIndex = 31; this.ktrkRedValue.TickStyle = System.Windows.Forms.TickStyle.Both; this.ktrkRedValue.ValueChanged += new System.EventHandler(this.KtrkRedValue_ValueChanged); // // knudBlueChannelValue // this.knudBlueChannelValue.DecimalPlaces = 99; this.knudBlueChannelValue.Location = new System.Drawing.Point(97, 233); this.knudBlueChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudBlueChannelValue.Name = "knudBlueChannelValue"; this.knudBlueChannelValue.Size = new System.Drawing.Size(120, 32); this.knudBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Blue; this.knudBlueChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudBlueChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudBlueChannelValue.TabIndex = 30; this.knudBlueChannelValue.ValueChanged += new System.EventHandler(this.KnudBlueChannelValue_ValueChanged); // // knudGreenChannelValue // this.knudGreenChannelValue.DecimalPlaces = 99; this.knudGreenChannelValue.Location = new System.Drawing.Point(97, 171); this.knudGreenChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudGreenChannelValue.Name = "knudGreenChannelValue"; this.knudGreenChannelValue.Size = new System.Drawing.Size(120, 32); this.knudGreenChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Green; this.knudGreenChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudGreenChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudGreenChannelValue.TabIndex = 29; this.knudGreenChannelValue.ValueChanged += new System.EventHandler(this.KnudGreenChannelValue_ValueChanged); // // knudRedChannelValue // this.knudRedChannelValue.DecimalPlaces = 99; this.knudRedChannelValue.Location = new System.Drawing.Point(97, 109); this.knudRedChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudRedChannelValue.Name = "knudRedChannelValue"; this.knudRedChannelValue.Size = new System.Drawing.Size(120, 32); this.knudRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.Red; this.knudRedChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudRedChannelValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knudRedChannelValue.TabIndex = 28; this.knudRedChannelValue.ValueChanged += new System.EventHandler(this.KnudRedChannelValue_ValueChanged); // // knumAlpaValue // this.knumAlpaValue.DecimalPlaces = 99; this.knumAlpaValue.Location = new System.Drawing.Point(97, 42); this.knumAlpaValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumAlpaValue.Name = "knumAlpaValue"; this.knumAlpaValue.Size = new System.Drawing.Size(120, 32); this.knumAlpaValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumAlpaValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumAlpaValue.TabIndex = 27; this.knumAlpaValue.ValueChanged += new System.EventHandler(this.KnumAlpaValue_ValueChanged); // // ktrkAlphaValue // this.ktrkAlphaValue.DrawBackground = true; this.ktrkAlphaValue.Location = new System.Drawing.Point(223, 41); this.ktrkAlphaValue.Maximum = 255; this.ktrkAlphaValue.Name = "ktrkAlphaValue"; this.ktrkAlphaValue.Size = new System.Drawing.Size(340, 33); this.ktrkAlphaValue.TabIndex = 25; this.ktrkAlphaValue.TickStyle = System.Windows.Forms.TickStyle.Both; this.ktrkAlphaValue.ValueChanged += new System.EventHandler(this.KtrkAlphaValue_ValueChanged); // // kryptonLabel10 // this.kryptonLabel10.Location = new System.Drawing.Point(12, 110); this.kryptonLabel10.Name = "kryptonLabel10"; this.kryptonLabel10.Size = new System.Drawing.Size(59, 33); this.kryptonLabel10.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.TabIndex = 24; this.kryptonLabel10.Values.Text = "Red:"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 41); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(79, 33); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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.TabIndex = 21; this.kryptonLabel1.Values.Text = "Alpha:"; // // kryptonLabel9 // this.kryptonLabel9.Location = new System.Drawing.Point(12, 172); this.kryptonLabel9.Name = "kryptonLabel9"; this.kryptonLabel9.Size = new System.Drawing.Size(80, 33); this.kryptonLabel9.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.TabIndex = 23; this.kryptonLabel9.Values.Text = "Green:"; // // kryptonLabel8 // this.kryptonLabel8.Location = new System.Drawing.Point(12, 234); this.kryptonLabel8.Name = "kryptonLabel8"; this.kryptonLabel8.Size = new System.Drawing.Size(64, 33); this.kryptonLabel8.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.TabIndex = 22; this.kryptonLabel8.Values.Text = "Blue:"; // // ColourEditor // this.ClientSize = new System.Drawing.Size(841, 308); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "ColourEditor"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ColourEditor_FormClosing); this.Load += new System.EventHandler(this.ColourEditor_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbxColourSample)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonNumericUpDown1 = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kbtnFlash = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.label1); this.kryptonPanel1.Controls.Add(this.kbtnFlash); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Controls.Add(this.kryptonNumericUpDown1); 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(997, 500); this.kryptonPanel1.TabIndex = 0; // // kryptonNumericUpDown1 // this.kryptonNumericUpDown1.Location = new System.Drawing.Point(264, 52); this.kryptonNumericUpDown1.Maximum = new decimal(new int[] { 120, 0, 0, 0 }); this.kryptonNumericUpDown1.Name = "kryptonNumericUpDown1"; this.kryptonNumericUpDown1.Size = new System.Drawing.Size(120, 28); this.kryptonNumericUpDown1.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown1.TabIndex = 0; // // kbtnFlash // this.kbtnFlash.Location = new System.Drawing.Point(390, 52); this.kbtnFlash.Name = "kbtnFlash"; this.kbtnFlash.Size = new System.Drawing.Size(90, 28); this.kbtnFlash.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnFlash.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnFlash.TabIndex = 1; this.kbtnFlash.Values.Text = "&Flash"; this.kbtnFlash.Click += new System.EventHandler(this.kbtnFlash_Click); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(50, 32); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(115, 26); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.TabIndex = 1; this.kryptonLabel1.Values.Text = "kryptonLabel1"; // // statusStrip1 // this.statusStrip1.Font = new System.Drawing.Font("Segoe UI", 9F); this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1 }); this.statusStrip1.Location = new System.Drawing.Point(0, 478); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode; this.statusStrip1.Size = new System.Drawing.Size(997, 22); this.statusStrip1.TabIndex = 2; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17); this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(56, 72); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(52, 21); this.label1.TabIndex = 2; this.label1.Text = "label1"; // // FlashingLabelTest // this.ClientSize = new System.Drawing.Size(997, 500); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.kryptonPanel1); this.Name = "FlashingLabelTest"; this.Load += new System.EventHandler(this.FlashingLabelTest_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); this.kryptonOKDialogButton1 = new Krypton.Toolkit.KryptonButton(); this.kryptonCancelDialogButton1 = new Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel(); this.kryptonButton3 = new Krypton.Toolkit.KryptonButton(); this.kryptonButton2 = new Krypton.Toolkit.KryptonButton(); this.kryptonButton1 = new Krypton.Toolkit.KryptonButton(); this.kryptonTextBox1 = new Krypton.Toolkit.KryptonTextBox(); this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel(); this.colourWheelControl1 = new Krypton.Toolkit.Suite.Extended.Drawing.Suite.ColourWheelControl(); this.kryptonNumericUpDown6 = new Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonNumericUpDown5 = new Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonNumericUpDown4 = new Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonNumericUpDown3 = new Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonNumericUpDown2 = new Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonNumericUpDown1 = new Krypton.Toolkit.KryptonNumericUpDown(); 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.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel(); this.circularPictureBox1 = new Krypton.Toolkit.Suite.Extended.Base.CircularPictureBox(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.circularPictureBox1)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kryptonOKDialogButton1); this.kryptonPanel1.Controls.Add(this.kryptonCancelDialogButton1); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 315); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(471, 41); this.kryptonPanel1.TabIndex = 0; // // kryptonOKDialogButton1 // this.kryptonOKDialogButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kryptonOKDialogButton1.DialogResult = System.Windows.Forms.DialogResult.OK; this.kryptonOKDialogButton1.Location = new System.Drawing.Point(273, 4); this.kryptonOKDialogButton1.Name = "kryptonOKDialogButton1"; this.kryptonOKDialogButton1.Size = new System.Drawing.Size(90, 25); this.kryptonOKDialogButton1.TabIndex = 1; this.kryptonOKDialogButton1.Values.Text = "&OK"; // // kryptonCancelDialogButton1 // this.kryptonCancelDialogButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kryptonCancelDialogButton1.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kryptonCancelDialogButton1.Location = new System.Drawing.Point(369, 4); this.kryptonCancelDialogButton1.Name = "kryptonCancelDialogButton1"; this.kryptonCancelDialogButton1.Size = new System.Drawing.Size(90, 25); this.kryptonCancelDialogButton1.TabIndex = 0; this.kryptonCancelDialogButton1.Values.Text = "C&ancel"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 312); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(471, 3); this.panel1.TabIndex = 1; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kryptonButton3); this.kryptonPanel2.Controls.Add(this.kryptonButton2); this.kryptonPanel2.Controls.Add(this.kryptonButton1); this.kryptonPanel2.Controls.Add(this.kryptonTextBox1); this.kryptonPanel2.Controls.Add(this.kryptonLabel7); this.kryptonPanel2.Controls.Add(this.colourWheelControl1); this.kryptonPanel2.Controls.Add(this.circularPictureBox1); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown6); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown5); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown4); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown3); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown2); this.kryptonPanel2.Controls.Add(this.kryptonNumericUpDown1); 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.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); 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(471, 312); this.kryptonPanel2.TabIndex = 2; // // kryptonButton3 // this.kryptonButton3.AutoSize = true; this.kryptonButton3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kryptonButton3.Location = new System.Drawing.Point(42, 221); this.kryptonButton3.Name = "kryptonButton3"; this.kryptonButton3.Size = new System.Drawing.Size(22, 22); this.kryptonButton3.TabIndex = 21; this.kryptonButton3.Values.Image = global::Krypton.Toolkit.Suite.Extended.Drawing.Suite.Properties.Resources.palette_save; this.kryptonButton3.Values.Text = ""; // // kryptonButton2 // this.kryptonButton2.AutoSize = true; this.kryptonButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kryptonButton2.Location = new System.Drawing.Point(14, 221); this.kryptonButton2.Name = "kryptonButton2"; this.kryptonButton2.Size = new System.Drawing.Size(22, 22); this.kryptonButton2.TabIndex = 20; this.kryptonButton2.Values.Image = global::Krypton.Toolkit.Suite.Extended.Drawing.Suite.Properties.Resources.palette_load; this.kryptonButton2.Values.Text = ""; // // kryptonButton1 // this.kryptonButton1.Location = new System.Drawing.Point(14, 252); this.kryptonButton1.Name = "kryptonButton1"; this.kryptonButton1.Size = new System.Drawing.Size(152, 25); this.kryptonButton1.TabIndex = 19; this.kryptonButton1.Values.Text = "&More Colours..."; // // kryptonTextBox1 // this.kryptonTextBox1.Hint = "#000000"; this.kryptonTextBox1.Location = new System.Drawing.Point(12, 171); this.kryptonTextBox1.MaxLength = 7; this.kryptonTextBox1.Name = "kryptonTextBox1"; this.kryptonTextBox1.Size = new System.Drawing.Size(154, 24); this.kryptonTextBox1.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonTextBox1.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonTextBox1.TabIndex = 18; this.kryptonTextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(12, 144); this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Size = new System.Drawing.Size(154, 21); this.kryptonLabel7.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel7.TabIndex = 17; this.kryptonLabel7.Values.Text = "Hexadecimal Value:"; // // colourWheelControl1 // this.colourWheelControl1.BackColor = System.Drawing.Color.Transparent; this.colourWheelControl1.Location = new System.Drawing.Point(208, 121); this.colourWheelControl1.Name = "colourWheelControl1"; this.colourWheelControl1.Size = new System.Drawing.Size(251, 185); this.colourWheelControl1.TabIndex = 16; // // kryptonNumericUpDown6 // this.kryptonNumericUpDown6.Location = new System.Drawing.Point(275, 92); this.kryptonNumericUpDown6.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.kryptonNumericUpDown6.Name = "kryptonNumericUpDown6"; this.kryptonNumericUpDown6.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown6.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.kryptonNumericUpDown6.StateCommon.Content.Color1 = System.Drawing.Color.White; this.kryptonNumericUpDown6.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown6.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown6.TabIndex = 14; // // kryptonNumericUpDown5 // this.kryptonNumericUpDown5.Location = new System.Drawing.Point(275, 52); this.kryptonNumericUpDown5.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.kryptonNumericUpDown5.Name = "kryptonNumericUpDown5"; this.kryptonNumericUpDown5.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown5.StateCommon.Back.Color1 = System.Drawing.Color.Green; this.kryptonNumericUpDown5.StateCommon.Content.Color1 = System.Drawing.Color.White; this.kryptonNumericUpDown5.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown5.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown5.TabIndex = 13; // // kryptonNumericUpDown4 // this.kryptonNumericUpDown4.Location = new System.Drawing.Point(275, 12); this.kryptonNumericUpDown4.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.kryptonNumericUpDown4.Name = "kryptonNumericUpDown4"; this.kryptonNumericUpDown4.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown4.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.kryptonNumericUpDown4.StateCommon.Content.Color1 = System.Drawing.Color.White; this.kryptonNumericUpDown4.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown4.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown4.TabIndex = 12; // // kryptonNumericUpDown3 // this.kryptonNumericUpDown3.Location = new System.Drawing.Point(110, 92); this.kryptonNumericUpDown3.Maximum = new decimal(new int[] { 360, 0, 0, 0 }); this.kryptonNumericUpDown3.Name = "kryptonNumericUpDown3"; this.kryptonNumericUpDown3.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown3.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown3.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown3.TabIndex = 11; // // kryptonNumericUpDown2 // this.kryptonNumericUpDown2.Location = new System.Drawing.Point(110, 12); this.kryptonNumericUpDown2.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.kryptonNumericUpDown2.Name = "kryptonNumericUpDown2"; this.kryptonNumericUpDown2.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown2.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown2.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown2.TabIndex = 10; // // kryptonNumericUpDown1 // this.kryptonNumericUpDown1.Location = new System.Drawing.Point(110, 52); this.kryptonNumericUpDown1.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.kryptonNumericUpDown1.Name = "kryptonNumericUpDown1"; this.kryptonNumericUpDown1.Size = new System.Drawing.Size(79, 23); this.kryptonNumericUpDown1.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonNumericUpDown1.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.kryptonNumericUpDown1.TabIndex = 9; // // kryptonLabel6 // this.kryptonLabel6.Location = new System.Drawing.Point(208, 92); this.kryptonLabel6.Name = "kryptonLabel6"; this.kryptonLabel6.Size = new System.Drawing.Size(48, 21); this.kryptonLabel6.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue; this.kryptonLabel6.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue; this.kryptonLabel6.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel6.TabIndex = 8; this.kryptonLabel6.Values.Text = "Blue:"; // // kryptonLabel5 // this.kryptonLabel5.Location = new System.Drawing.Point(208, 52); this.kryptonLabel5.Name = "kryptonLabel5"; this.kryptonLabel5.Size = new System.Drawing.Size(61, 21); this.kryptonLabel5.StateCommon.ShortText.Color1 = System.Drawing.Color.Green; this.kryptonLabel5.StateCommon.ShortText.Color2 = System.Drawing.Color.Green; this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel5.TabIndex = 7; this.kryptonLabel5.Values.Text = "Green:"; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(208, 12); this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Size = new System.Drawing.Size(45, 21); this.kryptonLabel4.StateCommon.ShortText.Color1 = System.Drawing.Color.Red; this.kryptonLabel4.StateCommon.ShortText.Color2 = System.Drawing.Color.Red; this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.TabIndex = 6; this.kryptonLabel4.Values.Text = "Red:"; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(12, 92); this.kryptonLabel3.Name = "kryptonLabel3"; this.kryptonLabel3.Size = new System.Drawing.Size(45, 21); this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.TabIndex = 5; this.kryptonLabel3.Values.Text = "Hue:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 52); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(92, 21); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.TabIndex = 4; this.kryptonLabel2.Values.Text = "Brightness:"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 12); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(57, 21); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.TabIndex = 3; this.kryptonLabel1.Values.Text = "Alpha:"; // // circularPictureBox1 // this.circularPictureBox1.BackColor = System.Drawing.SystemColors.Control; this.circularPictureBox1.Location = new System.Drawing.Point(361, 12); this.circularPictureBox1.Name = "circularPictureBox1"; this.circularPictureBox1.Size = new System.Drawing.Size(101, 101); this.circularPictureBox1.TabIndex = 15; this.circularPictureBox1.TabStop = false; this.circularPictureBox1.ToolTipValues = null; // // KryptonColourButtonCustomColourDialog // this.ClientSize = new System.Drawing.Size(471, 356); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MinimizeBox = false; this.Name = "KryptonColourButtonCustomColourDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Select Colour"; ((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.circularPictureBox1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionsWindow)); this.kMan = new ComponentFactory.Krypton.Toolkit.KryptonManager(this.components); this.kryptonPalette1 = new ComponentFactory.Krypton.Toolkit.KryptonPalette(this.components); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ksbApply = new KryptonExtendedToolkit.ExtendedToolkit.Controls.KryptonUACElevatedButton(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.knOptions = new ComponentFactory.Krypton.Navigator.KryptonNavigator(); this.kpGeneral = new ComponentFactory.Krypton.Navigator.KryptonPage(); this.kpTheme = new ComponentFactory.Krypton.Navigator.KryptonPage(); this.kryptonGroupBox1 = new ComponentFactory.Krypton.Toolkit.KryptonGroupBox(); this.kbtnLoadTheme = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnCustomThemeFileBrowse = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ktxtCustomThemePath = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.klblCustomThemeFilePath = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kcbTheme = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonPage1 = new ComponentFactory.Krypton.Navigator.KryptonPage(); this.kcbTest = new ComponentFactory.Krypton.Toolkit.KryptonColorButton(); this.klblMediumColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblLightColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblDarkColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblLightestColourFloatValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumDarkValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumMediumValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumLightValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumLightestValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.cbxLightestColour = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.cbxLightColour = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.cbxMediumColour = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.cbxDarkColour = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.knOptions)).BeginInit(); this.knOptions.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).BeginInit(); this.kpTheme.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).BeginInit(); this.kryptonGroupBox1.Panel.SuspendLayout(); this.kryptonGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).BeginInit(); this.kryptonPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).BeginInit(); this.SuspendLayout(); // // kMan // this.kMan.GlobalPaletteMode = ComponentFactory.Krypton.Toolkit.PaletteModeManager.Office2007Blue; // // kryptonPalette1 // this.kryptonPalette1.CustomisedKryptonPaletteFilePath = null; // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnCancel); this.kryptonPanel1.Controls.Add(this.ksbApply); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 797); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(906, 55); this.kryptonPanel1.TabIndex = 0; // // kbtnCancel // this.kbtnCancel.AutoSize = true; this.kbtnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnCancel.Location = new System.Drawing.Point(757, 13); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(60, 30); this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnCancel.TabIndex = 1; this.kbtnCancel.Values.Text = "Can&cel"; // // ksbApply // this.ksbApply.AutoSize = true; this.ksbApply.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ksbApply.Enabled = false; this.ksbApply.Location = new System.Drawing.Point(823, 13); this.ksbApply.Name = "ksbApply"; this.ksbApply.Size = new System.Drawing.Size(71, 30); this.ksbApply.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ksbApply.TabIndex = 0; this.ksbApply.Values.Image = ((System.Drawing.Image)(resources.GetObject("ksbApply.Values.Image"))); this.ksbApply.Values.Text = "&Apply"; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.knOptions); this.kryptonPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.kryptonPanel2.Location = new System.Drawing.Point(0, 0); this.kryptonPanel2.Name = "kryptonPanel2"; this.kryptonPanel2.Size = new System.Drawing.Size(906, 797); this.kryptonPanel2.TabIndex = 1; // // knOptions // this.knOptions.Button.CloseButtonAction = ComponentFactory.Krypton.Navigator.CloseButtonAction.None; this.knOptions.Button.CloseButtonDisplay = ComponentFactory.Krypton.Navigator.ButtonDisplay.Hide; this.knOptions.Location = new System.Drawing.Point(12, 12); this.knOptions.Name = "knOptions"; this.knOptions.Pages.AddRange(new ComponentFactory.Krypton.Navigator.KryptonPage[] { this.kpGeneral, this.kpTheme, this.kryptonPage1 }); this.knOptions.SelectedIndex = 0; this.knOptions.Size = new System.Drawing.Size(882, 776); this.knOptions.StateCommon.Tab.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knOptions.TabIndex = 0; this.knOptions.Text = "kryptonNavigator1"; // // kpGeneral // this.kpGeneral.AutoHiddenSlideSize = new System.Drawing.Size(200, 200); this.kpGeneral.Flags = 65534; this.kpGeneral.LastVisibleSet = true; this.kpGeneral.MinimumSize = new System.Drawing.Size(50, 50); this.kpGeneral.Name = "kpGeneral"; this.kpGeneral.Size = new System.Drawing.Size(880, 745); this.kpGeneral.Text = "General"; this.kpGeneral.ToolTipTitle = "Page ToolTip"; this.kpGeneral.UniqueName = "8CF4DE8AD8A6433C038CBF6707BB28B6"; // // kpTheme // this.kpTheme.AutoHiddenSlideSize = new System.Drawing.Size(200, 200); this.kpTheme.Controls.Add(this.kryptonGroupBox1); this.kpTheme.Flags = 65534; this.kpTheme.LastVisibleSet = true; this.kpTheme.MinimumSize = new System.Drawing.Size(50, 50); this.kpTheme.Name = "kpTheme"; this.kpTheme.Size = new System.Drawing.Size(880, 745); this.kpTheme.Text = "Theme"; this.kpTheme.ToolTipTitle = "Page ToolTip"; this.kpTheme.UniqueName = "A80439CDD42845E10BA62B98A827DD36"; // // kryptonGroupBox1 // this.kryptonGroupBox1.Location = new System.Drawing.Point(20, 16); this.kryptonGroupBox1.Name = "kryptonGroupBox1"; // // kryptonGroupBox1.Panel // this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnLoadTheme); this.kryptonGroupBox1.Panel.Controls.Add(this.kbtnCustomThemeFileBrowse); this.kryptonGroupBox1.Panel.Controls.Add(this.ktxtCustomThemePath); this.kryptonGroupBox1.Panel.Controls.Add(this.klblCustomThemeFilePath); this.kryptonGroupBox1.Panel.Controls.Add(this.kcbTheme); this.kryptonGroupBox1.Panel.Controls.Add(this.kryptonLabel1); this.kryptonGroupBox1.Size = new System.Drawing.Size(840, 169); this.kryptonGroupBox1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonGroupBox1.TabIndex = 0; this.kryptonGroupBox1.Values.Heading = "Theme Selector"; // // kbtnLoadTheme // this.kbtnLoadTheme.AutoSize = true; this.kbtnLoadTheme.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnLoadTheme.Enabled = false; this.kbtnLoadTheme.Location = new System.Drawing.Point(668, 97); this.kbtnLoadTheme.Name = "kbtnLoadTheme"; this.kbtnLoadTheme.Size = new System.Drawing.Size(152, 28); this.kbtnLoadTheme.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F); this.kbtnLoadTheme.TabIndex = 5; this.kbtnLoadTheme.Values.Text = "&Load Custom Theme"; // // kbtnCustomThemeFileBrowse // this.kbtnCustomThemeFileBrowse.AutoSize = true; this.kbtnCustomThemeFileBrowse.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnCustomThemeFileBrowse.Enabled = false; this.kbtnCustomThemeFileBrowse.Location = new System.Drawing.Point(798, 53); this.kbtnCustomThemeFileBrowse.Name = "kbtnCustomThemeFileBrowse"; this.kbtnCustomThemeFileBrowse.Size = new System.Drawing.Size(22, 28); this.kbtnCustomThemeFileBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F); this.kbtnCustomThemeFileBrowse.TabIndex = 4; this.kbtnCustomThemeFileBrowse.Values.Text = ".&.."; // // ktxtCustomThemePath // this.ktxtCustomThemePath.Enabled = false; this.ktxtCustomThemePath.Location = new System.Drawing.Point(231, 54); this.ktxtCustomThemePath.Name = "ktxtCustomThemePath"; this.ktxtCustomThemePath.Size = new System.Drawing.Size(561, 27); this.ktxtCustomThemePath.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F); this.ktxtCustomThemePath.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.ktxtCustomThemePath.TabIndex = 3; // // klblCustomThemeFilePath // this.klblCustomThemeFilePath.Enabled = false; this.klblCustomThemeFilePath.Location = new System.Drawing.Point(34, 55); this.klblCustomThemeFilePath.Name = "klblCustomThemeFilePath"; this.klblCustomThemeFilePath.Size = new System.Drawing.Size(191, 24); this.klblCustomThemeFilePath.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblCustomThemeFilePath.TabIndex = 2; this.klblCustomThemeFilePath.Values.Text = "Custom Theme File Path:"; // // kcbTheme // this.kcbTheme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcbTheme.DropDownWidth = 182; this.kcbTheme.Location = new System.Drawing.Point(124, 12); this.kcbTheme.Name = "kcbTheme"; this.kcbTheme.Size = new System.Drawing.Size(182, 25); this.kcbTheme.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbTheme.StateCommon.ComboBox.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Near; this.kcbTheme.TabIndex = 1; this.kcbTheme.SelectedIndexChanged += new System.EventHandler(this.KcbTheme_SelectedIndexChanged); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(14, 13); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(104, 24); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.TabIndex = 0; this.kryptonLabel1.Values.Text = "Theme Type:"; // // kryptonPage1 // this.kryptonPage1.AutoHiddenSlideSize = new System.Drawing.Size(200, 200); this.kryptonPage1.Controls.Add(this.kcbTest); this.kryptonPage1.Controls.Add(this.klblMediumColourFloatValue); this.kryptonPage1.Controls.Add(this.klblLightColourFloatValue); this.kryptonPage1.Controls.Add(this.klblDarkColourFloatValue); this.kryptonPage1.Controls.Add(this.klblLightestColourFloatValue); this.kryptonPage1.Controls.Add(this.knumDarkValue); this.kryptonPage1.Controls.Add(this.knumMediumValue); this.kryptonPage1.Controls.Add(this.knumLightValue); this.kryptonPage1.Controls.Add(this.knumLightestValue); this.kryptonPage1.Controls.Add(this.cbxLightestColour); this.kryptonPage1.Controls.Add(this.cbxLightColour); this.kryptonPage1.Controls.Add(this.cbxMediumColour); this.kryptonPage1.Controls.Add(this.cbxDarkColour); this.kryptonPage1.Controls.Add(this.kryptonLabel7); this.kryptonPage1.Controls.Add(this.kryptonLabel5); this.kryptonPage1.Controls.Add(this.kryptonLabel4); this.kryptonPage1.Controls.Add(this.kryptonLabel2); this.kryptonPage1.Flags = 65534; this.kryptonPage1.LastVisibleSet = true; this.kryptonPage1.MinimumSize = new System.Drawing.Size(50, 50); this.kryptonPage1.Name = "kryptonPage1"; this.kryptonPage1.Size = new System.Drawing.Size(880, 745); this.kryptonPage1.Text = "Colour Intensity"; this.kryptonPage1.ToolTipTitle = "Page ToolTip"; this.kryptonPage1.UniqueName = "e0550eb663f7425e99be7d6b7761bd8e"; // // kcbTest // this.kcbTest.Location = new System.Drawing.Point(36, 462); this.kcbTest.Name = "kcbTest"; this.kcbTest.Size = new System.Drawing.Size(178, 25); this.kcbTest.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbTest.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbTest.TabIndex = 34; this.kcbTest.Values.Text = "&Test Colour"; this.kcbTest.SelectedColorChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KcbTest_SelectedColorChanged); // // klblMediumColourFloatValue // this.klblMediumColourFloatValue.Location = new System.Drawing.Point(366, 172); this.klblMediumColourFloatValue.Name = "klblMediumColourFloatValue"; this.klblMediumColourFloatValue.Size = new System.Drawing.Size(42, 33); this.klblMediumColourFloatValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblMediumColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblMediumColourFloatValue.TabIndex = 33; this.klblMediumColourFloatValue.Values.Text = "{0}"; // // klblLightColourFloatValue // this.klblLightColourFloatValue.Location = new System.Drawing.Point(366, 290); this.klblLightColourFloatValue.Name = "klblLightColourFloatValue"; this.klblLightColourFloatValue.Size = new System.Drawing.Size(42, 33); this.klblLightColourFloatValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblLightColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblLightColourFloatValue.TabIndex = 32; this.klblLightColourFloatValue.Values.Text = "{0}"; // // klblDarkColourFloatValue // this.klblDarkColourFloatValue.Location = new System.Drawing.Point(366, 54); this.klblDarkColourFloatValue.Name = "klblDarkColourFloatValue"; this.klblDarkColourFloatValue.Size = new System.Drawing.Size(42, 33); this.klblDarkColourFloatValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblDarkColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblDarkColourFloatValue.TabIndex = 31; this.klblDarkColourFloatValue.Values.Text = "{0}"; // // klblLightestColourFloatValue // this.klblLightestColourFloatValue.Location = new System.Drawing.Point(366, 408); this.klblLightestColourFloatValue.Name = "klblLightestColourFloatValue"; this.klblLightestColourFloatValue.Size = new System.Drawing.Size(42, 33); this.klblLightestColourFloatValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblLightestColourFloatValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblLightestColourFloatValue.TabIndex = 30; this.klblLightestColourFloatValue.Values.Text = "{0}"; // // knumDarkValue // this.knumDarkValue.DecimalPlaces = 99; this.knumDarkValue.Location = new System.Drawing.Point(217, 54); this.knumDarkValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumDarkValue.Name = "knumDarkValue"; this.knumDarkValue.Size = new System.Drawing.Size(120, 32); this.knumDarkValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumDarkValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumDarkValue.TabIndex = 29; this.knumDarkValue.ValueChanged += new System.EventHandler(this.KnumDarkValue_ValueChanged); // // knumMediumValue // this.knumMediumValue.DecimalPlaces = 99; this.knumMediumValue.Location = new System.Drawing.Point(217, 172); this.knumMediumValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumMediumValue.Name = "knumMediumValue"; this.knumMediumValue.Size = new System.Drawing.Size(120, 32); this.knumMediumValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumMediumValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumMediumValue.TabIndex = 28; this.knumMediumValue.ValueChanged += new System.EventHandler(this.KnumMediumValue_ValueChanged); // // knumLightValue // this.knumLightValue.DecimalPlaces = 99; this.knumLightValue.Location = new System.Drawing.Point(217, 290); this.knumLightValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumLightValue.Name = "knumLightValue"; this.knumLightValue.Size = new System.Drawing.Size(120, 32); this.knumLightValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumLightValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumLightValue.TabIndex = 27; this.knumLightValue.ValueChanged += new System.EventHandler(this.KnumLightValue_ValueChanged); // // knumLightestValue // this.knumLightestValue.DecimalPlaces = 99; this.knumLightestValue.Location = new System.Drawing.Point(217, 408); this.knumLightestValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumLightestValue.Name = "knumLightestValue"; this.knumLightestValue.Size = new System.Drawing.Size(120, 32); this.knumLightestValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumLightestValue.StateCommon.Content.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.knumLightestValue.TabIndex = 26; this.knumLightestValue.ValueChanged += new System.EventHandler(this.KnumLightestValue_ValueChanged); // // cbxLightestColour // this.cbxLightestColour.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbxLightestColour.BackColor = System.Drawing.Color.Black; this.cbxLightestColour.Location = new System.Drawing.Point(765, 374); this.cbxLightestColour.Name = "cbxLightestColour"; this.cbxLightestColour.Size = new System.Drawing.Size(95, 95); this.cbxLightestColour.TabIndex = 25; this.cbxLightestColour.TabStop = false; // // cbxLightColour // this.cbxLightColour.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbxLightColour.BackColor = System.Drawing.Color.Black; this.cbxLightColour.Location = new System.Drawing.Point(765, 258); this.cbxLightColour.Name = "cbxLightColour"; this.cbxLightColour.Size = new System.Drawing.Size(95, 95); this.cbxLightColour.TabIndex = 24; this.cbxLightColour.TabStop = false; // // cbxMediumColour // this.cbxMediumColour.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbxMediumColour.BackColor = System.Drawing.Color.Black; this.cbxMediumColour.Location = new System.Drawing.Point(765, 142); this.cbxMediumColour.Name = "cbxMediumColour"; this.cbxMediumColour.Size = new System.Drawing.Size(95, 95); this.cbxMediumColour.TabIndex = 23; this.cbxMediumColour.TabStop = false; // // cbxDarkColour // this.cbxDarkColour.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbxDarkColour.BackColor = System.Drawing.Color.Black; this.cbxDarkColour.Location = new System.Drawing.Point(765, 26); this.cbxDarkColour.Name = "cbxDarkColour"; this.cbxDarkColour.Size = new System.Drawing.Size(95, 95); this.cbxDarkColour.TabIndex = 22; this.cbxDarkColour.TabStop = false; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(36, 172); this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Size = new System.Drawing.Size(178, 33); this.kryptonLabel7.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel7.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel7.TabIndex = 21; this.kryptonLabel7.Values.Text = "Medium Colour:"; // // kryptonLabel5 // this.kryptonLabel5.Location = new System.Drawing.Point(36, 408); this.kryptonLabel5.Name = "kryptonLabel5"; this.kryptonLabel5.Size = new System.Drawing.Size(175, 33); this.kryptonLabel5.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel5.TabIndex = 20; this.kryptonLabel5.Values.Text = "Lightest Colour:"; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(36, 290); this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Size = new System.Drawing.Size(145, 33); this.kryptonLabel4.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.TabIndex = 19; this.kryptonLabel4.Values.Text = "Light Colour:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(36, 54); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(141, 33); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.TabIndex = 18; this.kryptonLabel2.Values.Text = "Dark Colour:"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 794); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(906, 3); this.panel1.TabIndex = 2; // // OptionsWindow // this.ClientSize = new System.Drawing.Size(906, 852); this.Controls.Add(this.panel1); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "OptionsWindow"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Palette Explorer Options"; this.Load += new System.EventHandler(this.OptionsWindow_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.knOptions)).EndInit(); this.knOptions.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kpGeneral)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kpTheme)).EndInit(); this.kpTheme.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1.Panel)).EndInit(); this.kryptonGroupBox1.Panel.ResumeLayout(false); this.kryptonGroupBox1.Panel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox1)).EndInit(); this.kryptonGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.kcbTheme)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPage1)).EndInit(); this.kryptonPage1.ResumeLayout(false); this.kryptonPage1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbxLightestColour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxLightColour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxMediumColour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxDarkColour)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ColourMixerBasic)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnGenerate = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnSetColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kcbThemeSelector = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblRedValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.klblBlueValue = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumAlpaValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.cbxColourPreview = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.cwSelectedColour = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourWheel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcbThemeSelector)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxColourPreview)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnGenerate); this.kryptonPanel1.Controls.Add(this.kbtnOk); 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(855, 65); this.kryptonPanel1.TabIndex = 1; // // kbtnGenerate // this.kbtnGenerate.AutoSize = true; this.kbtnGenerate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerate.Location = new System.Drawing.Point(12, 15); this.kbtnGenerate.Name = "kbtnGenerate"; this.kbtnGenerate.Size = new System.Drawing.Size(197, 30); this.kbtnGenerate.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerate.TabIndex = 61; this.kbtnGenerate.Values.Text = "Gener&ate Random Colour"; this.kbtnGenerate.Click += new System.EventHandler(this.KbtnGenerate_Click); // // kbtnOk // this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.Location = new System.Drawing.Point(807, 15); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 60; this.kbtnOk.Values.Text = "O&k"; this.kbtnOk.Click += new System.EventHandler(this.KbtnOk_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(855, 2); this.panel1.TabIndex = 2; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kbtnSetColour); this.kryptonPanel2.Controls.Add(this.cbxColourPreview); this.kryptonPanel2.Controls.Add(this.kcbThemeSelector); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.klblRedValue); this.kryptonPanel2.Controls.Add(this.klblGreenValue); this.kryptonPanel2.Controls.Add(this.klblBlueValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel10); this.kryptonPanel2.Controls.Add(this.kryptonLabel9); this.kryptonPanel2.Controls.Add(this.kryptonLabel8); this.kryptonPanel2.Controls.Add(this.knumAlpaValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); this.kryptonPanel2.Controls.Add(this.cwSelectedColour); 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(855, 449); this.kryptonPanel2.TabIndex = 3; // // kbtnSetColour // this.kbtnSetColour.AutoSize = true; this.kbtnSetColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnSetColour.Enabled = false; this.kbtnSetColour.Location = new System.Drawing.Point(562, 344); this.kbtnSetColour.Name = "kbtnSetColour"; this.kbtnSetColour.Size = new System.Drawing.Size(88, 30); this.kbtnSetColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSetColour.TabIndex = 61; this.kbtnSetColour.Values.Text = "&Set Colour"; this.kbtnSetColour.Click += new System.EventHandler(this.KbtnSetColour_Click); // // kcbThemeSelector // this.kcbThemeSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcbThemeSelector.DropDownWidth = 435; this.kcbThemeSelector.Location = new System.Drawing.Point(404, 52); this.kcbThemeSelector.Name = "kcbThemeSelector"; this.kcbThemeSelector.Size = new System.Drawing.Size(435, 27); this.kcbThemeSelector.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbThemeSelector.StateCommon.Item.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbThemeSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbThemeSelector.TabIndex = 34; this.kcbThemeSelector.SelectedIndexChanged += new System.EventHandler(this.KcbThemeSelector_SelectedIndexChanged); this.kcbThemeSelector.TextChanged += new System.EventHandler(this.KcbThemeSelector_TextChanged); // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(370, 12); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(218, 33); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.TabIndex = 33; this.kryptonLabel2.Values.Text = "Generate colour for:"; // // klblRedValue // this.klblRedValue.Location = new System.Drawing.Point(288, 390); this.klblRedValue.Name = "klblRedValue"; this.klblRedValue.Size = new System.Drawing.Size(6, 2); 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("Segoe UI", 15.75F, 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("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblRedValue.TabIndex = 32; this.klblRedValue.Values.Text = ""; // // klblGreenValue // this.klblGreenValue.Location = new System.Drawing.Point(476, 390); this.klblGreenValue.Name = "klblGreenValue"; this.klblGreenValue.Size = new System.Drawing.Size(6, 2); this.klblGreenValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblGreenValue.StateCommon.ShortText.Color1 = System.Drawing.Color.Green; this.klblGreenValue.StateCommon.ShortText.Color2 = System.Drawing.Color.Green; this.klblGreenValue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblGreenValue.TabIndex = 31; this.klblGreenValue.Values.Text = ""; // // klblBlueValue // this.klblBlueValue.Location = new System.Drawing.Point(666, 390); this.klblBlueValue.Name = "klblBlueValue"; this.klblBlueValue.Size = new System.Drawing.Size(6, 2); this.klblBlueValue.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, 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("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblBlueValue.TabIndex = 30; this.klblBlueValue.Values.Text = ""; // // kryptonLabel10 // this.kryptonLabel10.Location = new System.Drawing.Point(223, 390); this.kryptonLabel10.Name = "kryptonLabel10"; this.kryptonLabel10.Size = new System.Drawing.Size(59, 33); this.kryptonLabel10.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.TabIndex = 29; this.kryptonLabel10.Values.Text = "Red:"; // // kryptonLabel9 // this.kryptonLabel9.Location = new System.Drawing.Point(390, 390); this.kryptonLabel9.Name = "kryptonLabel9"; this.kryptonLabel9.Size = new System.Drawing.Size(80, 33); this.kryptonLabel9.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.TabIndex = 28; this.kryptonLabel9.Values.Text = "Green:"; // // kryptonLabel8 // this.kryptonLabel8.Location = new System.Drawing.Point(596, 387); this.kryptonLabel8.Name = "kryptonLabel8"; this.kryptonLabel8.Size = new System.Drawing.Size(64, 33); this.kryptonLabel8.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.TabIndex = 27; this.kryptonLabel8.Values.Text = "Blue:"; // // knumAlpaValue // this.knumAlpaValue.DecimalPlaces = 99; this.knumAlpaValue.Location = new System.Drawing.Point(97, 390); this.knumAlpaValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumAlpaValue.Name = "knumAlpaValue"; this.knumAlpaValue.Size = new System.Drawing.Size(120, 32); this.knumAlpaValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumAlpaValue.TabIndex = 26; this.knumAlpaValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.knumAlpaValue.ValueChanged += new System.EventHandler(this.KnumAlpaValue_ValueChanged); // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 387); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(79, 33); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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.TabIndex = 25; this.kryptonLabel1.Values.Text = "Alpha:"; // // cbxColourPreview // this.cbxColourPreview.BackColor = System.Drawing.Color.White; this.cbxColourPreview.Location = new System.Drawing.Point(486, 86); this.cbxColourPreview.Name = "cbxColourPreview"; this.cbxColourPreview.Size = new System.Drawing.Size(232, 230); this.cbxColourPreview.TabIndex = 35; this.cbxColourPreview.TabStop = false; // // 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(352, 362); this.cwSelectedColour.TabIndex = 24; this.cwSelectedColour.ColourChanged += new System.EventHandler(this.CwSelectedColour_ColourChanged); // // ColourMixerBasic // this.ClientSize = new System.Drawing.Size(855, 516); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); 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.Name = "ColourMixerBasic"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Basic Palette Colour Mixer"; this.Load += new System.EventHandler(this.ColourMixerBasic_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcbThemeSelector)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxColourPreview)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { ExtendedControls.Base.Code.Colours.ColourDialog.AdobeColours.HSB hsb1 = new ExtendedControls.Base.Code.Colours.ColourDialog.AdobeColours.HSB(); ExtendedControls.Base.Code.Colours.ColourDialog.AdobeColours.HSB hsb2 = new ExtendedControls.Base.Code.Colours.ColourDialog.AdobeColours.HSB(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdobeColourDialog)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kptxtHexValue = new ExtendedControls.ExtendedToolkit.Controls.KryptonPromptTextBox(); this.kryptonLabel14 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.cc1 = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.ColourComparer(); this.kryptonButton2 = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonButton1 = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kryptonLabel13 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel12 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel11 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumCyan = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumKey = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumYellow = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumMagenta = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel9 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumB = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumAlpha = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumLuminosity = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBlue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumGreen = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumRed = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBrightness = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumSaturation = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumHue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.pnlBlankBox = new System.Windows.Forms.Panel(); this.pnlSecondaryColour = new System.Windows.Forms.Panel(); this.pnlPrimaryColour = new System.Windows.Forms.Panel(); this.krbtnB = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnBlue = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnAlpha = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnLuminosity = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnBrightness = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnGreen = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnSaturation = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.krbtnRed = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.krbtnHue = new ComponentFactory.Krypton.Toolkit.KryptonRadioButton(); this.kcbWebColours = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.avcsColours = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.AdobeVerticalColourSlider(); this.adcbColours = new ExtendedControls.ExtendedToolkit.Controls.Colours.Controls.Adobe2DColourBox(); this.kbtnGradients = new ComponentFactory.Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.pnlBlankBox.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnGradients); this.kryptonPanel1.Controls.Add(this.kptxtHexValue); this.kryptonPanel1.Controls.Add(this.kryptonLabel14); this.kryptonPanel1.Controls.Add(this.cc1); this.kryptonPanel1.Controls.Add(this.kryptonButton2); this.kryptonPanel1.Controls.Add(this.kryptonButton1); this.kryptonPanel1.Controls.Add(this.kryptonLabel13); this.kryptonPanel1.Controls.Add(this.kryptonLabel12); this.kryptonPanel1.Controls.Add(this.kryptonLabel10); this.kryptonPanel1.Controls.Add(this.kryptonLabel11); this.kryptonPanel1.Controls.Add(this.knumCyan); this.kryptonPanel1.Controls.Add(this.knumKey); this.kryptonPanel1.Controls.Add(this.knumYellow); this.kryptonPanel1.Controls.Add(this.knumMagenta); this.kryptonPanel1.Controls.Add(this.kryptonLabel9); this.kryptonPanel1.Controls.Add(this.kryptonLabel8); this.kryptonPanel1.Controls.Add(this.kryptonLabel7); this.kryptonPanel1.Controls.Add(this.kryptonLabel6); this.kryptonPanel1.Controls.Add(this.kryptonLabel5); this.kryptonPanel1.Controls.Add(this.kryptonLabel4); this.kryptonPanel1.Controls.Add(this.kryptonLabel3); this.kryptonPanel1.Controls.Add(this.knumB); this.kryptonPanel1.Controls.Add(this.knumAlpha); this.kryptonPanel1.Controls.Add(this.knumLuminosity); this.kryptonPanel1.Controls.Add(this.knumBlue); this.kryptonPanel1.Controls.Add(this.knumGreen); this.kryptonPanel1.Controls.Add(this.knumRed); this.kryptonPanel1.Controls.Add(this.knumBrightness); this.kryptonPanel1.Controls.Add(this.knumSaturation); this.kryptonPanel1.Controls.Add(this.knumHue); this.kryptonPanel1.Controls.Add(this.pnlBlankBox); this.kryptonPanel1.Controls.Add(this.krbtnB); this.kryptonPanel1.Controls.Add(this.krbtnBlue); this.kryptonPanel1.Controls.Add(this.krbtnAlpha); this.kryptonPanel1.Controls.Add(this.krbtnLuminosity); this.kryptonPanel1.Controls.Add(this.krbtnBrightness); this.kryptonPanel1.Controls.Add(this.krbtnGreen); this.kryptonPanel1.Controls.Add(this.krbtnSaturation); this.kryptonPanel1.Controls.Add(this.krbtnRed); this.kryptonPanel1.Controls.Add(this.kryptonLabel2); this.kryptonPanel1.Controls.Add(this.krbtnHue); this.kryptonPanel1.Controls.Add(this.kcbWebColours); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); 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(639, 428); this.kryptonPanel1.TabIndex = 2; // // kptxtHexValue // this.kptxtHexValue.DrawPrompt = true; this.kptxtHexValue.FocusSelect = true; this.kptxtHexValue.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kptxtHexValue.Location = new System.Drawing.Point(324, 380); this.kptxtHexValue.MaxLength = 7; this.kptxtHexValue.Name = "kptxtHexValue"; this.kptxtHexValue.PromptForeColour = System.Drawing.SystemColors.GrayText; this.kptxtHexValue.PromptText = "000000"; this.kptxtHexValue.PromptTypeface = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kptxtHexValue.Size = new System.Drawing.Size(106, 27); this.kptxtHexValue.TabIndex = 76; this.kptxtHexValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonLabel14 // this.kryptonLabel14.Location = new System.Drawing.Point(176, 380); this.kryptonLabel14.Name = "kryptonLabel14"; this.kryptonLabel14.Size = new System.Drawing.Size(144, 24); this.kryptonLabel14.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel14.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel14.TabIndex = 75; this.kryptonLabel14.Values.Text = "Hexadecimal Value:"; // // cc1 // this.cc1.BackColor = System.Drawing.Color.Transparent; this.cc1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.cc1.Location = new System.Drawing.Point(324, 57); this.cc1.Name = "cc1"; this.cc1.PrimaryColour = System.Drawing.Color.White; this.cc1.SecondaryColour = System.Drawing.Color.Silver; this.cc1.ShowHexadecimalValues = false; this.cc1.Size = new System.Drawing.Size(73, 71); this.cc1.TabIndex = 73; // // kryptonButton2 // this.kryptonButton2.Location = new System.Drawing.Point(489, 43); this.kryptonButton2.Name = "kryptonButton2"; this.kryptonButton2.Size = new System.Drawing.Size(138, 25); this.kryptonButton2.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonButton2.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonButton2.TabIndex = 72; this.kryptonButton2.Values.Text = "&Cancel"; // // kryptonButton1 // this.kryptonButton1.Location = new System.Drawing.Point(489, 12); this.kryptonButton1.Name = "kryptonButton1"; this.kryptonButton1.Size = new System.Drawing.Size(138, 25); this.kryptonButton1.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonButton1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonButton1.TabIndex = 71; this.kryptonButton1.Values.Text = "O&k"; // // kryptonLabel13 // this.kryptonLabel13.Location = new System.Drawing.Point(584, 380); this.kryptonLabel13.Name = "kryptonLabel13"; this.kryptonLabel13.Size = new System.Drawing.Size(24, 24); this.kryptonLabel13.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel13.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel13.TabIndex = 70; this.kryptonLabel13.Values.Text = "%"; // // kryptonLabel12 // this.kryptonLabel12.Location = new System.Drawing.Point(584, 348); this.kryptonLabel12.Name = "kryptonLabel12"; this.kryptonLabel12.Size = new System.Drawing.Size(24, 24); this.kryptonLabel12.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel12.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel12.TabIndex = 69; this.kryptonLabel12.Values.Text = "%"; // // kryptonLabel10 // this.kryptonLabel10.Location = new System.Drawing.Point(584, 316); this.kryptonLabel10.Name = "kryptonLabel10"; this.kryptonLabel10.Size = new System.Drawing.Size(24, 24); this.kryptonLabel10.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel10.TabIndex = 68; this.kryptonLabel10.Values.Text = "%"; // // kryptonLabel11 // this.kryptonLabel11.Location = new System.Drawing.Point(584, 284); this.kryptonLabel11.Name = "kryptonLabel11"; this.kryptonLabel11.Size = new System.Drawing.Size(24, 24); this.kryptonLabel11.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel11.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel11.TabIndex = 67; this.kryptonLabel11.Values.Text = "%"; // // knumCyan // this.knumCyan.Location = new System.Drawing.Point(516, 282); this.knumCyan.Name = "knumCyan"; this.knumCyan.Size = new System.Drawing.Size(62, 26); this.knumCyan.StateCommon.Back.Color1 = System.Drawing.Color.Cyan; this.knumCyan.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumCyan.TabIndex = 66; this.knumCyan.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumKey // this.knumKey.Location = new System.Drawing.Point(516, 380); this.knumKey.Name = "knumKey"; this.knumKey.Size = new System.Drawing.Size(62, 26); this.knumKey.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumKey.TabIndex = 65; this.knumKey.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumYellow // this.knumYellow.Location = new System.Drawing.Point(516, 348); this.knumYellow.Name = "knumYellow"; this.knumYellow.Size = new System.Drawing.Size(62, 26); this.knumYellow.StateCommon.Back.Color1 = System.Drawing.Color.Yellow; this.knumYellow.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumYellow.TabIndex = 64; this.knumYellow.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumMagenta // this.knumMagenta.Location = new System.Drawing.Point(516, 316); this.knumMagenta.Name = "knumMagenta"; this.knumMagenta.Size = new System.Drawing.Size(62, 26); this.knumMagenta.StateCommon.Back.Color1 = System.Drawing.Color.Magenta; this.knumMagenta.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumMagenta.TabIndex = 63; this.knumMagenta.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kryptonLabel9 // this.kryptonLabel9.Location = new System.Drawing.Point(472, 380); this.kryptonLabel9.Name = "kryptonLabel9"; this.kryptonLabel9.Size = new System.Drawing.Size(24, 24); this.kryptonLabel9.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel9.TabIndex = 62; this.kryptonLabel9.Values.Text = "K:"; // // kryptonLabel8 // this.kryptonLabel8.Location = new System.Drawing.Point(472, 348); this.kryptonLabel8.Name = "kryptonLabel8"; this.kryptonLabel8.Size = new System.Drawing.Size(23, 24); this.kryptonLabel8.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel8.TabIndex = 61; this.kryptonLabel8.Values.Text = "Y:"; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(472, 316); this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Size = new System.Drawing.Size(29, 24); this.kryptonLabel7.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel7.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel7.TabIndex = 60; this.kryptonLabel7.Values.Text = "M:"; // // kryptonLabel6 // this.kryptonLabel6.Location = new System.Drawing.Point(472, 284); this.kryptonLabel6.Name = "kryptonLabel6"; this.kryptonLabel6.Size = new System.Drawing.Size(24, 24); this.kryptonLabel6.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel6.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel6.TabIndex = 59; this.kryptonLabel6.Values.Text = "C:"; // // kryptonLabel5 // this.kryptonLabel5.Location = new System.Drawing.Point(436, 241); this.kryptonLabel5.Name = "kryptonLabel5"; this.kryptonLabel5.Size = new System.Drawing.Size(24, 24); this.kryptonLabel5.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel5.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel5.TabIndex = 58; this.kryptonLabel5.Values.Text = "%"; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(436, 209); this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Size = new System.Drawing.Size(24, 24); this.kryptonLabel4.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.TabIndex = 57; this.kryptonLabel4.Values.Text = "%"; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(436, 179); this.kryptonLabel3.Name = "kryptonLabel3"; this.kryptonLabel3.Size = new System.Drawing.Size(17, 24); this.kryptonLabel3.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.TabIndex = 56; this.kryptonLabel3.Values.Text = "°"; // // knumB // this.knumB.Location = new System.Drawing.Point(516, 241); this.knumB.Name = "knumB"; this.knumB.Size = new System.Drawing.Size(62, 26); this.knumB.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumB.TabIndex = 55; this.knumB.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumAlpha // this.knumAlpha.Location = new System.Drawing.Point(516, 209); this.knumAlpha.Name = "knumAlpha"; this.knumAlpha.Size = new System.Drawing.Size(62, 26); this.knumAlpha.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumAlpha.TabIndex = 54; this.knumAlpha.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumLuminosity // this.knumLuminosity.Location = new System.Drawing.Point(516, 177); this.knumLuminosity.Name = "knumLuminosity"; this.knumLuminosity.Size = new System.Drawing.Size(62, 26); this.knumLuminosity.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumLuminosity.TabIndex = 53; this.knumLuminosity.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBlue // this.knumBlue.Location = new System.Drawing.Point(368, 348); this.knumBlue.Name = "knumBlue"; this.knumBlue.Size = new System.Drawing.Size(62, 26); this.knumBlue.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.knumBlue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumBlue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBlue.TabIndex = 52; this.knumBlue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumGreen // this.knumGreen.Location = new System.Drawing.Point(368, 316); this.knumGreen.Name = "knumGreen"; this.knumGreen.Size = new System.Drawing.Size(62, 26); this.knumGreen.StateCommon.Back.Color1 = System.Drawing.Color.Green; this.knumGreen.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumGreen.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumGreen.TabIndex = 51; this.knumGreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumRed // this.knumRed.Location = new System.Drawing.Point(368, 284); this.knumRed.Name = "knumRed"; this.knumRed.Size = new System.Drawing.Size(62, 26); this.knumRed.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knumRed.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumRed.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumRed.TabIndex = 50; this.knumRed.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBrightness // this.knumBrightness.Location = new System.Drawing.Point(368, 241); this.knumBrightness.Name = "knumBrightness"; this.knumBrightness.Size = new System.Drawing.Size(62, 26); this.knumBrightness.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBrightness.TabIndex = 49; this.knumBrightness.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumSaturation // this.knumSaturation.Location = new System.Drawing.Point(368, 209); this.knumSaturation.Name = "knumSaturation"; this.knumSaturation.Size = new System.Drawing.Size(62, 26); this.knumSaturation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumSaturation.TabIndex = 48; this.knumSaturation.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumHue // this.knumHue.Location = new System.Drawing.Point(368, 177); this.knumHue.Name = "knumHue"; this.knumHue.Size = new System.Drawing.Size(62, 26); this.knumHue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumHue.TabIndex = 47; this.knumHue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // pnlBlankBox // this.pnlBlankBox.BackColor = System.Drawing.Color.Black; this.pnlBlankBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pnlBlankBox.Controls.Add(this.pnlSecondaryColour); this.pnlBlankBox.Controls.Add(this.pnlPrimaryColour); this.pnlBlankBox.Location = new System.Drawing.Point(324, 57); this.pnlBlankBox.Name = "pnlBlankBox"; this.pnlBlankBox.Size = new System.Drawing.Size(63, 71); this.pnlBlankBox.TabIndex = 46; // // pnlSecondaryColour // this.pnlSecondaryColour.BackColor = System.Drawing.Color.Silver; this.pnlSecondaryColour.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlSecondaryColour.Location = new System.Drawing.Point(0, 32); this.pnlSecondaryColour.Name = "pnlSecondaryColour"; this.pnlSecondaryColour.Size = new System.Drawing.Size(59, 35); this.pnlSecondaryColour.TabIndex = 1; // // pnlPrimaryColour // this.pnlPrimaryColour.BackColor = System.Drawing.Color.White; this.pnlPrimaryColour.Dock = System.Windows.Forms.DockStyle.Top; this.pnlPrimaryColour.Location = new System.Drawing.Point(0, 0); this.pnlPrimaryColour.Name = "pnlPrimaryColour"; this.pnlPrimaryColour.Size = new System.Drawing.Size(59, 35); this.pnlPrimaryColour.TabIndex = 0; // // krbtnB // this.krbtnB.Location = new System.Drawing.Point(472, 239); this.krbtnB.Name = "krbtnB"; this.krbtnB.Size = new System.Drawing.Size(36, 24); this.krbtnB.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnB.TabIndex = 44; this.krbtnB.Values.Text = "B:"; // // krbtnBlue // this.krbtnBlue.Location = new System.Drawing.Point(324, 348); this.krbtnBlue.Name = "krbtnBlue"; this.krbtnBlue.Size = new System.Drawing.Size(36, 24); this.krbtnBlue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnBlue.TabIndex = 44; this.krbtnBlue.Values.Text = "B:"; // // krbtnAlpha // this.krbtnAlpha.Location = new System.Drawing.Point(472, 209); this.krbtnAlpha.Name = "krbtnAlpha"; this.krbtnAlpha.Size = new System.Drawing.Size(37, 24); this.krbtnAlpha.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnAlpha.TabIndex = 45; this.krbtnAlpha.Values.Text = "A:"; // // krbtnLuminosity // this.krbtnLuminosity.Location = new System.Drawing.Point(472, 179); this.krbtnLuminosity.Name = "krbtnLuminosity"; this.krbtnLuminosity.Size = new System.Drawing.Size(34, 24); this.krbtnLuminosity.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnLuminosity.TabIndex = 43; this.krbtnLuminosity.Values.Text = "L:"; // // krbtnBrightness // this.krbtnBrightness.Location = new System.Drawing.Point(326, 241); this.krbtnBrightness.Name = "krbtnBrightness"; this.krbtnBrightness.Size = new System.Drawing.Size(36, 24); this.krbtnBrightness.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnBrightness.TabIndex = 41; this.krbtnBrightness.Values.Text = "B:"; // // krbtnGreen // this.krbtnGreen.Location = new System.Drawing.Point(324, 316); this.krbtnGreen.Name = "krbtnGreen"; this.krbtnGreen.Size = new System.Drawing.Size(37, 24); this.krbtnGreen.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnGreen.TabIndex = 45; this.krbtnGreen.Values.Text = "G:"; // // krbtnSaturation // this.krbtnSaturation.Location = new System.Drawing.Point(326, 209); this.krbtnSaturation.Name = "krbtnSaturation"; this.krbtnSaturation.Size = new System.Drawing.Size(35, 24); this.krbtnSaturation.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnSaturation.TabIndex = 42; this.krbtnSaturation.Values.Text = "S:"; // // krbtnRed // this.krbtnRed.Location = new System.Drawing.Point(324, 284); this.krbtnRed.Name = "krbtnRed"; this.krbtnRed.Size = new System.Drawing.Size(36, 24); this.krbtnRed.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnRed.TabIndex = 43; this.krbtnRed.Values.Text = "R:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(324, 134); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(63, 24); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.kryptonLabel2.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.kryptonLabel2.TabIndex = 41; this.kryptonLabel2.Values.Text = "Current"; // // krbtnHue // this.krbtnHue.Location = new System.Drawing.Point(326, 179); this.krbtnHue.Name = "krbtnHue"; this.krbtnHue.Size = new System.Drawing.Size(38, 24); this.krbtnHue.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.krbtnHue.TabIndex = 40; this.krbtnHue.Values.Text = "H:"; // // kcbWebColours // this.kcbWebColours.Location = new System.Drawing.Point(13, 293); this.kcbWebColours.Name = "kcbWebColours"; this.kcbWebColours.Size = new System.Drawing.Size(148, 24); this.kcbWebColours.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbWebColours.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcbWebColours.TabIndex = 39; this.kcbWebColours.Values.Text = "Only &Web Colours"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(334, 29); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(42, 24); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.StateCommon.ShortText.TextH = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.kryptonLabel1.StateCommon.ShortText.TextV = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Center; this.kryptonLabel1.TabIndex = 3; this.kryptonLabel1.Values.Text = "New"; // // avcsColours // this.avcsColours.BackColor = System.Drawing.Color.Transparent; this.avcsColours.BaseColourComponent = ExtendedControls.Base.Enumerations.ColourComponent.HUE; hsb1.B = 1D; hsb1.H = 0D; hsb1.S = 1D; this.avcsColours.HSB = hsb1; this.avcsColours.Location = new System.Drawing.Point(278, 26); this.avcsColours.Name = "avcsColours"; this.avcsColours.RGB = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.avcsColours.Size = new System.Drawing.Size(40, 260); this.avcsColours.TabIndex = 1; this.avcsColours.WebSafeColoursOnly = false; // // adcbColours // this.adcbColours.BaseColourComponent = ExtendedControls.Base.Enumerations.ColourComponent.HUE; hsb2.B = 1D; hsb2.H = 0D; hsb2.S = 1D; this.adcbColours.HSB = hsb2; this.adcbColours.Location = new System.Drawing.Point(12, 26); this.adcbColours.Name = "adcbColours"; this.adcbColours.RGB = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.adcbColours.Size = new System.Drawing.Size(260, 260); this.adcbColours.TabIndex = 0; this.adcbColours.WebSafeColoursOnly = false; // // kbtnGradients // this.kbtnGradients.Location = new System.Drawing.Point(489, 74); this.kbtnGradients.Name = "kbtnGradients"; this.kbtnGradients.Size = new System.Drawing.Size(138, 25); this.kbtnGradients.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGradients.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGradients.TabIndex = 77; this.kbtnGradients.Values.Text = "Gr&adients"; this.kbtnGradients.Visible = false; // // AdobeColourDialog // this.ClientSize = new System.Drawing.Size(639, 428); this.Controls.Add(this.avcsColours); this.Controls.Add(this.adcbColours); 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 = "AdobeColourDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Select a Colour"; this.Load += new System.EventHandler(this.AdobeColourDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); this.pnlBlankBox.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Propagates the HSB values. /// </summary> /// <param name="hueValue">The hue value.</param> /// <param name="saturationValue">The saturation value.</param> /// <param name="brightnessValue">The brightness value.</param> /// <param name="hue">The hue.</param> /// <param name="saturation">The saturation.</param> /// <param name="brightness">The brightness.</param> public static void PropagateHSBValues(KryptonNumericUpDown hueValue, KryptonNumericUpDown saturationValue, KryptonNumericUpDown brightnessValue, decimal hue, decimal saturation, decimal brightness) { hueValue.Value = hue; saturationValue.Value = saturation; brightnessValue.Value = brightness; }
private void InitializeComponent() { ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues3 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues2 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues1 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues15 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues14 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues13 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues10 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues11 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues12 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues9 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues8 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues6 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues7 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues5 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues popupPositionValues4 = new ComponentFactory.Krypton.Toolkit.Values.PopupPositionValues(); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnSave = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnResizeImage = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.klblPaletteStyle = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.ktxtTargetImageLocation = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kbtnTargetBrowse = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnBrowseNewImageLocation = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.ktxtNewImageLocation = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knudWidth = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knudHeight = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kcmbFileType = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kcmbFileType)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnResizeImage); this.kryptonPanel1.Controls.Add(this.kbtnSave); this.kryptonPanel1.Controls.Add(this.kbtnCancel); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 158); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(830, 55); this.kryptonPanel1.TabIndex = 0; // // 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(701, 14); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(117, 29); 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 = 14; popupPositionValues3.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kbtnCancel.ToolTipValues.ToolTipPosition = popupPositionValues3; this.kbtnCancel.Values.Text = "&Cancel"; // // kbtnSave // this.kbtnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnSave.Enabled = false; this.kbtnSave.Location = new System.Drawing.Point(578, 14); this.kbtnSave.Name = "kbtnSave"; this.kbtnSave.Size = new System.Drawing.Size(117, 29); this.kbtnSave.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSave.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSave.TabIndex = 15; popupPositionValues2.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kbtnSave.ToolTipValues.ToolTipPosition = popupPositionValues2; this.kbtnSave.Values.Text = "&Save"; this.kbtnSave.Click += new System.EventHandler(this.KbtnSave_Click); // // kbtnResizeImage // this.kbtnResizeImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnResizeImage.Location = new System.Drawing.Point(371, 14); this.kbtnResizeImage.Name = "kbtnResizeImage"; this.kbtnResizeImage.Size = new System.Drawing.Size(201, 29); this.kbtnResizeImage.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnResizeImage.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnResizeImage.TabIndex = 16; popupPositionValues1.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kbtnResizeImage.ToolTipValues.ToolTipPosition = popupPositionValues1; this.kbtnResizeImage.Values.Text = "Resize &Image"; this.kbtnResizeImage.Click += new System.EventHandler(this.KbtnResizeImage_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, 153); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(830, 5); this.panel1.TabIndex = 1; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kcmbFileType); this.kryptonPanel2.Controls.Add(this.kryptonLabel4); this.kryptonPanel2.Controls.Add(this.knudHeight); this.kryptonPanel2.Controls.Add(this.kryptonLabel3); this.kryptonPanel2.Controls.Add(this.knudWidth); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.kbtnBrowseNewImageLocation); this.kryptonPanel2.Controls.Add(this.ktxtNewImageLocation); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); this.kryptonPanel2.Controls.Add(this.kbtnTargetBrowse); this.kryptonPanel2.Controls.Add(this.ktxtTargetImageLocation); this.kryptonPanel2.Controls.Add(this.klblPaletteStyle); 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(830, 153); this.kryptonPanel2.TabIndex = 2; // // klblPaletteStyle // this.klblPaletteStyle.Location = new System.Drawing.Point(12, 12); this.klblPaletteStyle.Name = "klblPaletteStyle"; this.klblPaletteStyle.Size = new System.Drawing.Size(113, 24); this.klblPaletteStyle.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblPaletteStyle.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblPaletteStyle.TabIndex = 6; popupPositionValues15.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.klblPaletteStyle.ToolTipValues.ToolTipPosition = popupPositionValues15; this.klblPaletteStyle.Values.Text = "Target Image:"; // // ktxtTargetImageLocation // this.ktxtTargetImageLocation.Hint = "Taget image location..."; this.ktxtTargetImageLocation.Location = new System.Drawing.Point(131, 10); this.ktxtTargetImageLocation.Name = "ktxtTargetImageLocation"; this.ktxtTargetImageLocation.Size = new System.Drawing.Size(642, 29); this.ktxtTargetImageLocation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtTargetImageLocation.TabIndex = 7; popupPositionValues14.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.ktxtTargetImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues14; // // kbtnTargetBrowse // this.kbtnTargetBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.kbtnTargetBrowse.Location = new System.Drawing.Point(779, 12); this.kbtnTargetBrowse.Name = "kbtnTargetBrowse"; this.kbtnTargetBrowse.Size = new System.Drawing.Size(39, 27); this.kbtnTargetBrowse.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnTargetBrowse.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnTargetBrowse.TabIndex = 17; popupPositionValues13.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kbtnTargetBrowse.ToolTipValues.ToolTipPosition = popupPositionValues13; this.kbtnTargetBrowse.Values.Text = "..."; this.kbtnTargetBrowse.Click += new System.EventHandler(this.KbtnTargetBrowse_Click); // // kbtnBrowseNewImageLocation // this.kbtnBrowseNewImageLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.kbtnBrowseNewImageLocation.Location = new System.Drawing.Point(779, 56); this.kbtnBrowseNewImageLocation.Name = "kbtnBrowseNewImageLocation"; this.kbtnBrowseNewImageLocation.Size = new System.Drawing.Size(39, 27); this.kbtnBrowseNewImageLocation.StateCommon.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnBrowseNewImageLocation.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnBrowseNewImageLocation.TabIndex = 20; popupPositionValues10.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kbtnBrowseNewImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues10; this.kbtnBrowseNewImageLocation.Values.Text = "..."; this.kbtnBrowseNewImageLocation.Click += new System.EventHandler(this.KbtnBrowseNewImageLocation_Click); // // ktxtNewImageLocation // this.ktxtNewImageLocation.Hint = "New image location..."; this.ktxtNewImageLocation.Location = new System.Drawing.Point(131, 54); this.ktxtNewImageLocation.Name = "ktxtNewImageLocation"; this.ktxtNewImageLocation.Size = new System.Drawing.Size(642, 29); this.ktxtNewImageLocation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtNewImageLocation.TabIndex = 19; popupPositionValues11.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.ktxtNewImageLocation.ToolTipValues.ToolTipPosition = popupPositionValues11; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(12, 56); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(99, 24); this.kryptonLabel1.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel1.TabIndex = 18; popupPositionValues12.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kryptonLabel1.ToolTipValues.ToolTipPosition = popupPositionValues12; this.kryptonLabel1.Values.Text = "Save Image:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(106, 110); this.kryptonLabel2.Name = "kryptonLabel2"; this.kryptonLabel2.Size = new System.Drawing.Size(60, 24); this.kryptonLabel2.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel2.TabIndex = 21; popupPositionValues9.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kryptonLabel2.ToolTipValues.ToolTipPosition = popupPositionValues9; this.kryptonLabel2.Values.Text = "Width:"; // // knudWidth // this.knudWidth.DecimalPlaces = 99; this.knudWidth.Location = new System.Drawing.Point(172, 108); this.knudWidth.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); this.knudWidth.Name = "knudWidth"; this.knudWidth.Size = new System.Drawing.Size(120, 28); this.knudWidth.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudWidth.TabIndex = 22; this.knudWidth.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; popupPositionValues8.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.knudWidth.ToolTipValues.ToolTipPosition = popupPositionValues8; // // knudHeight // this.knudHeight.DecimalPlaces = 99; this.knudHeight.Location = new System.Drawing.Point(393, 108); this.knudHeight.Maximum = new decimal(new int[] { 999999, 0, 0, 0 }); this.knudHeight.Name = "knudHeight"; this.knudHeight.Size = new System.Drawing.Size(120, 28); this.knudHeight.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudHeight.TabIndex = 24; this.knudHeight.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; popupPositionValues6.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.knudHeight.ToolTipValues.ToolTipPosition = popupPositionValues6; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(322, 110); this.kryptonLabel3.Name = "kryptonLabel3"; this.kryptonLabel3.Size = new System.Drawing.Size(65, 24); this.kryptonLabel3.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel3.TabIndex = 23; popupPositionValues7.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kryptonLabel3.ToolTipValues.ToolTipPosition = popupPositionValues7; this.kryptonLabel3.Values.Text = "Height:"; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(556, 110); this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Size = new System.Drawing.Size(51, 24); this.kryptonLabel4.StateCommon.LongText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.TabIndex = 25; popupPositionValues5.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kryptonLabel4.ToolTipValues.ToolTipPosition = popupPositionValues5; this.kryptonLabel4.Values.Text = "Type:"; // // kcmbFileType // this.kcmbFileType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcmbFileType.DropDownWidth = 121; this.kcmbFileType.Location = new System.Drawing.Point(613, 110); this.kcmbFileType.Name = "kcmbFileType"; this.kcmbFileType.Size = new System.Drawing.Size(121, 27); this.kcmbFileType.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbFileType.StateCommon.Item.Content.LongText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbFileType.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbFileType.TabIndex = 26; popupPositionValues4.PlacementMode = ComponentFactory.Krypton.Toolkit.PlacementMode.Bottom; this.kcmbFileType.ToolTipValues.ToolTipPosition = popupPositionValues4; // // KryptonImageResizingToolWindow // this.ClientSize = new System.Drawing.Size(830, 213); 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 = "KryptonImageResizingToolWindow"; this.ShowInTaskbar = false; this.Text = "Krypton Image Resizer"; this.Load += new System.EventHandler(this.KryptonImageResizingToolWindow_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.kcmbFileType)).EndInit(); this.ResumeLayout(false); }
public void SetLightestColourHueValues(KryptonNumericUpDown hueValues, int minValue, int maxValue) { hueValues.Minimum = minValue; hueValues.Maximum = maxValue; }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kchkKeepOpacityValues = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kchkAutomateColourContrastValues = new ComponentFactory.Krypton.Toolkit.KryptonCheckBox(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnUtiliseContrastColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnUtiliseBaseColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnContrastColourGenerateBlue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnContrastColourGenerateGreen = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnContrastColourGenerateRed = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnGenerateBaseAlphaValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnInvertColours = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnGenerateComplementaryColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnGenerateBlueValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnGenerateGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnGenerateRedValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumContrastAlphaChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumContrastBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumContrastGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumContrastRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel8 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumBaseAlphaChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel10 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumBaseBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBaseGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBaseRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel12 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.cpbBaseColour = new KryptonToolkitSuiteExtendedCore.CircularPictureBox(); this.cpbContrastColour = new KryptonToolkitSuiteExtendedCore.CircularPictureBox(); this.kbtnContrastColourGenerateAlpha = new ComponentFactory.Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cpbContrastColour)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kchkKeepOpacityValues); this.kryptonPanel1.Controls.Add(this.kchkAutomateColourContrastValues); this.kryptonPanel1.Controls.Add(this.kbtnOk); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 564); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(883, 52); this.kryptonPanel1.TabIndex = 1; // // kchkKeepOpacityValues // this.kchkKeepOpacityValues.Location = new System.Drawing.Point(286, 14); this.kchkKeepOpacityValues.Name = "kchkKeepOpacityValues"; this.kchkKeepOpacityValues.Size = new System.Drawing.Size(174, 26); this.kchkKeepOpacityValues.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kchkKeepOpacityValues.TabIndex = 94; this.kchkKeepOpacityValues.Values.Text = "Keep &Opacity Values"; this.kchkKeepOpacityValues.CheckedChanged += new System.EventHandler(this.KchkKeepOpacityValues_CheckedChanged); // // kchkAutomateColourContrastValues // this.kchkAutomateColourContrastValues.Location = new System.Drawing.Point(12, 14); this.kchkAutomateColourContrastValues.Name = "kchkAutomateColourContrastValues"; this.kchkAutomateColourContrastValues.Size = new System.Drawing.Size(268, 26); this.kchkAutomateColourContrastValues.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kchkAutomateColourContrastValues.TabIndex = 93; this.kchkAutomateColourContrastValues.Values.Text = "&Automate Colour Contrast Values"; this.kchkAutomateColourContrastValues.CheckedChanged += new System.EventHandler(this.KchkAutomateColourContrastValues_CheckedChanged); // // kbtnOk // this.kbtnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.kbtnOk.Location = new System.Drawing.Point(839, 10); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 92; this.kbtnOk.Values.Text = "&Ok"; this.kbtnOk.Click += new System.EventHandler(this.KbtnOk_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, 561); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(883, 3); this.panel1.TabIndex = 2; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.kbtnContrastColourGenerateAlpha); this.kryptonPanel2.Controls.Add(this.cpbContrastColour); this.kryptonPanel2.Controls.Add(this.cpbBaseColour); this.kryptonPanel2.Controls.Add(this.kbtnUtiliseContrastColour); this.kryptonPanel2.Controls.Add(this.kbtnUtiliseBaseColour); this.kryptonPanel2.Controls.Add(this.kbtnContrastColourGenerateBlue); this.kryptonPanel2.Controls.Add(this.kbtnContrastColourGenerateGreen); this.kryptonPanel2.Controls.Add(this.kbtnContrastColourGenerateRed); this.kryptonPanel2.Controls.Add(this.kbtnGenerateBaseAlphaValue); this.kryptonPanel2.Controls.Add(this.kbtnInvertColours); this.kryptonPanel2.Controls.Add(this.kbtnGenerateComplementaryColour); this.kryptonPanel2.Controls.Add(this.kbtnGenerateBlueValue); this.kryptonPanel2.Controls.Add(this.kbtnGenerateGreenValue); this.kryptonPanel2.Controls.Add(this.kbtnGenerateRedValue); this.kryptonPanel2.Controls.Add(this.knumContrastAlphaChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel5); this.kryptonPanel2.Controls.Add(this.knumContrastBlueChannelValue); this.kryptonPanel2.Controls.Add(this.knumContrastGreenChannelValue); this.kryptonPanel2.Controls.Add(this.knumContrastRedChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel6); this.kryptonPanel2.Controls.Add(this.kryptonLabel7); this.kryptonPanel2.Controls.Add(this.kryptonLabel8); this.kryptonPanel2.Controls.Add(this.knumBaseAlphaChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel10); this.kryptonPanel2.Controls.Add(this.knumBaseBlueChannelValue); this.kryptonPanel2.Controls.Add(this.knumBaseGreenChannelValue); this.kryptonPanel2.Controls.Add(this.knumBaseRedChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel4); this.kryptonPanel2.Controls.Add(this.kryptonLabel3); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); this.kryptonPanel2.Controls.Add(this.kryptonLabel1); this.kryptonPanel2.Controls.Add(this.kryptonLabel12); 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(883, 561); this.kryptonPanel2.TabIndex = 3; // // kbtnUtiliseContrastColour // this.kbtnUtiliseContrastColour.AutoSize = true; this.kbtnUtiliseContrastColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnUtiliseContrastColour.Location = new System.Drawing.Point(580, 516); 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.TabIndex = 93; this.kbtnUtiliseContrastColour.Values.Text = "Utilise &Contrast Colour for Palette"; this.kbtnUtiliseContrastColour.Click += new System.EventHandler(this.KbtnUtiliseContrastColour_Click); // // kbtnUtiliseBaseColour // this.kbtnUtiliseBaseColour.AutoSize = true; this.kbtnUtiliseBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnUtiliseBaseColour.Location = new System.Drawing.Point(57, 516); 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.TabIndex = 92; this.kbtnUtiliseBaseColour.Values.Text = "Utilise &Base Colour for Palette"; this.kbtnUtiliseBaseColour.Click += new System.EventHandler(this.KbtnUtiliseBaseColour_Click); // // kbtnContrastColourGenerateBlue // this.kbtnContrastColourGenerateBlue.AutoSize = true; this.kbtnContrastColourGenerateBlue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnContrastColourGenerateBlue.Location = new System.Drawing.Point(740, 480); 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.TabIndex = 91; this.kbtnContrastColourGenerateBlue.Values.Text = "Generate &Blue"; this.kbtnContrastColourGenerateBlue.Click += new System.EventHandler(this.KbtnContrastColourGenerateBlue_Click); // // kbtnContrastColourGenerateGreen // this.kbtnContrastColourGenerateGreen.AutoSize = true; this.kbtnContrastColourGenerateGreen.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnContrastColourGenerateGreen.Location = new System.Drawing.Point(740, 437); 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.TabIndex = 90; this.kbtnContrastColourGenerateGreen.Values.Text = "Generate &Green"; this.kbtnContrastColourGenerateGreen.Click += new System.EventHandler(this.KbtnContrastColourGenerateGreen_Click); // // kbtnContrastColourGenerateRed // this.kbtnContrastColourGenerateRed.AutoSize = true; this.kbtnContrastColourGenerateRed.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnContrastColourGenerateRed.Location = new System.Drawing.Point(740, 393); 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.TabIndex = 89; this.kbtnContrastColourGenerateRed.Values.Text = "Generate &Red"; this.kbtnContrastColourGenerateRed.Click += new System.EventHandler(this.KbtnContrastColourGenerateRed_Click); // // kbtnGenerateBaseAlphaValue // this.kbtnGenerateBaseAlphaValue.AutoSize = true; this.kbtnGenerateBaseAlphaValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateBaseAlphaValue.Location = new System.Drawing.Point(222, 348); 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.TabIndex = 88; this.kbtnGenerateBaseAlphaValue.Values.Text = "Generate &Alpha"; this.kbtnGenerateBaseAlphaValue.Click += new System.EventHandler(this.KbtnGenerateBaseAlphaValue_Click); // // kbtnInvertColours // this.kbtnInvertColours.AutoSize = true; this.kbtnInvertColours.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnInvertColours.Location = new System.Drawing.Point(430, 173); 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.TabIndex = 87; this.kbtnInvertColours.Values.Text = "<&--"; this.kbtnInvertColours.Click += new System.EventHandler(this.KbtnInvertColours_Click); // // kbtnGenerateComplementaryColour // this.kbtnGenerateComplementaryColour.AutoSize = true; this.kbtnGenerateComplementaryColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateComplementaryColour.Location = new System.Drawing.Point(430, 109); 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.TabIndex = 86; this.kbtnGenerateComplementaryColour.Values.Text = "--&>"; this.kbtnGenerateComplementaryColour.Click += new System.EventHandler(this.KbtnGenerateComplementaryColour_Click); // // kbtnGenerateBlueValue // this.kbtnGenerateBlueValue.AutoSize = true; this.kbtnGenerateBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateBlueValue.Location = new System.Drawing.Point(222, 480); 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.TabIndex = 85; this.kbtnGenerateBlueValue.Values.Text = "Generate &Blue"; this.kbtnGenerateBlueValue.Click += new System.EventHandler(this.KbtnGenerateBlueValue_Click); // // kbtnGenerateGreenValue // this.kbtnGenerateGreenValue.AutoSize = true; this.kbtnGenerateGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateGreenValue.Location = new System.Drawing.Point(222, 437); this.kbtnGenerateGreenValue.Name = "kbtnGenerateGreenValue"; this.kbtnGenerateGreenValue.Size = new System.Drawing.Size(126, 30); this.kbtnGenerateGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateGreenValue.TabIndex = 84; this.kbtnGenerateGreenValue.Values.Text = "Generate &Green"; this.kbtnGenerateGreenValue.Click += new System.EventHandler(this.KbtnGenerateGreenValue_Click); // // kbtnGenerateRedValue // this.kbtnGenerateRedValue.AutoSize = true; this.kbtnGenerateRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateRedValue.Location = new System.Drawing.Point(222, 393); 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.TabIndex = 83; this.kbtnGenerateRedValue.Values.Text = "Generate &Red"; this.kbtnGenerateRedValue.Click += new System.EventHandler(this.KbtnGenerateRedValue_Click); // // knumContrastAlphaChannelValue // this.knumContrastAlphaChannelValue.Location = new System.Drawing.Point(614, 348); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumContrastAlphaChannelValue.TabIndex = 82; this.knumContrastAlphaChannelValue.Value = new decimal(new int[] { 255, 0, 0, 0 }); // // kryptonLabel5 // this.kryptonLabel5.Location = new System.Drawing.Point(546, 348); 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.TabIndex = 81; this.kryptonLabel5.Values.Text = "Alpha:"; // // knumContrastBlueChannelValue // this.knumContrastBlueChannelValue.Location = new System.Drawing.Point(614, 480); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumContrastBlueChannelValue.TabIndex = 80; // // knumContrastGreenChannelValue // this.knumContrastGreenChannelValue.Location = new System.Drawing.Point(614, 437); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumContrastGreenChannelValue.TabIndex = 79; // // knumContrastRedChannelValue // this.knumContrastRedChannelValue.Location = new System.Drawing.Point(614, 393); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumContrastRedChannelValue.TabIndex = 78; // // kryptonLabel6 // this.kryptonLabel6.Location = new System.Drawing.Point(546, 482); 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.TabIndex = 77; this.kryptonLabel6.Values.Text = "Blue:"; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(546, 437); 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.TabIndex = 76; this.kryptonLabel7.Values.Text = "Green:"; // // kryptonLabel8 // this.kryptonLabel8.Location = new System.Drawing.Point(546, 395); 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.TabIndex = 75; this.kryptonLabel8.Values.Text = "Red:"; // // knumBaseAlphaChannelValue // this.knumBaseAlphaChannelValue.Location = new System.Drawing.Point(96, 346); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumBaseAlphaChannelValue.TabIndex = 74; this.knumBaseAlphaChannelValue.Value = new decimal(new int[] { 255, 0, 0, 0 }); // // kryptonLabel10 // this.kryptonLabel10.Location = new System.Drawing.Point(28, 346); 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.TabIndex = 73; this.kryptonLabel10.Values.Text = "Alpha:"; // // knumBaseBlueChannelValue // this.knumBaseBlueChannelValue.Location = new System.Drawing.Point(96, 478); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumBaseBlueChannelValue.TabIndex = 72; // // knumBaseGreenChannelValue // this.knumBaseGreenChannelValue.Location = new System.Drawing.Point(96, 435); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumBaseGreenChannelValue.TabIndex = 71; // // knumBaseRedChannelValue // this.knumBaseRedChannelValue.Location = new System.Drawing.Point(96, 391); 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 = ComponentFactory.Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knumBaseRedChannelValue.TabIndex = 70; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(28, 480); 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.TabIndex = 69; this.kryptonLabel4.Values.Text = "Blue:"; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(28, 435); 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.TabIndex = 68; this.kryptonLabel3.Values.Text = "Green:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(28, 393); 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.TabIndex = 67; this.kryptonLabel2.Values.Text = "Red:"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(633, 21); 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.TabIndex = 66; this.kryptonLabel1.Values.Text = "Contrast Colour"; // // kryptonLabel12 // this.kryptonLabel12.Location = new System.Drawing.Point(96, 21); 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.TabIndex = 64; this.kryptonLabel12.Values.Text = "Base Colour"; // // cpbBaseColour // this.cpbBaseColour.BackColor = System.Drawing.SystemColors.Control; this.cpbBaseColour.Location = new System.Drawing.Point(28, 60); this.cpbBaseColour.Name = "cpbBaseColour"; this.cpbBaseColour.Size = new System.Drawing.Size(285, 280); this.cpbBaseColour.TabIndex = 4; this.cpbBaseColour.TabStop = false; // // cpbContrastColour // this.cpbContrastColour.BackColor = System.Drawing.SystemColors.Control; this.cpbContrastColour.Location = new System.Drawing.Point(580, 60); this.cpbContrastColour.Name = "cpbContrastColour"; this.cpbContrastColour.Size = new System.Drawing.Size(285, 280); this.cpbContrastColour.TabIndex = 5; this.cpbContrastColour.TabStop = false; // // kbtnContrastColourGenerateAlpha // this.kbtnContrastColourGenerateAlpha.AutoSize = true; this.kbtnContrastColourGenerateAlpha.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnContrastColourGenerateAlpha.Location = new System.Drawing.Point(740, 348); 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.TabIndex = 94; this.kbtnContrastColourGenerateAlpha.Values.Text = "Generate &Alpha"; this.kbtnContrastColourGenerateAlpha.Click += new System.EventHandler(this.KbtnContrastColourGenerateAlpha_Click); // // KryptonContrastColourGeneratorDialog // this.AcceptButton = this.kbtnOk; this.ClientSize = new System.Drawing.Size(883, 616); 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 = "KryptonContrastColourGeneratorDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Load += new System.EventHandler(this.KryptonContrastColourGeneratorDialog_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cpbBaseColour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cpbContrastColour)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel(); this.kryptonOKDialogButton1 = new Krypton.Toolkit.Extended.Base.KryptonOKDialogButton(); this.kryptonCancelDialogButton1 = new Krypton.Toolkit.Extended.Base.KryptonCancelDialogButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel(); this.ktxtHexValue = new Krypton.Toolkit.KryptonTextBox(); this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel(); this.kkcBlue = new Krypton.Toolkit.Extended.Base.KryptonKnobControl(); this.kkcGreen = new Krypton.Toolkit.Extended.Base.KryptonKnobControl(); this.kkcRed = new Krypton.Toolkit.Extended.Base.KryptonKnobControl(); this.cpbSelectedColour = new Krypton.Toolkit.Extended.Base.CircularPictureBox(); this.knudGreen = new Krypton.Toolkit.KryptonNumericUpDown(); this.knudBlue = new Krypton.Toolkit.KryptonNumericUpDown(); this.knudRed = new Krypton.Toolkit.KryptonNumericUpDown(); this.cwColour = new Krypton.Toolkit.Extended.Colour.Controls.ColourWheelControl(); this.scp = new Krypton.Toolkit.Extended.Colour.Controls.ScreenColourPickerControl(); this.klblGreen = new Krypton.Toolkit.KryptonLabel(); this.klblBlue = new Krypton.Toolkit.KryptonLabel(); this.klblRed = new Krypton.Toolkit.KryptonLabel(); this.cem = new Krypton.Toolkit.Extended.Colour.Controls.ColourEditorManager(); ((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.kryptonOKDialogButton1); this.kryptonPanel1.Controls.Add(this.kryptonCancelDialogButton1); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 318); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(577, 39); this.kryptonPanel1.TabIndex = 0; // // kryptonOKDialogButton1 // this.kryptonOKDialogButton1.DialogResult = System.Windows.Forms.DialogResult.OK; this.kryptonOKDialogButton1.Location = new System.Drawing.Point(379, 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"; // // kryptonCancelDialogButton1 // this.kryptonCancelDialogButton1.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kryptonCancelDialogButton1.Location = new System.Drawing.Point(475, 6); this.kryptonCancelDialogButton1.Name = "kryptonCancelDialogButton1"; this.kryptonCancelDialogButton1.ParentWindow = this; this.kryptonCancelDialogButton1.Size = new System.Drawing.Size(90, 25); this.kryptonCancelDialogButton1.TabIndex = 3; this.kryptonCancelDialogButton1.Values.Text = "C&ancel"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 315); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(577, 3); this.panel1.TabIndex = 1; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.ktxtHexValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel4); this.kryptonPanel2.Controls.Add(this.kkcBlue); this.kryptonPanel2.Controls.Add(this.kkcGreen); this.kryptonPanel2.Controls.Add(this.kkcRed); this.kryptonPanel2.Controls.Add(this.cpbSelectedColour); this.kryptonPanel2.Controls.Add(this.knudGreen); this.kryptonPanel2.Controls.Add(this.knudBlue); this.kryptonPanel2.Controls.Add(this.knudRed); this.kryptonPanel2.Controls.Add(this.cwColour); this.kryptonPanel2.Controls.Add(this.scp); this.kryptonPanel2.Controls.Add(this.klblGreen); this.kryptonPanel2.Controls.Add(this.klblBlue); this.kryptonPanel2.Controls.Add(this.klblRed); 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(577, 315); this.kryptonPanel2.TabIndex = 2; // // ktxtHexValue // this.ktxtHexValue.Hint = "#000000"; this.ktxtHexValue.Location = new System.Drawing.Point(240, 233); this.ktxtHexValue.MaxLength = 7; this.ktxtHexValue.Name = "ktxtHexValue"; this.ktxtHexValue.Size = new System.Drawing.Size(100, 24); this.ktxtHexValue.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtHexValue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.ktxtHexValue.TabIndex = 9; this.ktxtHexValue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ktxtHexValue.TextChanged += new System.EventHandler(this.ktxtHexValue_TextChanged); // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(210, 206); this.kryptonLabel4.Name = "kryptonLabel4"; this.kryptonLabel4.Size = new System.Drawing.Size(154, 21); this.kryptonLabel4.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel4.TabIndex = 8; this.kryptonLabel4.Values.Text = "Hexadecimal Value:"; // // kkcBlue // this.kkcBlue.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91))))); this.kkcBlue.ImeMode = System.Windows.Forms.ImeMode.On; this.kkcBlue.KnobIndicatorBorderColour = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(232)))), ((int)(((byte)(246))))); this.kkcBlue.KnobIndicatorColourBegin = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcBlue.KnobIndicatorColourEnd = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcBlue.LargeChange = 20; this.kkcBlue.Location = new System.Drawing.Point(325, 39); this.kkcBlue.Maximum = 255; this.kkcBlue.Minimum = 0; this.kkcBlue.Name = "kkcBlue"; this.kkcBlue.ShowLargeScale = true; this.kkcBlue.ShowSmallScale = false; this.kkcBlue.Size = new System.Drawing.Size(91, 91); this.kkcBlue.SizeLargeScaleMarker = 6; this.kkcBlue.SizeSmallScaleMarker = 3; this.kkcBlue.SmallChange = 5; this.kkcBlue.TabIndex = 7; this.kkcBlue.Value = 0; this.kkcBlue.ValueChanged += new Krypton.Toolkit.Extended.Base.ValueChangedEventHandler(this.kkcBlue_ValueChanged); // // kkcGreen // this.kkcGreen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91))))); this.kkcGreen.ImeMode = System.Windows.Forms.ImeMode.On; this.kkcGreen.KnobIndicatorBorderColour = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(232)))), ((int)(((byte)(246))))); this.kkcGreen.KnobIndicatorColourBegin = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcGreen.KnobIndicatorColourEnd = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcGreen.LargeChange = 20; this.kkcGreen.Location = new System.Drawing.Point(165, 39); this.kkcGreen.Maximum = 255; this.kkcGreen.Minimum = 0; this.kkcGreen.Name = "kkcGreen"; this.kkcGreen.ShowLargeScale = true; this.kkcGreen.ShowSmallScale = false; this.kkcGreen.Size = new System.Drawing.Size(91, 91); this.kkcGreen.SizeLargeScaleMarker = 6; this.kkcGreen.SizeSmallScaleMarker = 3; this.kkcGreen.SmallChange = 5; this.kkcGreen.TabIndex = 6; this.kkcGreen.Value = 0; this.kkcGreen.ValueChanged += new Krypton.Toolkit.Extended.Base.ValueChangedEventHandler(this.kkcGreen_ValueChanged); // // kkcRed // this.kkcRed.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(57)))), ((int)(((byte)(91))))); this.kkcRed.ImeMode = System.Windows.Forms.ImeMode.On; this.kkcRed.KnobIndicatorBorderColour = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(232)))), ((int)(((byte)(246))))); this.kkcRed.KnobIndicatorColourBegin = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcRed.KnobIndicatorColourEnd = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(206)))), ((int)(((byte)(230))))); this.kkcRed.LargeChange = 20; this.kkcRed.Location = new System.Drawing.Point(12, 39); this.kkcRed.Maximum = 255; this.kkcRed.Minimum = 0; this.kkcRed.Name = "kkcRed"; this.kkcRed.ShowLargeScale = true; this.kkcRed.ShowSmallScale = false; this.kkcRed.Size = new System.Drawing.Size(91, 91); this.kkcRed.SizeLargeScaleMarker = 6; this.kkcRed.SizeSmallScaleMarker = 3; this.kkcRed.SmallChange = 5; this.kkcRed.TabIndex = 3; this.kkcRed.Value = 0; this.kkcRed.ValueChanged += new Krypton.Toolkit.Extended.Base.ValueChangedEventHandler(this.kkcRed_ValueChanged); // // cpbSelectedColour // this.cpbSelectedColour.BackColor = System.Drawing.SystemColors.Control; this.cpbSelectedColour.Location = new System.Drawing.Point(435, 12); this.cpbSelectedColour.Name = "cpbSelectedColour"; this.cpbSelectedColour.Size = new System.Drawing.Size(130, 130); this.cpbSelectedColour.TabIndex = 3; this.cpbSelectedColour.TabStop = false; this.cpbSelectedColour.ToolTipValues = null; // // knudGreen // this.knudGreen.Location = new System.Drawing.Point(165, 136); this.knudGreen.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudGreen.Name = "knudGreen"; this.knudGreen.Size = new System.Drawing.Size(88, 23); this.knudGreen.StateCommon.Back.Color1 = System.Drawing.Color.Green; this.knudGreen.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knudGreen.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudGreen.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knudGreen.TabIndex = 5; this.knudGreen.ValueChanged += new System.EventHandler(this.knudGreen_ValueChanged); // // knudBlue // this.knudBlue.Location = new System.Drawing.Point(328, 136); this.knudBlue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudBlue.Name = "knudBlue"; this.knudBlue.Size = new System.Drawing.Size(88, 23); this.knudBlue.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.knudBlue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knudBlue.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudBlue.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knudBlue.TabIndex = 4; this.knudBlue.ValueChanged += new System.EventHandler(this.knudBlue_ValueChanged); // // knudRed // this.knudRed.Location = new System.Drawing.Point(12, 136); this.knudRed.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knudRed.Name = "knudRed"; this.knudRed.Size = new System.Drawing.Size(91, 23); this.knudRed.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knudRed.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knudRed.StateCommon.Content.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knudRed.StateCommon.Content.TextH = Krypton.Toolkit.PaletteRelativeAlign.Inherit; this.knudRed.TabIndex = 3; this.knudRed.ValueChanged += new System.EventHandler(this.knudRed_ValueChanged); // // cwColour // this.cwColour.BackColor = System.Drawing.Color.Transparent; this.cwColour.Location = new System.Drawing.Point(415, 148); this.cwColour.Name = "cwColour"; this.cwColour.Size = new System.Drawing.Size(150, 150); this.cwColour.TabIndex = 3; // // scp // this.scp.Colour = System.Drawing.Color.Empty; this.scp.Image = global::Krypton.Toolkit.Extended.Colour.Controls.Properties.Resources.eyedropper; this.scp.Location = new System.Drawing.Point(12, 185); this.scp.Name = "scp"; this.scp.Size = new System.Drawing.Size(139, 113); // // klblGreen // this.klblGreen.Location = new System.Drawing.Point(165, 12); this.klblGreen.Name = "klblGreen"; this.klblGreen.Size = new System.Drawing.Size(91, 21); this.klblGreen.StateCommon.ShortText.Color1 = System.Drawing.Color.Green; this.klblGreen.StateCommon.ShortText.Color2 = System.Drawing.Color.Green; this.klblGreen.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblGreen.TabIndex = 2; this.klblGreen.Values.Text = "Green: 255"; // // klblBlue // this.klblBlue.Location = new System.Drawing.Point(328, 12); this.klblBlue.Name = "klblBlue"; this.klblBlue.Size = new System.Drawing.Size(79, 21); this.klblBlue.StateCommon.ShortText.Color1 = System.Drawing.Color.Blue; this.klblBlue.StateCommon.ShortText.Color2 = System.Drawing.Color.Blue; this.klblBlue.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblBlue.TabIndex = 1; this.klblBlue.Values.Text = "Blue: 255"; // // klblRed // this.klblRed.Location = new System.Drawing.Point(12, 12); this.klblRed.Name = "klblRed"; this.klblRed.Size = new System.Drawing.Size(76, 21); this.klblRed.StateCommon.ShortText.Color1 = System.Drawing.Color.Red; this.klblRed.StateCommon.ShortText.Color2 = System.Drawing.Color.Red; this.klblRed.StateCommon.ShortText.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klblRed.TabIndex = 0; this.klblRed.Values.Text = "Red: 255"; // // cem // this.cem.Color = System.Drawing.Color.Empty; this.cem.ColourWheel = this.cwColour; this.cem.ScreenColourPicker = this.scp; this.cem.ColourChanged += new System.EventHandler(this.cem_ColourChanged); // // ScreenColourPickerDialog // this.ClientSize = new System.Drawing.Size(577, 357); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ScreenColourPickerDialog"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "Select a Colour"; ((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); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomColours)); this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kbtnUtiliseAsBaseColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.kbtnSaveColour = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.panel1 = new System.Windows.Forms.Panel(); this.kryptonPanel2 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.klstCustomColourSelector = new ComponentFactory.Krypton.Toolkit.KryptonListBox(); this.pbxColourPreview = new System.Windows.Forms.PictureBox(); this.kcmbNormalTextSystemColours = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel22 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kcmbNormalTextColour = new ComponentFactory.Krypton.Toolkit.KryptonComboBox(); this.kryptonLabel21 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextBlueValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumBlueChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextGreenValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumGreenChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kbtnGenerateNormalTextRedValue = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.knumRedChannelValue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit(); this.kryptonPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnUtiliseAsBaseColour); this.kryptonPanel1.Controls.Add(this.kbtnOk); this.kryptonPanel1.Controls.Add(this.kbtnSaveColour); this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.kryptonPanel1.Location = new System.Drawing.Point(0, 338); this.kryptonPanel1.Name = "kryptonPanel1"; this.kryptonPanel1.Size = new System.Drawing.Size(1023, 49); this.kryptonPanel1.TabIndex = 1; // // kbtnUtiliseAsBaseColour // this.kbtnUtiliseAsBaseColour.AutoSize = true; this.kbtnUtiliseAsBaseColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnUtiliseAsBaseColour.Location = new System.Drawing.Point(183, 7); this.kbtnUtiliseAsBaseColour.Name = "kbtnUtiliseAsBaseColour"; this.kbtnUtiliseAsBaseColour.Size = new System.Drawing.Size(167, 30); this.kbtnUtiliseAsBaseColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnUtiliseAsBaseColour.TabIndex = 79; this.kbtnUtiliseAsBaseColour.Values.Text = "Utilise as Base &Colour"; this.kbtnUtiliseAsBaseColour.Click += new System.EventHandler(this.kbtnUtiliseAsBaseColour_Click); // // kbtnOk // this.kbtnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.Location = new System.Drawing.Point(979, 7); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 77; this.kbtnOk.Values.Text = "O&k"; this.kbtnOk.Click += new System.EventHandler(this.kbtnOk_Click); // // kbtnSaveColour // this.kbtnSaveColour.AutoSize = true; this.kbtnSaveColour.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnSaveColour.Enabled = false; this.kbtnSaveColour.Location = new System.Drawing.Point(12, 7); this.kbtnSaveColour.Name = "kbtnSaveColour"; this.kbtnSaveColour.Size = new System.Drawing.Size(165, 30); this.kbtnSaveColour.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnSaveColour.TabIndex = 78; this.kbtnSaveColour.Values.Text = "Save &Selected Colour"; this.kbtnSaveColour.Click += new System.EventHandler(this.kbtnSaveColour_Click); // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 336); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1023, 2); this.panel1.TabIndex = 2; // // kryptonPanel2 // this.kryptonPanel2.Controls.Add(this.klstCustomColourSelector); this.kryptonPanel2.Controls.Add(this.pbxColourPreview); this.kryptonPanel2.Controls.Add(this.kcmbNormalTextSystemColours); this.kryptonPanel2.Controls.Add(this.kryptonLabel22); this.kryptonPanel2.Controls.Add(this.kcmbNormalTextColour); this.kryptonPanel2.Controls.Add(this.kryptonLabel21); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextBlueValue); this.kryptonPanel2.Controls.Add(this.knumBlueChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel4); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextGreenValue); this.kryptonPanel2.Controls.Add(this.knumGreenChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel3); this.kryptonPanel2.Controls.Add(this.kbtnGenerateNormalTextRedValue); this.kryptonPanel2.Controls.Add(this.knumRedChannelValue); this.kryptonPanel2.Controls.Add(this.kryptonLabel2); 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(1023, 336); this.kryptonPanel2.TabIndex = 3; // // klstCustomColourSelector // this.klstCustomColourSelector.Items.AddRange(new object[] { "Alternative Normal Text Colour", "Border Colour", "Custom Colour Five", "Custom Colour Four", "Custom Colour One", "Custom Colour Three", "Custom Colour Two", "Custom Text Colour Five", "Custom Text Colour Four", "Custom Text Colour One", "Custom Text Colour Two", "Custom TextColour Three", "Disabled Control Colour", "Disabled Text Colour", "Focused Text Colour", "Link Hover Text Colour", "Link Normal Text Colour", "Link Visited Text Colour", "Menu Text Colour", "Normal Text Colour", "Pressed Text Colour", "Ribbon Tab Text Colour", "Status Text Colour" }); this.klstCustomColourSelector.Location = new System.Drawing.Point(12, 12); this.klstCustomColourSelector.Name = "klstCustomColourSelector"; this.klstCustomColourSelector.Size = new System.Drawing.Size(335, 257); this.klstCustomColourSelector.Sorted = true; this.klstCustomColourSelector.StateCommon.Item.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.klstCustomColourSelector.TabIndex = 156; // // pbxColourPreview // this.pbxColourPreview.BackColor = System.Drawing.Color.Transparent; this.pbxColourPreview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pbxColourPreview.Location = new System.Drawing.Point(353, 12); this.pbxColourPreview.Name = "pbxColourPreview"; this.pbxColourPreview.Size = new System.Drawing.Size(650, 180); this.pbxColourPreview.TabIndex = 155; this.pbxColourPreview.TabStop = false; this.pbxColourPreview.BackColorChanged += new System.EventHandler(this.pbxColourPreview_BackColorChanged); this.pbxColourPreview.Click += new System.EventHandler(this.pbxColourPreview_Click); this.pbxColourPreview.MouseEnter += new System.EventHandler(this.pbxColourPreview_MouseEnter); // // kcmbNormalTextSystemColours // this.kcmbNormalTextSystemColours.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcmbNormalTextSystemColours.DropDownWidth = 173; this.kcmbNormalTextSystemColours.Location = new System.Drawing.Point(830, 215); this.kcmbNormalTextSystemColours.Name = "kcmbNormalTextSystemColours"; this.kcmbNormalTextSystemColours.Size = new System.Drawing.Size(173, 27); this.kcmbNormalTextSystemColours.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbNormalTextSystemColours.TabIndex = 154; this.kcmbNormalTextSystemColours.SelectedIndexChanged += new System.EventHandler(this.kcmbNormalTextSystemColours_SelectedIndexChanged); // // kryptonLabel22 // this.kryptonLabel22.Location = new System.Drawing.Point(688, 216); this.kryptonLabel22.Name = "kryptonLabel22"; this.kryptonLabel22.Size = new System.Drawing.Size(136, 26); this.kryptonLabel22.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel22.TabIndex = 153; this.kryptonLabel22.Values.Text = "System Colours:"; // // kcmbNormalTextColour // this.kcmbNormalTextColour.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.kcmbNormalTextColour.DropDownWidth = 173; this.kcmbNormalTextColour.Location = new System.Drawing.Point(509, 215); this.kcmbNormalTextColour.Name = "kcmbNormalTextColour"; this.kcmbNormalTextColour.Size = new System.Drawing.Size(173, 27); this.kcmbNormalTextColour.StateCommon.ComboBox.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kcmbNormalTextColour.TabIndex = 152; this.kcmbNormalTextColour.SelectedIndexChanged += new System.EventHandler(this.kcmbNormalTextColour_SelectedIndexChanged); // // kryptonLabel21 // this.kryptonLabel21.Location = new System.Drawing.Point(353, 216); this.kryptonLabel21.Name = "kryptonLabel21"; this.kryptonLabel21.Size = new System.Drawing.Size(150, 26); this.kryptonLabel21.StateCommon.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kryptonLabel21.TabIndex = 151; this.kryptonLabel21.Values.Text = "Standard Colours:"; // // kbtnGenerateNormalTextBlueValue // this.kbtnGenerateNormalTextBlueValue.AutoSize = true; this.kbtnGenerateNormalTextBlueValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextBlueValue.Location = new System.Drawing.Point(843, 282); this.kbtnGenerateNormalTextBlueValue.Name = "kbtnGenerateNormalTextBlueValue"; this.kbtnGenerateNormalTextBlueValue.Size = new System.Drawing.Size(114, 30); this.kbtnGenerateNormalTextBlueValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextBlueValue.TabIndex = 150; this.kbtnGenerateNormalTextBlueValue.Values.Text = "Generate &Blue"; this.kbtnGenerateNormalTextBlueValue.Click += new System.EventHandler(this.kbtnGenerateNormalTextBlueValue_Click); // // knumBlueChannelValue // this.knumBlueChannelValue.Location = new System.Drawing.Point(717, 282); this.knumBlueChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBlueChannelValue.Name = "knumBlueChannelValue"; this.knumBlueChannelValue.Size = new System.Drawing.Size(120, 28); this.knumBlueChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Blue; this.knumBlueChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumBlueChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBlueChannelValue.TabIndex = 149; this.knumBlueChannelValue.ValueChanged += new System.EventHandler(this.knumBlueChannelValue_ValueChanged); // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(649, 284); 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.TabIndex = 148; this.kryptonLabel4.Values.Text = "Blue:"; // // kbtnGenerateNormalTextGreenValue // this.kbtnGenerateNormalTextGreenValue.AutoSize = true; this.kbtnGenerateNormalTextGreenValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextGreenValue.Location = new System.Drawing.Point(517, 284); this.kbtnGenerateNormalTextGreenValue.Name = "kbtnGenerateNormalTextGreenValue"; this.kbtnGenerateNormalTextGreenValue.Size = new System.Drawing.Size(126, 30); this.kbtnGenerateNormalTextGreenValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextGreenValue.TabIndex = 147; this.kbtnGenerateNormalTextGreenValue.Values.Text = "Generate &Green"; this.kbtnGenerateNormalTextGreenValue.Click += new System.EventHandler(this.kbtnGenerateNormalTextGreenValue_Click); // // knumGreenChannelValue // this.knumGreenChannelValue.Location = new System.Drawing.Point(391, 284); this.knumGreenChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumGreenChannelValue.Name = "knumGreenChannelValue"; this.knumGreenChannelValue.Size = new System.Drawing.Size(120, 28); this.knumGreenChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Lime; this.knumGreenChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumGreenChannelValue.TabIndex = 146; this.knumGreenChannelValue.ValueChanged += new System.EventHandler(this.knumGreenChannelValue_ValueChanged); // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(323, 284); 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.TabIndex = 145; this.kryptonLabel3.Values.Text = "Green:"; // // kbtnGenerateNormalTextRedValue // this.kbtnGenerateNormalTextRedValue.AutoSize = true; this.kbtnGenerateNormalTextRedValue.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnGenerateNormalTextRedValue.Location = new System.Drawing.Point(206, 284); this.kbtnGenerateNormalTextRedValue.Name = "kbtnGenerateNormalTextRedValue"; this.kbtnGenerateNormalTextRedValue.Size = new System.Drawing.Size(111, 30); this.kbtnGenerateNormalTextRedValue.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnGenerateNormalTextRedValue.TabIndex = 144; this.kbtnGenerateNormalTextRedValue.Values.Text = "Generate &Red"; this.kbtnGenerateNormalTextRedValue.Click += new System.EventHandler(this.kbtnGenerateNormalTextRedValue_Click); // // knumRedChannelValue // this.knumRedChannelValue.Location = new System.Drawing.Point(80, 283); this.knumRedChannelValue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumRedChannelValue.Name = "knumRedChannelValue"; this.knumRedChannelValue.Size = new System.Drawing.Size(120, 28); this.knumRedChannelValue.StateCommon.Back.Color1 = System.Drawing.Color.Red; this.knumRedChannelValue.StateCommon.Content.Color1 = System.Drawing.Color.White; this.knumRedChannelValue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumRedChannelValue.TabIndex = 143; this.knumRedChannelValue.ValueChanged += new System.EventHandler(this.knumRedChannelValue_ValueChanged); // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(12, 284); 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.TabIndex = 142; this.kryptonLabel2.Values.Text = "Red:"; // // CustomColours // this.AcceptButton = this.kbtnOk; this.ClientSize = new System.Drawing.Size(1023, 387); this.Controls.Add(this.kryptonPanel2); this.Controls.Add(this.panel1); 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 = "CustomColours"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Define Custom Colours"; this.Load += new System.EventHandler(this.CustomColours_Load); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).EndInit(); this.kryptonPanel2.ResumeLayout(false); this.kryptonPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pbxColourPreview)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextSystemColours)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.kcmbNormalTextColour)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonLabel4 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel3 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel2 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel1 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.pnlSelectedColour = new System.Windows.Forms.Panel(); this.ktxtWebColour = new ComponentFactory.Krypton.Toolkit.KryptonTextBox(); this.kbtnCancel = new ComponentFactory.Krypton.Toolkit.KryptonButton(); this.pnlBrightness = new System.Windows.Forms.Panel(); this.pnlColour = new System.Windows.Forms.Panel(); this.kryptonLabel5 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel6 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.kryptonLabel7 = new ComponentFactory.Krypton.Toolkit.KryptonLabel(); this.knumRed = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBlue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumGreen = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumBrightness = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumSaturation = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.knumHue = new ComponentFactory.Krypton.Toolkit.KryptonNumericUpDown(); this.kbtnOk = new ComponentFactory.Krypton.Toolkit.KryptonButton(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.kbtnOk); this.kryptonPanel1.Controls.Add(this.knumHue); this.kryptonPanel1.Controls.Add(this.knumSaturation); this.kryptonPanel1.Controls.Add(this.knumBrightness); this.kryptonPanel1.Controls.Add(this.knumGreen); this.kryptonPanel1.Controls.Add(this.knumBlue); this.kryptonPanel1.Controls.Add(this.knumRed); this.kryptonPanel1.Controls.Add(this.kryptonLabel7); this.kryptonPanel1.Controls.Add(this.kryptonLabel6); this.kryptonPanel1.Controls.Add(this.kryptonLabel5); this.kryptonPanel1.Controls.Add(this.kryptonLabel4); this.kryptonPanel1.Controls.Add(this.kryptonLabel3); this.kryptonPanel1.Controls.Add(this.kryptonLabel2); this.kryptonPanel1.Controls.Add(this.kryptonLabel1); this.kryptonPanel1.Controls.Add(this.pnlSelectedColour); this.kryptonPanel1.Controls.Add(this.ktxtWebColour); this.kryptonPanel1.Controls.Add(this.kbtnCancel); this.kryptonPanel1.Controls.Add(this.pnlBrightness); this.kryptonPanel1.Controls.Add(this.pnlColour); 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(476, 571); this.kryptonPanel1.TabIndex = 0; // // kryptonLabel4 // this.kryptonLabel4.Location = new System.Drawing.Point(312, 475); 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.TabIndex = 60; this.kryptonLabel4.Values.Text = "Blue:"; // // kryptonLabel3 // this.kryptonLabel3.Location = new System.Drawing.Point(312, 437); 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.TabIndex = 59; this.kryptonLabel3.Values.Text = "Green:"; // // kryptonLabel2 // this.kryptonLabel2.Location = new System.Drawing.Point(312, 399); 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.TabIndex = 58; this.kryptonLabel2.Values.Text = "Red:"; // // kryptonLabel1 // this.kryptonLabel1.Location = new System.Drawing.Point(236, 356); this.kryptonLabel1.Name = "kryptonLabel1"; this.kryptonLabel1.Size = new System.Drawing.Size(68, 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 = 57; this.kryptonLabel1.Values.Text = "Colour:"; // // pnlSelectedColour // this.pnlSelectedColour.Location = new System.Drawing.Point(310, 354); this.pnlSelectedColour.Name = "pnlSelectedColour"; this.pnlSelectedColour.Size = new System.Drawing.Size(48, 29); this.pnlSelectedColour.TabIndex = 56; this.pnlSelectedColour.Visible = false; // // ktxtWebColour // this.ktxtWebColour.Location = new System.Drawing.Point(364, 354); this.ktxtWebColour.Name = "ktxtWebColour"; this.ktxtWebColour.Size = new System.Drawing.Size(100, 29); this.ktxtWebColour.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ktxtWebColour.TabIndex = 55; this.ktxtWebColour.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kbtnCancel // this.kbtnCancel.AutoSize = true; this.kbtnCancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnCancel.Location = new System.Drawing.Point(404, 529); this.kbtnCancel.Name = "kbtnCancel"; this.kbtnCancel.Size = new System.Drawing.Size(60, 30); this.kbtnCancel.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnCancel.TabIndex = 54; this.kbtnCancel.Values.Text = "&Cancel"; // // pnlBrightness // this.pnlBrightness.Location = new System.Drawing.Point(415, 12); this.pnlBrightness.Name = "pnlBrightness"; this.pnlBrightness.Size = new System.Drawing.Size(33, 325); this.pnlBrightness.TabIndex = 53; this.pnlBrightness.Visible = false; // // pnlColour // this.pnlColour.Location = new System.Drawing.Point(12, 12); this.pnlColour.Name = "pnlColour"; this.pnlColour.Size = new System.Drawing.Size(362, 325); this.pnlColour.TabIndex = 52; this.pnlColour.Visible = false; // // kryptonLabel5 // this.kryptonLabel5.Location = new System.Drawing.Point(107, 399); this.kryptonLabel5.Name = "kryptonLabel5"; this.kryptonLabel5.Size = new System.Drawing.Size(48, 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 = 61; this.kryptonLabel5.Values.Text = "Hue:"; // // kryptonLabel6 // this.kryptonLabel6.Location = new System.Drawing.Point(107, 437); this.kryptonLabel6.Name = "kryptonLabel6"; this.kryptonLabel6.Size = new System.Drawing.Size(97, 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 = 59; this.kryptonLabel6.Values.Text = "Saturation:"; // // kryptonLabel7 // this.kryptonLabel7.Location = new System.Drawing.Point(107, 475); this.kryptonLabel7.Name = "kryptonLabel7"; this.kryptonLabel7.Size = new System.Drawing.Size(98, 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.TabIndex = 62; this.kryptonLabel7.Values.Text = "Brightness:"; // // knumRed // this.knumRed.Location = new System.Drawing.Point(377, 399); this.knumRed.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumRed.Name = "knumRed"; this.knumRed.Size = new System.Drawing.Size(87, 28); this.knumRed.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumRed.TabIndex = 63; this.knumRed.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBlue // this.knumBlue.Location = new System.Drawing.Point(377, 475); this.knumBlue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBlue.Name = "knumBlue"; this.knumBlue.Size = new System.Drawing.Size(87, 28); this.knumBlue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBlue.TabIndex = 64; this.knumBlue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumGreen // this.knumGreen.Location = new System.Drawing.Point(377, 437); this.knumGreen.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumGreen.Name = "knumGreen"; this.knumGreen.Size = new System.Drawing.Size(87, 28); this.knumGreen.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumGreen.TabIndex = 65; this.knumGreen.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumBrightness // this.knumBrightness.Location = new System.Drawing.Point(217, 475); this.knumBrightness.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumBrightness.Name = "knumBrightness"; this.knumBrightness.Size = new System.Drawing.Size(87, 28); this.knumBrightness.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumBrightness.TabIndex = 66; this.knumBrightness.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumSaturation // this.knumSaturation.Location = new System.Drawing.Point(217, 437); this.knumSaturation.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumSaturation.Name = "knumSaturation"; this.knumSaturation.Size = new System.Drawing.Size(87, 28); this.knumSaturation.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumSaturation.TabIndex = 67; this.knumSaturation.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // knumHue // this.knumHue.Location = new System.Drawing.Point(217, 399); this.knumHue.Maximum = new decimal(new int[] { 255, 0, 0, 0 }); this.knumHue.Name = "knumHue"; this.knumHue.Size = new System.Drawing.Size(87, 28); this.knumHue.StateCommon.Content.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.knumHue.TabIndex = 68; this.knumHue.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // kbtnOk // this.kbtnOk.AutoSize = true; this.kbtnOk.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.kbtnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.kbtnOk.Location = new System.Drawing.Point(366, 529); this.kbtnOk.Name = "kbtnOk"; this.kbtnOk.Size = new System.Drawing.Size(32, 30); this.kbtnOk.StateCommon.Content.ShortText.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.kbtnOk.TabIndex = 69; this.kbtnOk.Values.Text = "O&k"; // // KryptonColourChooser1 // this.CancelButton = this.kbtnCancel; this.ClientSize = new System.Drawing.Size(476, 571); this.Controls.Add(this.kryptonPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "KryptonColourChooser1"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Select Colour"; this.Load += new System.EventHandler(this.KryptonColourChooser1_Load); this.Paint += new System.Windows.Forms.PaintEventHandler(this.KryptonColourChooser1_Paint); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); this.ResumeLayout(false); }
private void UnmonitorControl(KryptonNumericUpDown c) { c.MouseEnter -= new EventHandler(OnControlEnter); c.MouseLeave -= new EventHandler(OnControlLeave); c.TrackMouseEnter -= new EventHandler(OnControlEnter); c.TrackMouseLeave -= new EventHandler(OnControlLeave); }