protected virtual void OnPaint(PaintEventArgs e) { // Raise the Paint event. if (this.Paint != null) this.Paint(this, e); }