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

Is there any code example of use of Aero Wizard .NET Library? #37

Closed dahall closed 5 years ago

dahall commented 5 years ago

Is there any code example of use of Aero Wizard .NET Library?

I load reference into my project, i can drop control in form, with designer add wizardpages, but how can I detect when chage of wizardpages?

I hope someone can help me.

Thanks

JSanta

Originally posted: 2011-05-21T20:35:33

dahall commented 5 years ago

I find how to manage control in VB.NET with this code

Private Sub WizardControl1_SelectedPageChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WizardControl1.SelectedPageChanged
        Select Case WizardControl1.SelectedPage.Name.ToUpper
            Case Is = "WIZARDCONFIG1"
                Text1Focus()
            Case Is = "WIZARDCONFIG2"
                Text2.Focus()
            Case Is = "WIZARDCONFIG3"
                Check1.Focus()
            Case Is = "WIZARDCONFIG4"
                Check2Focus()
        End Select
End Sub

JSanta

Originally posted: 2011-05-21T21:15:32

dahall commented 5 years ago

In the source code, there is a full C# example that demonstrates events and branching.

Originally posted: 2011-05-23T09:13:02

dahall commented 5 years ago

I have also created a documentation page in the Wiki showing some examples. Please view this as it may show you a more accurate way to handle changing pages with the Commit event.

Originally posted: 2011-05-25T18:06:23