C# 클래스 ActivEarth.Account.EditProfile

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

보호된 프로퍼티들

프로퍼티 타입 설명
btnCancel global::System.Web.UI.WebControls.Button
btnSaveChanges global::System.Web.UI.WebControls.Button
ddlGender global::System.Web.UI.WebControls.DropDownList
deletePhoto global::System.Web.UI.WebControls.CheckBox
deletePhotoLabel global::System.Web.UI.WebControls.Label
lblUserName global::System.Web.UI.WebControls.Label
pictureFile global::System.Web.UI.WebControls.FileUpload
pictureLabel global::System.Web.UI.WebControls.Label
pictureValidator global::System.Web.UI.WebControls.RegularExpressionValidator
tbAge global::System.Web.UI.WebControls.TextBox
tbCity global::System.Web.UI.WebControls.TextBox
tbEmail global::System.Web.UI.WebControls.TextBox
tbFirstName global::System.Web.UI.WebControls.TextBox
tbHeight global::System.Web.UI.WebControls.TextBox
tbLastName global::System.Web.UI.WebControls.TextBox
tbState global::System.Web.UI.WebControls.TextBox
tbWeight global::System.Web.UI.WebControls.TextBox

보호된 메소드들

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

Cancel button click

Page_Load ( object sender, EventArgs e ) : void

Load the page

SaveUserProfile ( object sender, EventArgs e ) : void

Save button click

비공개 메소드들

메소드 설명
createSquarePhotoSize ( string originalPath, string sizeName, int userID, int squareImgLen ) : void

Creates a square cut of the image at originalPath and places it in /Images/Account/UserProfile/sizeName/*subdirectory*/userID.png

deletePhotos ( User user ) : void

Delete profile photo

getSizedIconPath ( int userID, string sizeName, string fileExtension ) : string

Gets the absolute path to a particular image of named size. Current sizes: - icon: a 150x150 icon for the user

getUploadPath ( int userID, string fileExtension ) : string

Gets the absolute path to the upload directory for user photos.

imageDirPath ( string dirName ) : string

Gets the absolute path to an user image directory on the server.

resizeIcon ( string originalPath, int userID ) : void

Creates an image of size "icon".

userImageDirPath ( string dirName, int userID ) : string

Like imageDirPath except will give the exact directory the users image is in.

메소드 상세

CancelSaveUserProfile() 보호된 메소드

Cancel button click
protected CancelSaveUserProfile ( object sender, EventArgs e ) : void
sender object Object that requested the page load
e EventArgs The event arguments.
리턴 void

Page_Load() 보호된 메소드

Load the page
protected Page_Load ( object sender, EventArgs e ) : void
sender object Object that requested the page load
e EventArgs The event arguments.
리턴 void

SaveUserProfile() 보호된 메소드

Save button click
protected SaveUserProfile ( object sender, EventArgs e ) : void
sender object Object that requested the page load
e EventArgs The event arguments.
리턴 void

프로퍼티 상세

btnCancel 보호되어 있는 프로퍼티

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

btnSaveChanges 보호되어 있는 프로퍼티

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

ddlGender 보호되어 있는 프로퍼티

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

deletePhoto 보호되어 있는 프로퍼티

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

deletePhotoLabel 보호되어 있는 프로퍼티

deletePhotoLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label deletePhotoLabel
리턴 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

pictureFile 보호되어 있는 프로퍼티

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

pictureLabel 보호되어 있는 프로퍼티

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

pictureValidator 보호되어 있는 프로퍼티

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

tbAge 보호되어 있는 프로퍼티

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

tbCity 보호되어 있는 프로퍼티

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

tbEmail 보호되어 있는 프로퍼티

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

tbFirstName 보호되어 있는 프로퍼티

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

tbHeight 보호되어 있는 프로퍼티

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

tbLastName 보호되어 있는 프로퍼티

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

tbState 보호되어 있는 프로퍼티

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

tbWeight 보호되어 있는 프로퍼티

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