Draw lines based on a timer using GDI
Posted on 2007-03-27
I can draw lines using on Paint event when the form loads with no problem.
Private Sub Navigation_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
e.Graphics.DrawLine(Pens.Blue, 216, 160, 216, 220)
e.Graphics.DrawLine(Pens.Blue, 216, 220, 243, 220)
However, I would like the lines to be created and added to the form using a timer. Thanks for the help.