Are you interested in becoming an AWS Certified Solutions Architect?
Discover a new interactive way of training for the exam.
Public Class Test Private Sub drawLine() Dim formGraphics As Drawing.Graphics formGraphics = Me.CreateGraphics formGraphics.DrawLine(Pens.Black, gameBall.Location.X, gameBall.Location.Y, Cursor.Position.X, Cursor.Position.Y) End Sub Private Sub Test_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load drawLine() End Sub Private Sub Test_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove drawLine() End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.