示例#1
0
 protected override void InitializeControls(GenericContainer container)
 {
     if (CheckIfConfiguredShowErrorIfNot())
     {
         HideShippingRelatedInfoIfCartDoesntHaveShippableItems();
         List <CountryElement> countries = CountryHelper.GetCountriesList();
         BindCountryDropDown(countries, CountryShipping);
         BindCountryDropDown(countries, CountryBilling);
         BindStateDropDown(StateShipping);
         BindStateDropDown(StateBilling);
         BindUserProfileInformation();
         BindShippingMethods(ShippingMethodsList);
         BindPreviewGrid(ShoppingCartGrid);
         AttachPlacerOrderButtonEvent();
     }
 }