private void shapeComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
//if (currentMaterial != null && currentMaterial.DesignProperties is ConcreteDesignProps &&
// concreteSections.ContainsKey(shapeComboBox.SelectedItem.ToString()))
// currentSection = concreteSections[shapeComboBox.SelectedItem.ToString()];
//else if (currentMaterial != null && currentMaterial.DesignProperties is SteelDesignProps &&
// steelSections.ContainsKey(shapeComboBox.SelectedItem.ToString()))
// currentSection = steelSections[shapeComboBox.SelectedItem.ToString()];
//if (allSections.ContainsKey(shapeComboBox.SelectedItem.ToString()))
// currentSection = allSections[shapeComboBox.SelectedItem.ToString()];
//if (currentMaterial != null && currentSection != null)
// currentSection.Material = currentMaterial;
//else if (currentSection != null)
// currentMaterial = currentSection.Material;
}