Inheriting classes should override this method to handle this event. Call base.onPaint to send this event to any registered event listeners.
[Visual Basic] Overridable Protected Sub OnPaint( _ ByVal e As PaintEventArgs _ ) [C#] protected virtual void OnPaint( PaintEventArgs e ); [C++] protected: virtual void OnPaint( PaintEventArgs* e ); [JScript] protected function OnPaint( e : PaintEventArgs );
RichControl Class | RichControl Members | System.WinForms Namespace | AddOnPaint | RemoveOnPaint