C# Класс contact, ReSharperCourse

Наследование: System.Web.UI.Page
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCookie void
SendEmail bool
SetCookie void
SetFocus void
btnSend_Click void

Открытые методы

Метод Описание
GetCallbackResult ( ) : string
RaiseCallbackEvent ( string eventArgument ) : void

Защищенные методы

Метод Описание
OnLoad ( EventArgs e ) : void

Приватные методы

Метод Описание
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.

Описание методов

GetCallbackResult() публичный Метод

public GetCallbackResult ( ) : string
Результат string

OnLoad() защищенный Метод

protected OnLoad ( EventArgs e ) : void
e EventArgs
Результат void

RaiseCallbackEvent() публичный Метод

public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string
Результат void