'Declaration
Public Overloads Overridable Sub OnPaint( _
ByVal As Graphics, _
ByVal As Rectangle, _
ByVal As ElementStyle _
)
'使用法
Dim instance As ElementControl
Dim g As Graphics
Dim rectInput As Rectangle
Dim overrideStyle As ElementStyle
instance.OnPaint(g, rectInput, overrideStyle)