title: Performance question about iterating controls in vb .net
body: <p>I am implementing a chat client in an application. Conversation windows are tabbed and I have to alert the user for new messages. My temporary solution was like this:</p>
  
  <p>There is a timer with 500ms interval ( always running ).</p>
  
  <pre><code>    For Each t In SuperTabControl3.Tabs
          If TypeOf t Is SuperTabItem Then
              If t.Tag = "1" Then
                  If t.PredefinedColor = eTabItemColor.Default Then
                      t.PredefinedColor = eTabItemColor.Lemon
                  Else
                      t.PredefinedColor = eTabItemColor.Default
                  End If
              End If
          End If
      Next
  </code></pre>
  
  <p>Will this cause performance issues? I have no possibility to try on an older computer but they will use this application on slow pc's.</p>
  
  <p>Anyone have an idea how to do that kind of notification?</p>