protected virtual void OnPrint (PaintEventArgs e) { PaintEventHandler eh = (PaintEventHandler)(Events[PaintEvent]); if (eh != null) eh (this, e); }