protected override void OnClick(EventArgs e)
 {
     if (this.ColorPicker == null)
     {
         this.ColorPicker = new ColorPickerDropDown();
         this.ColorPicker.ColorChanged += new EventHandler(this.ColorPickerColorChanged);
     }
     this.ColorPicker.Color = this.Color;
     this.ColorPicker.DefaultColor = this.DefaultColor;
     this.ColorPicker.Show(this, 0, base.Height);
 }
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (this.ColorBrush != null)
         {
             this.ColorBrush.Dispose();
         }
         if (this.ColorPicker != null)
         {
             this.ColorPicker.Dispose();
         }
     }
     this.ColorBrush = null;
     this.ColorPicker = null;
     base.Dispose(disposing);
 }