/// <summary> /// Releases the unmanaged resources used by the <see cref="T:System.Windows.Forms.ToolStripDropDown"/> and optionally releases the managed resources. /// </summary> /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param> protected override void Dispose(bool disposing) { if (disposing) { this.Items.Clear(); this.Host.MouseClick -= this.HostMouseClickHandler; this.Host.KeyDown -= this.HostKeyDownHandler; this.Host.Dispose(); this.Host = null; } base.Dispose(disposing); }
private void InitializeComponent() { this.kryptonPanel1 = new ComponentFactory.Krypton.Toolkit.KryptonPanel(); this.kryptonColourButtonExtended2 = new ExtendedColourControls.KryptonColourButtonExtended(); this.colorGrid1 = new Cyotek.Windows.Forms.ColorGrid(); this.cpbResult = new ExtendedControls.ExtendedToolkit.Controls.CircularPictureBox(); this.kryptonColourButtonExtended1 = new ExtendedControls.ExtendedToolkit.Controls.KryptonColourButtonExtended(); ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit(); this.kryptonPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cpbResult)).BeginInit(); this.SuspendLayout(); // // kryptonPanel1 // this.kryptonPanel1.Controls.Add(this.colorGrid1); this.kryptonPanel1.Controls.Add(this.kryptonColourButtonExtended2); this.kryptonPanel1.Controls.Add(this.cpbResult); this.kryptonPanel1.Controls.Add(this.kryptonColourButtonExtended1); 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(475, 161); this.kryptonPanel1.TabIndex = 0; // // kryptonColourButtonExtended2 // this.kryptonColourButtonExtended2.Location = new System.Drawing.Point(12, 78); this.kryptonColourButtonExtended2.Name = "kryptonColourButtonExtended2"; this.kryptonColourButtonExtended2.Size = new System.Drawing.Size(275, 25); this.kryptonColourButtonExtended2.TabIndex = 1; this.kryptonColourButtonExtended2.Values.Text = "kryptonColourButtonExtended2"; // // colorGrid1 // this.colorGrid1.Location = new System.Drawing.Point(12, 118); this.colorGrid1.Name = "colorGrid1"; this.colorGrid1.Size = new System.Drawing.Size(247, 165); this.colorGrid1.TabIndex = 1; this.colorGrid1.Visible = false; // // cpbResult // this.cpbResult.BackColor = System.Drawing.Color.White; this.cpbResult.Location = new System.Drawing.Point(316, 12); this.cpbResult.Name = "cpbResult"; this.cpbResult.Size = new System.Drawing.Size(131, 131); this.cpbResult.TabIndex = 1; this.cpbResult.TabStop = false; // // kryptonColourButtonExtended1 // this.kryptonColourButtonExtended1.Location = new System.Drawing.Point(12, 28); this.kryptonColourButtonExtended1.Name = "kryptonColourButtonExtended1"; this.kryptonColourButtonExtended1.Size = new System.Drawing.Size(275, 25); this.kryptonColourButtonExtended1.TabIndex = 1; this.kryptonColourButtonExtended1.Values.Text = "kryptonColourButtonExtended1"; this.kryptonColourButtonExtended1.SelectedColourChanged += new System.EventHandler <ComponentFactory.Krypton.Toolkit.ColorEventArgs>(this.KryptonColourButtonExtended1_SelectedColourChanged); // // KryptonColourButtonExtendedTest // this.ClientSize = new System.Drawing.Size(475, 161); this.Controls.Add(this.kryptonPanel1); this.Name = "KryptonColourButtonExtendedTest"; ((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit(); this.kryptonPanel1.ResumeLayout(false); this.kryptonPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cpbResult)).EndInit(); this.ResumeLayout(false); }