C# Класс PetShop.UI.CheckOut

Показать файл Открыть проект

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

Свойство Тип Описание
CartListOrdered global::PetShop.UI.Controls.CartList
FinishButton global::System.Web.UI.WebControls.LinkButton
FinishPreviousButton global::System.Web.UI.WebControls.LinkButton
ItemsOnBackOrder global::System.Web.UI.WebControls.Literal
LinkButton1 global::System.Web.UI.WebControls.LinkButton
StartNextButton global::System.Web.UI.WebControls.LinkButton
StepNextButton global::System.Web.UI.WebControls.LinkButton
StepNextButton2 global::System.Web.UI.WebControls.LinkButton
StepPreviousButton global::System.Web.UI.WebControls.LinkButton
billingConfirm global::PetShop.UI.Controls.AddressConfirm
billingForm global::PetShop.UI.Controls.AddressForm
chkShipToBilling global::System.Web.UI.WebControls.CheckBox
lblMsg global::System.Web.UI.WebControls.Label
listCCType global::System.Web.UI.WebControls.DropDownList
ltlCreditCard global::System.Web.UI.WebControls.Literal
ltlCreditCardComplete global::System.Web.UI.WebControls.Literal
ltlTotal global::System.Web.UI.WebControls.Literal
ltlTotalComplete global::System.Web.UI.WebControls.Literal
panFicusStep1 global::System.Web.UI.WebControls.Panel
panFicusStep2 global::System.Web.UI.WebControls.Panel
panFicusStep3 global::System.Web.UI.WebControls.Panel
panFicusStep4 global::System.Web.UI.WebControls.Panel
shippingConfirm global::PetShop.UI.Controls.AddressConfirm
shippingForm global::PetShop.UI.Controls.AddressForm
txtCCNumber global::System.Web.UI.WebControls.TextBox
txtExpDate global::System.Web.UI.WebControls.TextBox
valCCNumber global::System.Web.UI.WebControls.RequiredFieldValidator
valCCNumber1 global::System.Web.UI.WebControls.RegularExpressionValidator
valExpDate global::System.Web.UI.WebControls.RequiredFieldValidator
valExpDate1 global::System.Web.UI.WebControls.RegularExpressionValidator
valExpDate2 global::System.Web.UI.WebControls.CustomValidator
wzdCheckOut global::System.Web.UI.WebControls.Wizard
wzdStep1 global::System.Web.UI.WebControls.WizardStep
wzdStep2 global::System.Web.UI.WebControls.WizardStep
wzdStep3 global::System.Web.UI.WebControls.WizardStep
wzdStep4 global::System.Web.UI.WebControls.WizardStep
wzdStep5 global::System.Web.UI.WebControls.WizardStep

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

Метод Описание
Page_Load ( object sender, EventArgs e ) : void
ServerValidate ( object source, ServerValidateEventArgs value ) : void

Custom validator to check CC expiration date

chkShipToBilling_CheckedChanged ( object sender, EventArgs e ) : void

Handler for "Ship to Billing Addredd" checkbox. Prefill/Clear shipping address form.

wzdCheckOut_ActiveStePChanged ( object sender, EventArgs e ) : void

Changing Wiszard steps

wzdCheckOut_FinishButtonClick ( object sender, WizardNavigationEventArgs e ) : void

Process the order

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

Метод Описание
GetCreditCard ( ) : CreditCard

Create CreditCardInfo object from user input

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

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

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Custom validator to check CC expiration date
protected ServerValidate ( object source, ServerValidateEventArgs value ) : void
source object
value ServerValidateEventArgs
Результат void

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

Handler for "Ship to Billing Addredd" checkbox. Prefill/Clear shipping address form.
protected chkShipToBilling_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Changing Wiszard steps
protected wzdCheckOut_ActiveStePChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

Process the order
protected wzdCheckOut_FinishButtonClick ( object sender, WizardNavigationEventArgs e ) : void
sender object
e WizardNavigationEventArgs
Результат void

Описание свойств

CartListOrdered защищенное свойство

CartListOrdered control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.CartList CartListOrdered
Результат global::PetShop.UI.Controls.CartList

FinishButton защищенное свойство

FinishButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton FinishButton
Результат global::System.Web.UI.WebControls.LinkButton

FinishPreviousButton защищенное свойство

FinishPreviousButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton FinishPreviousButton
Результат global::System.Web.UI.WebControls.LinkButton

ItemsOnBackOrder защищенное свойство

