void WizardMain_Closing(object sender, CancelEventArgs e)
{
if (!shouldClose && MessageBox.Show("This will close the wizard without saving.\nAre you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
e.Cancel = true;
}