از این هم میتونید استفاده کنید دیگه نیازی به تعریف تابع نیست:

foreach (Control cntl in this.Controls)
if (cntl is PictureBox)
{
cntl.MouseEnter += (sender, e) => { MessageBox.Show(((PictureBox)sender).Name); };
}