You can't modify a collection while enumerating it, e.g. this would produce the same error:
List<int> items = new List<int>() { 1, 2, 3 };
foreach(int item in items)
{
items.Add(item+1);
}
You probably modify a collection from Form2 over which you are enumerating in Form1. Maybe the selected DataGrid-Rows? Maybe the DataGrid-Rows in general?
You can either make a copy of the collection you need to enumerate beforehand in order to modify the original collection while enumerating the copied one. Or you don't immediately modify the collection but create some kind of "actions to be taken on the collection"-list for when the enumeration is finished.