In my previous post, we have discussed on how to get started with AvalonWizard. Yes, we need do sth else to make it work for our project. In this post, I will demonstrate how to add some logic to accomplish this.
The first example is to config the behavior when the Cancel button is clicked and this is quite easy:
In the code-behind file, add the corresponding event handler:
The next example is a little bit complex, and we wish the “Next” button changes to “Finish” button if the checkbox “Create an empty project” is clicked.
To accomplish this, we can hook the Checked/Unchecked event handler and set the FirstPage.IsFinishPage property. Emm, it works!
Filed under: Dotnet/C# Tagged: AvalonWizard tutorial example event handling
