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); }
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; }
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); }