private void InitializeComponent() { this.SuspendLayout(); this.colorBox = new ZSS.ColorsLib.ColorBox(); this.colorSlider = new ZSS.ColorsLib.ColorSlider(); // colorBox this.colorBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBox.DrawStyle = ZSS.ColorsLib.DrawStyle.Hue; this.colorBox.Location = new System.Drawing.Point(0, 0); this.colorBox.Name = "colorBox"; this.colorBox.TabIndex = 0; // colorSlider this.colorSlider.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorSlider.DrawStyle = ZSS.ColorsLib.DrawStyle.Hue; this.colorSlider.Location = new System.Drawing.Point(colorBox.Width, 0); this.colorSlider.Name = "colorSlider"; this.colorSlider.TabIndex = 1; // ColorPicker this.Controls.Add(this.colorBox); this.Controls.Add(this.colorSlider); this.AutoSize = true; this.Name = "ColorPicker"; this.Size = new System.Drawing.Size(colorBox.Width + colorSlider.Width, colorBox.Height); this.ResumeLayout(false); }