dahall / AeroWizard

Library for easy creation of custom and Aero Wizards. Aero Wizard strictly follows Microsoft guidelines and uses Visual Styles to get visual theming.
MIT License
112 stars 32 forks source link

Added CancelCausesValidation property to WizardControl #6

Closed astrohart closed 6 years ago

astrohart commented 6 years ago

When using Windows Forms Databinding on the Wizard Control pages' controls, one desires to have access to get/set the CausesValidation property of the Wizard Control's Cancel button. Namely, this property must be set to FALSE when using Databinding, else the values of the controls get saved to the data source even when the user clicks Cancel, which is not ordinarily desirable.

dahall commented 6 years ago

When looking at the diff, it appears your editor did a ton of reformatting so it is impossible to see just the changes. Will you point out the lines you've added or changed?

astrohart commented 6 years ago

Just added a CancelCausesValidation property to wrap the cancel button’s CausesValidation property.