Hi,
1. BusinessUnits.BusinessUnit should be type of 'Division' instead of
'int'.
2. for the next button,
// remove all controls in the panel.
panelRight.Controls.Clear();
// move to next step
myCurrentWizardStep++;
// get the control.
System.Windows.Forms.UserControl ctl =
Unit1.Wizard.Steps[myCurrentWizardStep];
// show it on screen.
panelRight.Controls.Add(ctl);
ctl.Visible = true;
3. for the 'Steps' property, it should be something like below. But,
the following code has 1 problem: if the user click "Back" button in
the wizard, all their input on the screen will be gone. So, you have
to find a way to store the user input.
public static System.Windows.Forms.UserControl GetSteps(int step)
{
if (step == 0)
{
return new Intro();
}
else if (step == 1)
{
....
}
}
Hope it helps.
--
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net