Why can`t I get this to execute in the button1_click event?
PublicSub AddCurveExample(ByVal e As PaintEventArgs)
' Create some points.
Dim point1 AsNew Point(20, 20)
Dim point2 AsNew Point(40, 0)
Dim point3 AsNew Point(60, 40)
Dim point4 AsNew Point(80, 20)
' Create an array of the points...