C# Class ActivEarth.Competition.Contests.ContestTimeGraph

This class represents a control used to display the time remaining in a contest.
Inheritance: System.Web.UI.UserControl
显示文件 Open project: mlcamilli/ActivEarth

Protected Properties

Property Type Description
_ContestProgress global::EO.Web.ProgressBar
_DisplayGraph global::System.Web.UI.WebControls.Panel
_DisplayProgress global::System.Web.UI.WebControls.Panel
_EndLabel global::System.Web.UI.WebControls.Label
_StartLabel global::System.Web.UI.WebControls.Label

Public Methods

Method Description
PopulateProgressGraph ( ContestTeam firstPlace, float goal, string format ) : void

Sets the prgress towards the goal the top contributor has made.

PopulateProgressGraph ( System.DateTime contestStartDate, System.DateTime contestEndDate ) : void

Sets the progress time has made in the contest.

Method Details

PopulateProgressGraph() public method

Sets the prgress towards the goal the top contributor has made.
public PopulateProgressGraph ( ContestTeam firstPlace, float goal, string format ) : void
firstPlace ActivEarth.Objects.Competition.Contests.ContestTeam The team in first.
goal float The goal of the contest.
format string The format string the goal value is.
return void

PopulateProgressGraph() public method

Sets the progress time has made in the contest.
public PopulateProgressGraph ( System.DateTime contestStartDate, System.DateTime contestEndDate ) : void
contestStartDate System.DateTime The start date of the contest.
contestEndDate System.DateTime The end date of the contest.
return void

Property Details

_ContestProgress protected_oe property

_ContestProgress control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::EO.Web.ProgressBar _ContestProgress
return global::EO.Web.ProgressBar

_DisplayGraph protected_oe property

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

_DisplayProgress protected_oe property

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

_EndLabel protected_oe property

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

_StartLabel protected_oe property

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