OnPaint

Top  Previous  Next

 

OnPaint (Event)

 

This occurs when the AVAX Paint event fires and the drawing repaints

 

Syntax:

Private Sub object_OnPaint(Sender As System.Object, e As System.Windows.Forms.PaintEventArgs)

 

The OnPaint event syntax has the following parts:

Argument

Data Type

Description

Sender

System.Object

Is the object that raises the event

e

System.Windows.Forms.PaintEventArgs

Is the object that contains the event data

 

Example