日期:2014-05-17 浏览次数:20867 次
bool light = true;
while (light)
{
if (zuol1.BackColor == Color.White)
{
zuol1.BackColor = Color.Green;
for (int i = 50000; i > 0; i--)
{
}
}
else if (zuol1.BackColor == Color.Green)
{
zuol1.BackColor = Color.Red;
for (int i = 50000; i > 0; i--)
{
}
}
else
{
zuol1.BackColor = Color.White;
for (int i = 50000; i > 0; i--)
{
}
}
}