ActivEarth.Competition.Contests.TeamDisplayTable.MakeRowForTable C# (CSharp) Метод

MakeRowForTable() приватный Метод

Creates a row for the team table.
private MakeRowForTable ( string teamName, Color backColor, Color textColor ) : TableRow
teamName string The name of team to display.
backColor Color The backcolor of the row.
textColor Color The text color of the row.
Результат TableRow
        private TableRow MakeRowForTable(string teamName, Color backColor, Color textColor)
        {
            TableRow newRow = new TableRow();
            newRow.BackColor = backColor;
            newRow.Cells.Add(MakeTextCellForRow(teamName, textColor));
            return newRow;
        }