Dim LocalMousePosition = PictureBox1.PointToClient(Windows.Forms.Cursor.Position) Label1.Text = ("X=" & LocalMousePosition.X & "," & "Y= " & LocalMousePosition.Y) Dim x, y As Integer x = LocalMousePosition.x y = LocalMousePosition.y If (x < 45 And y < 50) Then MessageBox.Show("clicked on v")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)