[Mono-winforms-list] Finding x and y position in a picture box

buhochileno at gmail.com buhochileno at gmail.com
Wed Apr 29 12:48:09 EDT 2009


Paul wrote:
> Hi,
>
> I'm trying to set up some regions within a picturebox so that when I
> click on it, I get a nice message. I've looked around quite a bit for
> this sort of thing, but can't seem to find anything.
>
> As it stands, I have a PictureBox1Click event being thrown, but I'm
> unsure of which method to use from the pictureBox1 object to use to find
> the x and y position.
>
>   
Use the mousemove event of the picturebox, the event send to the 
handlers the x and y mouse positions...

Mauricio
> Any help here would be appreciated - it's for an upcoming anniversary.
>
> TTFN
>
> Paul
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>   



More information about the Mono-winforms-list mailing list