public void PopulateMessageTable(List<ActivEarth.Objects.Groups.Message> messages, Color[] backColors, Color[] textColors)
{
int colorIndex = 0;
int textIndex = 0;
messages.Reverse();
foreach (ActivEarth.Objects.Groups.Message message in messages)
{
_wall.Rows.Add(MakeRowForTable(message, backColors[colorIndex], textColors[textIndex]));
colorIndex++;
if (colorIndex == backColors.Length)
{
colorIndex = 0;
}
textIndex++;
if (textIndex == textColors.Length)
{
textIndex = 0;
}
}
messages.Reverse();
}