| 发表于:2007-02-12 19:44:062楼 得分:10 |
for (int i = 1; i < 20; i++) // j -> i { panel1.controls.clear(); label hj = new label(); hj.name = "hj " + i; hj.text = "2wqwer "; hj.location = new system.drawing.point(10 * i, 10 * i); panel1.controls.add(hj); application.doevents(); // < < insert thread.sleep(10); } | | |
|