This post shows you How to use Aero Wizard control to make wizard pages in C# .NET Windows Forms Application.
You can use the Aero Wizard control to make your form work step by step, similarly the setup form.
To play the demo, you can create a new windows forms application project, then enter your project name is "AeroWizardStepByStep".
Next, Right click on your project, then select Manage NuGet Packages -> Search AeroWizard -> Install
This library makes it easy to create custom Aero Wizards. Aero Wizard strictly follows Microsoft guidelines and uses Visual Styles to get visual theming.
Aero Wizard project provides three main controls:
WizardPageContainer - Allows you to create a custom wizard. It manages page creation at design-time and navigation using user defined buttons.
WizardControl - Builds on the container to provide the full Aero Wizard experience. The wizard visual format pulls from the current system theme. As a result, this wizard will correctly morph on each OS. Under XP, it will provide a old, pre-Aero, look and feel. Under Vista, Win7 and Win8, it will take on the appearance defined by the OS.
StepWizardControl - Extends WizardControl to include a step list that indicates current position through the flow.
Design your form as shown below.
You can drag a progress bar control from your visual studio toolbox to your wizard control, then add code to handle your form as shown below.
private void stepWizardControl1_SelectedPageChanged(object sender, EventArgs e)
//Select page3, show progress bar
if (stepWizardControl1.SelectedPage == wizardPage3)
for (int i = 1; i <= 100; i++)
progressBar1.Value = i;
Next, Click on Wizard control, then add the SelectedPageChanged event handler, you can easily check the wizard page step.