C# 클래스 ActivEarth.Competition.Contests.ContestDisplayTable

파일 보기 프로젝트 열기: mlcamilli/ActivEarth

보호된 프로퍼티들

프로퍼티 타입 설명
_contestTable global::System.Web.UI.WebControls.Table

공개 메소드들

메소드 설명
PopulateContestTable ( List contests, List ids, Color backColors, Color textColors ) : void

Adds a list of contests to the table.

보호된 메소드들

메소드 설명
Page_Load ( object sender, EventArgs e ) : void

Loads the page.

비공개 메소드들

메소드 설명
MakeRowForTable ( string contestName, int contestId, Color backColor, Color textColor ) : TableRow

Creates a new row for the table and poulates it.

MakeTextCellForRow ( string name, int contestId, Color textColor ) : TableCell

Makes a table cell which contains the hyperlink to a contest page.

메소드 상세

Page_Load() 보호된 메소드

Loads the page.
protected Page_Load ( object sender, EventArgs e ) : void
sender object Object that requested the page load.
e EventArgs The event arguments.
리턴 void

PopulateContestTable() 공개 메소드

Adds a list of contests to the table.
public PopulateContestTable ( List contests, List ids, Color backColors, Color textColors ) : void
contests List The contest names to display.
ids List The contest ids of the contests.
backColors Color The colors used for the background of rows in the table.
textColors Color The color of the text used in the table.
리턴 void

프로퍼티 상세

_contestTable 보호되어 있는 프로퍼티

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