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); }
protected override void OnDispose(bool disposing) { base.OnDispose(disposing); if (this._helper == null || !disposing) { return; } this._helper.PropertyChanged -= new PropertyChangedEventHandler(this.HelperPropertyChanged); this._helper.Dispose(); this._helper = null; }