C# 클래스 ActivEarth.SiteMaster

This class represent the Site Master page, used after user logged in.
상속: System.Web.UI.MasterPage
파일 보기 프로젝트 열기: mlcamilli/ActivEarth

보호된 프로퍼티들

프로퍼티 타입 설명
CityNotFound global::System.Web.UI.WebControls.Label
DisplayWeatherControl1 global::ActivEarth.Objects.Profile.DisplayWeatherControl
HeadContent global::System.Web.UI.WebControls.ContentPlaceHolder
MainContent global::System.Web.UI.WebControls.ContentPlaceHolder
PostButton global::System.Web.UI.WebControls.Button
RecentActivityTable global::ActivEarth.Account.WallDisplay
_activityScoreImage global::System.Web.UI.WebControls.Image
hlEditProfile global::System.Web.UI.WebControls.HyperLink
hlLogin global::System.Web.UI.WebControls.HyperLink
hlRegister global::System.Web.UI.WebControls.HyperLink
lbLogOut global::System.Web.UI.WebControls.LinkButton
lblActivityScore global::System.Web.UI.WebControls.Label
lblGreenScore global::System.Web.UI.WebControls.Label
lblStatGasSavings global::System.Web.UI.WebControls.Label
lblUserLoggedIn global::System.Web.UI.WebControls.Label
lblUserName global::System.Web.UI.WebControls.Label
txbMessage global::System.Web.UI.WebControls.TextBox
txbTitle global::System.Web.UI.WebControls.TextBox
userIconImage global::System.Web.UI.WebControls.Image

공개 메소드들

메소드 설명
getUserImageUrl ( User user, string imageSizeName ) : string

Returns the relative url for an image. Current image sizes are: - icon: a 150x150 image for the user's profile

보호된 메소드들

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

Prepares the display of the User's Image, Name, Recent Activity, Weather information, and Statistics when the page loads.

PostMessage ( object sender, EventArgs e ) : void

Method called when the Post Button is clicked. Adds a Message to the User's Recent Activity using the text in txbTitle and txbMessage and including a time stamp.

UserLogOut ( object sender, EventArgs e ) : void

Method called when the User clicks the Log Out link. Removes the Users session information and redirects to the Home Page.

메소드 상세

Page_Load() 보호된 메소드

Prepares the display of the User's Image, Name, Recent Activity, Weather information, and Statistics when the page loads.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

PostMessage() 보호된 메소드

Method called when the Post Button is clicked. Adds a Message to the User's Recent Activity using the text in txbTitle and txbMessage and including a time stamp.
protected PostMessage ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

UserLogOut() 보호된 메소드

Method called when the User clicks the Log Out link. Removes the Users session information and redirects to the Home Page.
protected UserLogOut ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

getUserImageUrl() 공개 메소드

Returns the relative url for an image. Current image sizes are: - icon: a 150x150 image for the user's profile
public getUserImageUrl ( User user, string imageSizeName ) : string
user ActivEarth.Objects.Profile.User The user to retrieve the image for.
imageSizeName string The name of the image size to retrieve.
리턴 string

프로퍼티 상세

CityNotFound 보호되어 있는 프로퍼티

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

DisplayWeatherControl1 보호되어 있는 프로퍼티

DisplayWeatherControl1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Objects.Profile.DisplayWeatherControl DisplayWeatherControl1
리턴 global::ActivEarth.Objects.Profile.DisplayWeatherControl

HeadContent 보호되어 있는 프로퍼티

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

MainContent 보호되어 있는 프로퍼티

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

PostButton 보호되어 있는 프로퍼티

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

RecentActivityTable 보호되어 있는 프로퍼티

RecentActivityTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Account.WallDisplay RecentActivityTable
리턴 global::ActivEarth.Account.WallDisplay

_activityScoreImage 보호되어 있는 프로퍼티

_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
리턴 global::System.Web.UI.WebControls.Image

hlEditProfile 보호되어 있는 프로퍼티

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

hlLogin 보호되어 있는 프로퍼티

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

hlRegister 보호되어 있는 프로퍼티

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

lbLogOut 보호되어 있는 프로퍼티

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

lblActivityScore 보호되어 있는 프로퍼티

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

lblGreenScore 보호되어 있는 프로퍼티

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

lblStatGasSavings 보호되어 있는 프로퍼티

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

lblUserLoggedIn 보호되어 있는 프로퍼티

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

lblUserName 보호되어 있는 프로퍼티

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

txbMessage 보호되어 있는 프로퍼티

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

txbTitle 보호되어 있는 프로퍼티

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

userIconImage 보호되어 있는 프로퍼티

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