@for (int i = 2; i >= 1; i--)
{
if ((CurrFrameWindow.ElementDimensionList.Count == 5 && CurrFrameWindow.ElementDimensionList.ElementAt(i).nIndex == 4) ||
(CurrFrameWindow.ElementDimensionList.Count == 6 &&
(CurrFrameWindow.ElementDimensionList.ElementAt(i).nIndex == 4 || CurrFrameWindow.ElementDimensionList.ElementAt(i).nIndex == 5)))
{
continue;
}
else
{
}
}
@if (CurrFrameWindow.ElementDimensionList.Count <= 4 ||
(CurrFrameWindow.ElementDimensionList.Count == 5 && CurrFrameWindow.ElementDimensionList.ElementAt(3).nIndex != 4) ||
(CurrFrameWindow.ElementDimensionList.Count == 6 &&
(CurrFrameWindow.ElementDimensionList.ElementAt(3).nIndex != 4 && CurrFrameWindow.ElementDimensionList.ElementAt(3).nIndex != 5)))
{
}
@if (CurrFrameWindow.ElementDimensionList.Count <= 4 ||
(CurrFrameWindow.ElementDimensionList.Count == 5 && CurrFrameWindow.ElementDimensionList.ElementAt(0).nIndex != 4) ||
(CurrFrameWindow.ElementDimensionList.Count == 6 &&
(CurrFrameWindow.ElementDimensionList.ElementAt(0).nIndex != 4 && CurrFrameWindow.ElementDimensionList.ElementAt(0).nIndex != 5)))
{
}