cdbm1[x1] = p.Value.ToString();
x1 = x1 + 1;
break;
case 2:
cdmc2[x2] = new MenuItem((string)p.Attribute("cdmc"));
for (int i = 0; i <= ln_cdsl - 1; i++)
{
if (p.Value.ToString() == cdbm[i])
{
cdbj2[x2] = 1;
break;
}
else
{
cdbj2[x2] = 0;
}
}
cdbm2[x2] = p.Value.ToString();
x2 = x2 + 1;
break;
case 3:
cdmc3[x3] = new MenuItem((string)p.Attribute("cdmc"));
for (int i = 0; i <= ln_cdsl - 1; i++)
{
if (p.Value.ToString() == cdbm[i])
{
cdbj3[x3] = 1;
break;
}
else
{
cdbj3[x3] = 0;
}
}
cdbm3[x3] = p.Value.ToString();
x3 = x3 + 1;
break;
}
}
|