0

I have 10 combo boxes in a tab control on a form. I want to select all on form load event as follows-

var comboBoxes = this.Controls.OfType<ComboBox>().ToList();

But it selects only one. Any help?

s.k.paul
  • 6,663
  • 24
  • 88
  • 159

0 Answers0