ItemsOnBackOrder control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ItemsOnBackOrder
Результат global::System.Web.UI.WebControls.Literal

LinkButton1 защищенное свойство

LinkButton1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton LinkButton1
Результат global::System.Web.UI.WebControls.LinkButton

StartNextButton защищенное свойство

StartNextButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton StartNextButton
Результат global::System.Web.UI.WebControls.LinkButton

StepNextButton защищенное свойство

StepNextButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton StepNextButton
Результат global::System.Web.UI.WebControls.LinkButton

StepNextButton2 защищенное свойство

StepNextButton2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton StepNextButton2
Результат global::System.Web.UI.WebControls.LinkButton

StepPreviousButton защищенное свойство

StepPreviousButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton StepPreviousButton
Результат global::System.Web.UI.WebControls.LinkButton

billingConfirm защищенное свойство

billingConfirm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressConfirm billingConfirm
Результат global::PetShop.UI.Controls.AddressConfirm

billingForm защищенное свойство

billingForm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressForm billingForm
Результат global::PetShop.UI.Controls.AddressForm

chkShipToBilling защищенное свойство

chkShipToBilling control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkShipToBilling
Результат global::System.Web.UI.WebControls.CheckBox

lblMsg защищенное свойство

lblMsg control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblMsg
Результат global::System.Web.UI.WebControls.Label

listCCType защищенное свойство

listCCType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList listCCType
Результат global::System.Web.UI.WebControls.DropDownList

ltlCreditCard защищенное свойство

ltlCreditCard control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ltlCreditCard
Результат global::System.Web.UI.WebControls.Literal

ltlCreditCardComplete защищенное свойство

ltlCreditCardComplete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ltlCreditCardComplete
Результат global::System.Web.UI.WebControls.Literal

ltlTotal защищенное свойство

ltlTotal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ltlTotal
Результат global::System.Web.UI.WebControls.Literal

ltlTotalComplete защищенное свойство

ltlTotalComplete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ltlTotalComplete
Результат global::System.Web.UI.WebControls.Literal

panFicusStep1 защищенное свойство

panFicusStep1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel panFicusStep1
Результат global::System.Web.UI.WebControls.Panel

panFicusStep2 защищенное свойство

panFicusStep2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel panFicusStep2
Результат global::System.Web.UI.WebControls.Panel

panFicusStep3 защищенное свойство

panFicusStep3 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel panFicusStep3
Результат global::System.Web.UI.WebControls.Panel

panFicusStep4 защищенное свойство

panFicusStep4 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel panFicusStep4
Результат global::System.Web.UI.WebControls.Panel

shippingConfirm защищенное свойство

shippingConfirm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressConfirm shippingConfirm
Результат global::PetShop.UI.Controls.AddressConfirm

shippingForm защищенное свойство

shippingForm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressForm shippingForm
Результат global::PetShop.UI.Controls.AddressForm

txtCCNumber защищенное свойство

txtCCNumber control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCCNumber
Результат global::System.Web.UI.WebControls.TextBox

txtExpDate защищенное свойство

txtExpDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtExpDate
Результат global::System.Web.UI.WebControls.TextBox

valCCNumber защищенное свойство

valCCNumber control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator valCCNumber
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

valCCNumber1 защищенное свойство

valCCNumber1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator valCCNumber1
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

valExpDate защищенное свойство

valExpDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator valExpDate
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

valExpDate1 защищенное свойство

valExpDate1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator valExpDate1
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

valExpDate2 защищенное свойство

valExpDate2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator valExpDate2
Результат global::System.Web.UI.WebControls.CustomValidator

wzdCheckOut защищенное свойство

wzdCheckOut control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Wizard wzdCheckOut
Результат global::System.Web.UI.WebControls.Wizard

wzdStep1 защищенное свойство

wzdStep1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.WizardStep wzdStep1
Результат global::System.Web.UI.WebControls.WizardStep

wzdStep2 защищенное свойство

wzdStep2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.WizardStep wzdStep2
Результат global::System.Web.UI.WebControls.WizardStep

wzdStep3 защищенное свойство

wzdStep3 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.WizardStep wzdStep3
Результат global::System.Web.UI.WebControls.WizardStep

wzdStep4 защищенное свойство

wzdStep4 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.WizardStep wzdStep4
Результат global::System.Web.UI.WebControls.WizardStep

wzdStep5 защищенное свойство

wzdStep5 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.WizardStep wzdStep5
Результат global::System.Web.UI.WebControls.WizardStep