protected virtual void OnBeforePaintHeader(PaintHeaderEventArgs e) { if (BeforePaintHeader != null) { BeforePaintHeader(this, e); } }