C# Class ActivEarth.Competition.Contests.TeamDisplayTable

Show file Open project: mlcamilli/ActivEarth

Protected Properties

Property Type Description
TeamTable global::System.Web.UI.WebControls.Table

Public Methods

Method Description
PopulateTeamTable ( List teams, Color backColors, Color textColors ) : void

Populates the Team table with the team names that are given.

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
MakeRowForTable ( string teamName, Color backColor, Color textColor ) : TableRow

Creates a row for the team table.

MakeTextCellForRow ( string name, Color textColor ) : TableCell

Creates a new cell for a table with the name of the team.

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

PopulateTeamTable() public method

Populates the Team table with the team names that are given.
public PopulateTeamTable ( List teams, Color backColors, Color textColors ) : void
teams List The teams to display.
backColors Color The backcolors to use for rows.
textColors Color The text colors used for rows.
return void

Property Details

TeamTable protected property

TeamTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Table TeamTable
return global::System.Web.UI.WebControls.Table