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

disable finish button #32

Closed apanchati closed 6 years ago

apanchati commented 6 years ago

On last page i run some test. I would like to disable finish button until test are run and only enable if the test passes otherwise keep finish button disable. Please let me know how to disable/enable finish button on last page of the wizard. Thanks

dahall commented 6 years ago

On that page, set the IsFinishPage property to true and the AllowNext property to false. When your test completes, set the AllowNext property to the success of the test.

apanchati commented 6 years ago

Thanks! This was helpful.