C# Класс ActivEarth.Competition.Contests.ContestDisplayTable

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_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