Assuming you are using 2.0, an event was added exactly to give you this info:
Control.MouseClick Handle that and the eventargs gives you what you want. :) Jonathan 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. > > Any help here would be appreciated - it's for an upcoming anniversary. > > TTFN > > Paul > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-winforms-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
