foreach var value in ExcursionPanel Controls OfType ComboBox value Sel

1
2
3
4
foreach (var value in ExcursionPanel.Controls.OfType<ComboBox>())
{
value.SelectedIndexChanged += cBoxIndexSelectedExcursion;
}