C# Class PetShop.UI.CheckOut

Afficher le fichier Open project: netTiers/netTiers

Protected Properties

Свойство Type Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
GetCreditCard ( ) : CreditCard

Create CreditCardInfo object from user input

Method Details

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

ServerValidate() protected méthode

Custom validator to check CC expiration date
protected ServerValidate ( object source, ServerValidateEventArgs value ) : void
source object
value ServerValidateEventArgs
Résultat void

chkShipToBilling_CheckedChanged() protected méthode

Handler for "Ship to Billing Addredd" checkbox. Prefill/Clear shipping address form.
protected chkShipToBilling_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

wzdCheckOut_ActiveStePChanged() protected méthode

Changing Wiszard steps
protected wzdCheckOut_ActiveStePChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

wzdCheckOut_FinishButtonClick() protected méthode

Process the order
protected wzdCheckOut_FinishButtonClick ( object sender, WizardNavigationEventArgs e ) : void
sender object
e WizardNavigationEventArgs
Résultat void

Property Details

CartListOrdered protected_oe property

CartListOrdered control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.CartList CartListOrdered
Résultat global::PetShop.UI.Controls.CartList

FinishButton protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

FinishPreviousButton protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

ItemsOnBackOrder protected_oe property

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
Résultat global::System.Web.UI.WebControls.Literal

LinkButton1 protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

StartNextButton protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

StepNextButton protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

StepNextButton2 protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

StepPreviousButton protected_oe property

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
Résultat global::System.Web.UI.WebControls.LinkButton

billingConfirm protected_oe property

billingConfirm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressConfirm billingConfirm
Résultat global::PetShop.UI.Controls.AddressConfirm

billingForm protected_oe property

billingForm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressForm billingForm
Résultat global::PetShop.UI.Controls.AddressForm

chkShipToBilling protected_oe property

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
Résultat global::System.Web.UI.WebControls.CheckBox

lblMsg protected_oe property

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
Résultat global::System.Web.UI.WebControls.Label

listCCType protected_oe property

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
Résultat global::System.Web.UI.WebControls.DropDownList

ltlCreditCard protected_oe property

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
Résultat global::System.Web.UI.WebControls.Literal

ltlCreditCardComplete protected_oe property

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
Résultat global::System.Web.UI.WebControls.Literal

ltlTotal protected_oe property

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
Résultat global::System.Web.UI.WebControls.Literal

ltlTotalComplete protected_oe property

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
Résultat global::System.Web.UI.WebControls.Literal

panFicusStep1 protected_oe property

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
Résultat global::System.Web.UI.WebControls.Panel

panFicusStep2 protected_oe property

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
Résultat global::System.Web.UI.WebControls.Panel

panFicusStep3 protected_oe property

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
Résultat global::System.Web.UI.WebControls.Panel

panFicusStep4 protected_oe property

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
Résultat global::System.Web.UI.WebControls.Panel

shippingConfirm protected_oe property

shippingConfirm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressConfirm shippingConfirm
Résultat global::PetShop.UI.Controls.AddressConfirm

shippingForm protected_oe property

shippingForm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::PetShop.UI.Controls.AddressForm shippingForm
Résultat global::PetShop.UI.Controls.AddressForm

txtCCNumber protected_oe property

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
Résultat global::System.Web.UI.WebControls.TextBox

txtExpDate protected_oe property

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
Résultat global::System.Web.UI.WebControls.TextBox

valCCNumber protected_oe property

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
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

valCCNumber1 protected_oe property

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
Résultat global::System.Web.UI.WebControls.RegularExpressionValidator

valExpDate protected_oe property

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
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

valExpDate1 protected_oe property

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
Résultat global::System.Web.UI.WebControls.RegularExpressionValidator

valExpDate2 protected_oe property

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
Résultat global::System.Web.UI.WebControls.CustomValidator

wzdCheckOut protected_oe property

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
Résultat global::System.Web.UI.WebControls.Wizard

wzdStep1 protected_oe property

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
Résultat global::System.Web.UI.WebControls.WizardStep

wzdStep2 protected_oe property

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
Résultat global::System.Web.UI.WebControls.WizardStep

wzdStep3 protected_oe property

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
Résultat global::System.Web.UI.WebControls.WizardStep

wzdStep4 protected_oe property

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
Résultat global::System.Web.UI.WebControls.WizardStep

wzdStep5 protected_oe property

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
Résultat global::System.Web.UI.WebControls.WizardStep