private void ColorChooserLoad(object sender, EventArgs e)
{
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.DoubleBuffer, true);
this.pnlSelectedColor.Visible = false;
this.pnlBrightness.Visible = false;
this.pnlColor.Visible = false;
var selectedColorRectangle = new Rectangle(this.pnlSelectedColor.Location, this.pnlSelectedColor.Size);
var brightnessRectangle = new Rectangle(this.pnlBrightness.Location, this.pnlBrightness.Size);
var colorRectangle = new Rectangle(this.pnlColor.Location, this.pnlColor.Size);
this.myColorWheel = new ColorWheel(colorRectangle, brightnessRectangle, selectedColorRectangle);
this.myColorWheel.ColorChanged += this.MyColorWheelColorChanged;
if (!this.panelAlpha.Enabled)
{
if (this.Color.A != 255)
this.Color = Color.FromArgb(255, this.Color);
}
this.SetRGB(this._argb);
this.SetHSV(this._hsv);
this.SetRGBLabels(this._argb);
this.SetHSVLabels(this._hsv);
}