建立一個主視窗,寬400,高300
在表單中添加2個標簽:label1和label2
label1:
字體:華文中宋
字體大小:60
字體顏色:(123,188,233)
內容:開始
位置:(100, 60)
大小:width=150,height=150
Label2:
字體:楷體
字體大小:20
字體顏色:藍色
內容:空
位置:(10, 200)
大小:width=370,height=50
添加滑鼠左鍵事件:每100毫秒在label1顯示一個[10,99]的亂數(顏色隨機產生),直到產生99為止,并在Label2中顯示:到99總共產生了幾個亂數!
[code=javascript][code=python][/code][/code]
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/65328.html
上一篇:excel拆分與合并 TypeError: cannot concatenate object of type '<class 'int'>'
