In the event handler of your Mousedown do something like this:
if(sender is PictureBox)
{
PictureBox pb = (PictureBox)sender;
MessageBox.Show(pb.Name + " was clicked!");
}
Of course if pictureboxes will be the only one's raising the event then you could forget the if statement and simply do:
PictureBox pb = (PictureBox)sender;
MessageBox.Show(pb.Name + " was clicked!");
================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========