private void updateDesignCombosPage()
{
designNameLabel.Text = currentDesignOptions.ToString();
selectedCombosListBox.Items.Clear();
allCombosListBox.Items.Clear();
foreach (AbstractCase aCase in services.Model.AbstractCases)
if (aCase is LoadCombination)
{
if (currentDesignOptions.DesignCombinations.Contains((LoadCombination)aCase))
selectedCombosListBox.Items.Add(aCase);
else
allCombosListBox.Items.Add(aCase);
}
editComboLinkLabel.Enabled = (allCombosListBox.SelectedItem != null || selectedCombosListBox.SelectedItem != null);
AcceptButton = analyzeButton2;
if (currentDesignOptions is SteelDesignOptions && services.Model.ConcreteDesignOptions is ConcreteDesignOptions)
analyzeButton2.Text = Culture.Get("next");
else
analyzeButton2.Text = Culture.Get("analyze");
}