C# 클래스 ActivEarth.Groups.GroupsDisplayTable

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
PopulateGroupsTable ( List groups, Color backColors, Color textColors ) : void

Formats the table of Groups based on the given list of Groups and colors.

보호된 메소드들

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

This is a component, so no work is required when it loads. The population of the table is handled by the page ASP.

비공개 메소드들

메소드 설명
MakeButtonCellForRow ( int groupID, int leaveOrJoin ) : TableCell

Formats a cell to add to the row with a button allowing the User to join the Group if they are not a Member and to leave the Group if the User is not a Member of the Group.

MakeLinkCellForRow ( string text, int groupId, Color textColor ) : TableCell

Formats a cell to add to the row containing the given text linking to the given Group ID.

MakeRowForTable ( ActivEarth group, Color backColor, Color textColor ) : TableRow

Formats a single row to the table using the given Groups.

MakeTextCellForRow ( string text, Color textColor ) : TableCell

Formats a cell to add to the row containing the given text.

MembersContains ( List members, User user ) : Boolean

Determines whether or not the given user is in the list of Members.

joinClick ( object sender, EventArgs e ) : void

Method called when a Join Button is clicked allowing the User to join the Group.

quitClick ( object sender, EventArgs e ) : void

Method called when a Leave Button is clicked allowing the User to leave the Group.

메소드 상세

Page_Load() 보호된 메소드

This is a component, so no work is required when it loads. The population of the table is handled by the page ASP.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

PopulateGroupsTable() 공개 메소드

Formats the table of Groups based on the given list of Groups and colors.
public PopulateGroupsTable ( List groups, Color backColors, Color textColors ) : void
groups List The list of messages to display in the table
backColors Color The list of alternating background colors to display in the table
textColors Color The list of alternating text colors to display in the table
리턴 void

프로퍼티 상세

_groupsTable 보호되어 있는 프로퍼티

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