thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
411 stars 224 forks source link

How to select all MetroComboBox in my form? #83

Open rlapuz94 opened 7 years ago

rlapuz94 commented 7 years ago

Hi,

just wondering how to select all MetroComboBox inside my form. I normally do this method on a normal Form (without metroform):

foreach (Control c in Controls)
        {
            if (c is ComboBox)
                counter++;

        }

I want to get a number of MetroComboBox in my form. Please help