- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
if (curMenu != null)
{
depth = curMenu.Depth;
Menu menuG = null;
if (depth == 1)
{
menuG = curMenu;
}
if (depth == 2)
{
menuG = curMenu.Menu2;
}
if (depth == 3)
{
menuG = curMenu.Menu2.Menu2;
}
if (depth == 4)
{
menuG = curMenu.Menu2.Menu2.Menu2;
}
Комментарии (0) RSS