public void Enable() { RadioCreditCard.Enabled = true; RadioCheckByMail.Enabled = true; RadioPayPal.Enabled = true; RadioPayPalExpress.Enabled = true; RadioPurchaseOrder.Enabled = true; RadioRequestQuote.Enabled = true; RadioMicroPay.Enabled = true; RadioCod.Enabled = true; RadioCheckoutByAmazon.Enabled = true; RadioPayPalEmbeddedCheckout.Enabled = true; RadioMoneybookersQuickCheckout.Enabled = true; CreditCardPaymentViewForm.Enable(); SecureNetPaymentView.Enable(); CheckPaymentView.Enable(); RequestQuoteView.Enable(); PurchaseOrderPaymentView.Enable(); PayPalPaymentView.Enable(); PayPalExpressView.Enable(); MicroPayPaymentView.Enable(); CodPaymentView.Enable(); CheckOutByAmazonPaymentView.Enable(); MoneybookersQuickCheckoutPaymentView.Enable(); if (this.PaymentModel.ActivePaymentMethod != null && this.PaymentModel.ActivePaymentMethod.PaymentType == PaymentType.PayPalEmbeddedCheckout) { PayPalEmbeddedCheckoutPaymentView.Enable(); } }
public override void Enable() { this.BillingAddressChoice.Enable(); if (this.PaymentMethodView != null) { CreditCardPaymentForm.Enable(); SecureNetPaymentView.Enable(); TwoCheckoutPaymentView.Enable(); CheckPaymentView.Enable(); RequestQuoteView.Enable(); PayPalPaymentView.Enable(); PurchaseOrderPaymentView.Enable(); PayPalExpressView.Enable(); MicroPayPaymentView.Enable(); CheckOutByAmazonPaymentView.Enable(); PayPalEmbeddedCheckoutPaymentView.Enable(); MoneybookersQuickCheckoutPaymentView.Enable(); ECheckPaymentView.Enable(); WorldPayPaymentView.Enable(); if (IsFirstPay) { this.FirstPayPaymentForm.Enable(); } } }