Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mouseE As MouseEventArgs mouseE = DirectCast(e, MouseEventArgs) MsgBox(mouseE.Location.ToString) End Sub