ciao,

qualcuno sa come richiamare la funzione

Private Sub Form1_Paint1(ByVal sender As Object, ByVal e As _
System.Windows.Forms.PaintEventArgs)

' Draw a dotted black line 25 pixels from the top of the form.


Dim LPen As New System.Drawing.Pen(System.Drawing.Color.Black)
LPen.DashStyle = Drawing2D.DashStyle.Dot
e.Graphics.DrawLine(LPen, XMIN, YMIN, XMAX, YMAX)
End Sub

grazie