1,453
社区成员
发帖
与我相关
我的任务
分享Private Sub Form_Load()
Label1.BackStyle = 0
Label1.BorderStyle = 0
Label1.ForeColor = vbWhite
Label1.BackColor = Picture1.BackColor
Timer1.Interval = 100
Picture1.DrawWidth = 10
End Sub
Private Sub ProgressBar1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
Private Sub Timer1_Timer()
Static i As Integer
Picture1.AutoRedraw = True
Picture1.Scale (0, 0)-(100, 10)
Picture1.Line (i, 0)-(i, 10), vbBlue
i = i + 1
If i > 99 Then Timer1.Enabled = False
Label1.Caption = i & "%"
End Sub
CSDN图片不让传也就罢了,现在连资源都关闭了...