Quantcast
Viewing all articles
Browse latest Browse all 2703

How to get mouse position in picture box?

Hi!

I need to use mouse coordinates in picture box.

I used:

Control.MousePosition.X
Control.MousePosition.Y

How to replace it to:

PictureBox1.MousePosition.X
PictureBox1.MousePosition.Y

in syntax order 'cause it reports that expression will be not evaluated in shared member.

I'm new in VB.Net...

Many thanks for everything.

Miro

Viewing all articles
Browse latest Browse all 2703

Trending Articles