private void applyButton_Click(object sender, EventArgs e)
{
UpdateModel();
if (oneSection)
DialogResult = DialogResult.OK;
else
{
Canguro.Model.Model.Instance.Sections[currentSection.Name] = currentSection;
SectionManager.Instance.DefaultFrameSection = currentSection;
wizardControl.SelectTab(0);
DialogResult = DialogResult.None;
}
}