Hi,
I created a wizard by using the Microsoft WizardFramework. I am able to run the wizard and I see the different pages title in the "Orientation Panel" but for some reason I can see the actual pages in the "Content Pane"!!
1. I defined my wizard to inherit the WizardForm class (changed the code after adding a "Windows Form" to my class library):
namespace MyClassLibrary
{
public partial class MyWizard : WizardForm
{
{
public partial class MyWizard : WizardForm
{
private Page1 m_page1;
public MyWizard()
{
InitializeComponent();
m_page1 = new Page1(this);
this.AddPage(m_page1);
}
}
}
}
}
}
2. My pages inherit the WizardPage (changed the code after adding a "User Control" to my class library):
namespace MyClassLibrary
{
{
public partial class Page1 : WizardPage
{
public Page1(WizardForm parent) : base(parent)
{
public Page1(WizardForm parent) : base(parent)
{
InitializeComponent();
}
}
}
InitializeComponent();
}
}
}
3. I used the Page1 Designer to add to the page some controls by dragging them from the Toolbox.
4. I added the following code in the code that runs the wizard:
MyWizard wizard = new MyWizard();
wizard.start();
As I said... I can run the wizard... I am able to see the steps in the orientation panel and I am able to go forward and backward using the Next/Back buttons... the one thing that I am not able to see is the pages themselves... Am I suppose to something else beside "AddPage" to the wizard in order to be able to see the page
Thanks,
Sami.

Creating a wizard by using Microsoft.WizardFramework
YoHackGrandDaddy
fuurin
Nick Tuckett
Kujp Sucisv
Well spotted. Thanks very much.
.Net Pro