C# Класс ActivEarth.SiteMaster

This class represent the Site Master page, used after user logged in.
Наследование: System.Web.UI.MasterPage
Показать файл Открыть проект

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

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