internal void MoveAt(int stepNumber, Form currentForm)
{
if (stepNumber == 1)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm01Connect frm = new frm01Connect(false);
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 2)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm02UsersGroups frm = new frm02UsersGroups();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 3)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm03WebApplications frm = new frm03WebApplications();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 4)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm04Collections frm = new frm04Collections();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 5)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm05Sites frm = new frm05Sites();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 6)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm06Lists frm = new frm06Lists();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 7)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm07ViewsColumns frm = new frm07ViewsColumns();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 8)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm08ListItems frm = new frm08ListItems();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 9)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm09ContentTypes frm = new frm09ContentTypes();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 10)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm10Workflows frm = new frm10Workflows();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 11)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm11Permissions frm = new frm11Permissions();
frm.RootForm = this;
frm.Show();
}
else if (stepNumber == 12)
{
if (currentForm != null && !saveForm(currentForm))
{
return;
}
frm12Finalize frm = new frm12Finalize();
frm.RootForm = this;
frm.Show();
}
if (currentForm != null)
{
currentForm.Hide();
}
}