This is probably one of those crazy simple things, but it's been a long day and I'm having trouble figuring it out.

I loop through all of the buttons in a panel. If the button's name is not the name of the btnFunction, then I need to add that control to a list. But it adds the function button either way.

Code:
For Each c As Control In Me.pnKybdNormal.Controls
            If TypeOf c Is Button Then
                If Not CType(c, Button).Name = btnFunction.Name Then
                     'Everything works correctly, except the btnFunction isn't skipped
                End If
            End If
        Next
Anyone know what I'm doing wrong here?