G
Guest
I have a simple problem that I just cannot figure out. I have a picturebox on a form that displays an image. I would like a red dot to appear on the picture when the user clicks on a certain location. here is the code that is not working
dim gr as graphic
Private Sub global5_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMov
gr = PictureBox1.CreateGraphic
gr.DrawEllipse(New Pen(Color.Red), e.X, e.Y, 3, 3
End Su
thank
mik
dim gr as graphic
Private Sub global5_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMov
gr = PictureBox1.CreateGraphic
gr.DrawEllipse(New Pen(Color.Red), e.X, e.Y, 3, 3
End Su
thank
mik