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

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

Creates a new row for the table and poulates it.
private MakeRowForTable ( string contestName, int contestId, Color backColor, Color textColor ) : TableRow
contestName string The name of the contest
contestId int The contest id.
backColor Color The backcolor of the row.
textColor Color The text color of the row.
Результат TableRow
        private TableRow MakeRowForTable(string contestName, int contestId, Color backColor, Color textColor)
        {
            TableRow newRow = new TableRow();
            newRow.BackColor = backColor;
            newRow.Cells.Add(MakeTextCellForRow(contestName, contestId, textColor));
            return newRow;
        }