Hi,
I think this might solve your problem:
foreach (var item in this.flowLayoutPanel1.Controls)
{
((PictureBox)item).Click += (sender, e) =>
{
string location = ((PictureBox)sender).ImageLocation;
MessageBox.Show(string.Format("Child Control Names: {0} - Image Location: {1}", ((PictureBox)sender).Name, location));
};
}
Kind regards,