protected virtual void OnBeforePaintCell(PaintCellEventArgs e) { if (BeforePaintCell != null) { BeforePaintCell(this, e); } }