C# Class ActivEarth.Competition.Contests.DisplayContestPage

This class represents the display Contest page in the ActivEarth website.
Inheritance: System.Web.UI.Page
显示文件 Open project: mlcamilli/ActivEarth

Protected Properties

Property Type Description
ActivityScoreImage global::System.Web.UI.WebControls.Image
ContestDescription global::System.Web.UI.WebControls.Label
ContestLeaderBoard global::ActivEarth.Competition.Contests.LeaderBoard
ContestName global::System.Web.UI.WebControls.Label
ContestSignUpControls global::System.Web.UI.WebControls.Table
ContestSignUpPanel global::System.Web.UI.WebControls.Panel
ContestStatsTable global::System.Web.UI.WebControls.Table
CurrentTeamsSignedUp global::ActivEarth.Competition.Contests.TeamDisplayTable
GroupSelection global::System.Web.UI.WebControls.DropDownList
NoTeamsMessage global::System.Web.UI.WebControls.Label
ProgressGraph global::ActivEarth.Competition.Contests.ContestTimeGraph
SignUpErrorMessage global::System.Web.UI.WebControls.Label
TotalRewardLabel global::System.Web.UI.WebControls.Label
TotalTeamsLabel global::System.Web.UI.WebControls.Label
btnJoinContest global::System.Web.UI.WebControls.Button
btnLeaveContest global::System.Web.UI.WebControls.Button

Protected Methods

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

Adds a team to the contest.

LeaveContest ( object sender, EventArgs e ) : void

Removes a team from a contest.

Page_Load ( object sender, EventArgs e ) : void

Loads the page.

Private Methods

Method Description
LoadContestSignupData ( Contest contest, bool isCompeting ) : void

Loads content specific to contest Signup.

LoadDataOnPage ( ) : void

Loads the content on the page.

Method Details

JoinContest() protected method

Adds a team to the contest.
protected JoinContest ( object sender, EventArgs e ) : void
sender object Sender of the event.
e System.EventArgs Event args.
return void

LeaveContest() protected method

Removes a team from a contest.
protected LeaveContest ( object sender, EventArgs e ) : void
sender object Sender of the event.
e System.EventArgs Event args.
return void

Page_Load() protected method

Loads the page.
protected Page_Load ( object sender, EventArgs e ) : void
sender object Sender of the event.
e System.EventArgs The Event Args.
return void

Property Details

ActivityScoreImage protected_oe property

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

ContestDescription protected_oe property

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

ContestLeaderBoard protected_oe property

ContestLeaderBoard control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Competition.Contests.LeaderBoard ContestLeaderBoard
return global::ActivEarth.Competition.Contests.LeaderBoard

ContestName protected_oe property

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

ContestSignUpControls protected_oe property

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

ContestSignUpPanel protected_oe property

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

ContestStatsTable protected_oe property

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

CurrentTeamsSignedUp protected_oe property

CurrentTeamsSignedUp control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Competition.Contests.TeamDisplayTable CurrentTeamsSignedUp
return global::ActivEarth.Competition.Contests.TeamDisplayTable

GroupSelection protected_oe property

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

NoTeamsMessage protected_oe property

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

ProgressGraph protected_oe property

ProgressGraph control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Competition.Contests.ContestTimeGraph ProgressGraph
return global::ActivEarth.Competition.Contests.ContestTimeGraph

SignUpErrorMessage protected_oe property

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

TotalRewardLabel protected_oe property

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

TotalTeamsLabel protected_oe property

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

btnJoinContest protected_oe property

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

btnLeaveContest protected_oe property

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