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; }
public SelectPaymentInstrumentStep( Wizard owner, AccountManagementWizardState state, bool parent) : base(owner, state, parent) { this.Description = Shell.LoadString(StringId.IDS_BILLING_EDIT_CC_EDIT_HEADER); this._helper = new PaymentInstrumentHelper(); this._helper.PropertyChanged += new PropertyChangedEventHandler(this.HelperPropertyChanged); this.RequireSignIn = true; }