private bool sectionInUse()
{
foreach (LineElement line in Canguro.Model.Model.Instance.LineList)
if (line != null && line.Properties is StraightFrameProps
&& ((StraightFrameProps)line.Properties).Section == currentSection)
return true;
return false;
}