protected virtual void OnPalettePaint(object sender, PaletteLayoutEventArgs e) { if (PalettePaint != null) PalettePaint(this, e); }