title: How to get control index in WinForms?
body: <p>I have a Panel with a collection of controls in it.  How can I get the index of a specific control when iterating through them?  I'm using <code>foreach</code> to iterate, but there's no Index property.  Should I use <code>for x = 0...</code> and return <code>x</code> when my match is made, or what?</p>