C# Class contact, ReSharperCourse

Inheritance: System.Web.UI.Page
Afficher le fichier Open project: rasmuskl/ReSharperCourse Class Usage Examples

Private Properties

Свойство Type Description
GetCookie void
SendEmail bool
SetCookie void
SetFocus void
btnSend_Click void

Méthodes publiques

Méthode Description
GetCallbackResult ( ) : string
RaiseCallbackEvent ( string eventArgument ) : void

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

Private Methods

Méthode Description
GetCookie ( ) : void

Gets the cookie with visitor information if any is set. Then fills the contact information fields in the form.

SendEmail ( string email, string name, string subject, string message ) : bool
SetCookie ( ) : void

Sets a cookie with the entered visitor information so it can be prefilled on next visit.

SetFocus ( ) : void

Sets the focus on the first empty textbox.

btnSend_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSend control.

Method Details

GetCallbackResult() public méthode

public GetCallbackResult ( ) : string
Résultat string

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

RaiseCallbackEvent() public méthode

public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string
Résultat void