コード例 #1
0
    public void Disable()
    {
        RadioCreditCard.Enabled                = false;
        RadioCheckByMail.Enabled               = false;
        RadioPayPal.Enabled                    = false;
        RadioPayPalExpress.Enabled             = false;
        RadioPurchaseOrder.Enabled             = false;
        RadioRequestQuote.Enabled              = false;
        RadioMicroPay.Enabled                  = false;
        RadioCod.Enabled                       = false;
        RadioCheckoutByAmazon.Enabled          = false;
        RadioPayPalEmbeddedCheckout.Enabled    = false;
        RadioMoneybookersQuickCheckout.Enabled = false;

        CreditCardPaymentViewForm.Disable();
        SecureNetPaymentView.Disable();
        CheckPaymentView.Disable();
        RequestQuoteView.Disable();
        PurchaseOrderPaymentView.Disable();
        PayPalPaymentView.Disable();
        PayPalExpressView.Disable();
        MicroPayPaymentView.Disable();
        CodPaymentView.Disable();
        CheckOutByAmazonPaymentView.Disable();
        PayPalEmbeddedCheckoutPaymentView.Disable();
        MoneybookersQuickCheckoutPaymentView.Disable();
    }
コード例 #2
0
 public override void Disable()
 {
     this.BillingAddressChoice.Disable();
     if (this.PaymentMethodView != null)
     {
         CreditCardPaymentForm.Disable();
         SecureNetPaymentView.Disable();
         TwoCheckoutPaymentView.Disable();
         CheckPaymentView.Disable();
         RequestQuoteView.Disable();
         PayPalPaymentView.Disable();
         PurchaseOrderPaymentView.Disable();
         PayPalExpressView.Disable();
         MicroPayPaymentView.Disable();
         CheckOutByAmazonPaymentView.Disable();
         PayPalEmbeddedCheckoutPaymentView.Disable();
         MoneybookersQuickCheckoutPaymentView.Disable();
         ECheckPaymentView.Disable();
         WorldPayPaymentView.Disable();
         if (IsFirstPay)
         {
             this.FirstPayPaymentForm.Disable();
         }
     }
 }