Пример #1
0
 public SelectBillingOfferStep(Wizard owner, AccountManagementWizardState state)
     : base(owner, state, false)
 {
     this._helper = new BillingOfferHelper();
     this._helper.PropertyChanged += new PropertyChangedEventHandler(this.HelperPropertyChanged);
     this._offerTypes              = EBillingOfferType.Unknown;
     this.SetDescription();
     this.RequireSignIn = true;
     this.Initialize(null);
 }
Пример #2
0
 public ConfirmationStep(Wizard owner, AccountManagementWizardState state, bool parent)
     : base(owner, state, parent)
 {
     this.Description      = Shell.LoadString(StringId.IDS_CONFIRM_SUBSCRIPTION_HEADER);
     this.NextTextOverride = Shell.LoadString(StringId.IDS_BILLING_CONTINUE);
     this._bulletItems     = null;
     this._offerType       = EBillingOfferType.Unknown;
     this._offerId         = 0UL;
     this.RequireSignIn    = true;
 }
Пример #3
0
 public PurchaseBillingOfferWizard(EBillingOfferType offerTypes)
 {
     this.State.ContactInfoStep.LightWeightOnly   = true;
     this.State.SelectBillingOfferStep.ShowOffers = offerTypes;
     this.State.ConfirmationStep.OfferType        = offerTypes;
     this._finishStep = new PurchaseBillingOfferFinishStep(this, this.State);
     this._errorStep  = new AccountManagementErrorPage(this, Shell.LoadString(StringId.IDS_ACCOUNT_PURCHASE_ERROR_TITLE), Shell.LoadString(StringId.IDS_ACCOUNT_PURCHASE_ERROR_DESC));
     this.AddPage(State.SelectBillingOfferStep);
     this.AddPage(State.ContactInfoStep);
     this.AddPage(State.SelectPaymentInstrumentStep);
     this.AddPage(State.PaymentInstrumentStep);
     this.AddPage(State.ConfirmationStep);
     this.AddPage(_finishStep);
     this.AddPage(_errorStep);
 }