'Declaration Protected Read Property TabCount As Integer
Dim tabCount As Integer = tabbedPane.TabCount