bool HasChild(int index)
{
// Flag that tell us if the current band
// has a child window
Control childControl = null;
if ( index != -1 && bands.Count > 0 && index >= 0 && index < bands.Count)
{
OutlookBarBand band = bands[index];
childControl = band.ChildControl;
}
return childControl != null;
}