📄 fst.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00E0E0E0&
BorderStyle = 3 'Fixed Dialog
Caption = "MSN 风格进度条和按钮"
ClientHeight = 6165
ClientLeft = 150
ClientTop = 330
ClientWidth = 5670
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6165
ScaleWidth = 5670
ShowInTaskbar = 0 'False
Begin Project1.newButton newButton1
Height = 975
Left = 120
TabIndex = 14
Top = 5130
Width = 1335
_ExtentX = 2355
_ExtentY = 1720
Picture = "fSt.frx":0000
BtnCaption = "邮件"
End
Begin Project1.newButtonx btn4
Height = 1215
Left = 4125
TabIndex = 13
Top = 3690
Width = 1335
_ExtentX = 0
_ExtentY = 0
Picture = "fSt.frx":07DE
BtnCaption = ":))))"
End
Begin Project1.newButtonx btn3
Height = 1215
Left = 2790
TabIndex = 12
Top = 3690
Width = 1335
_ExtentX = 0
_ExtentY = 0
Picture = "fSt.frx":0FBC
BtnCaption = "Lol"
End
Begin Project1.newButtonx btn2
Height = 1215
Left = 1455
TabIndex = 11
Top = 3690
Width = 1335
_ExtentX = 0
_ExtentY = 0
Picture = "fSt.frx":28AA
BtnCaption = "下一步"
End
Begin Project1.newButtonx btn1
Height = 1215
Left = 120
TabIndex = 10
Top = 3690
Width = 1335
_ExtentX = 0
_ExtentY = 0
Picture = "fSt.frx":4198
BtnCaption = "演示"
End
Begin Project1.drawfield drawfield9
Height = 1215
Left = 120
TabIndex = 9
Top = 3690
Width = 5025
_ExtentX = 8864
_ExtentY = 79
End
Begin VB.Timer Timer1
Left = 2085
Top = 375
End
Begin Project1.drawfield drawfield1
Height = 255
Left = 75
TabIndex = 1
Top = 90
Width = 2325
_ExtentX = 0
_ExtentY = 0
beginColor = 16777215
endColor = 0
Value = 1
boxCount = 40
boxSpace = 0
End
Begin Project1.drawfield drawfield2
Height = 495
Left = 75
TabIndex = 2
Top = 450
Width = 5475
_ExtentX = 9657
_ExtentY = 873
beginColor = 12632319
endColor = 33023
Value = 1
boxCount = 40
End
Begin Project1.drawfield drawfield3
Height = 375
Left = 75
TabIndex = 3
Top = 930
Width = 5475
_ExtentX = 9657
_ExtentY = 661
beginColor = 8454143
endColor = 49152
Value = 1
boxCount = 40
boxSpace = 3
End
Begin Project1.drawfield drawfield4
Height = 615
Left = 75
TabIndex = 4
Top = 1290
Width = 5475
_ExtentX = 9657
_ExtentY = 1085
beginColor = 16776960
endColor = 128
Value = 1
End
Begin Project1.drawfield drawfield5
Height = 375
Left = 75
TabIndex = 5
Top = 1890
Width = 5475
_ExtentX = 9657
_ExtentY = 661
beginColor = 12582912
endColor = 16761087
Value = 1
boxSpace = 4
End
Begin Project1.drawfield drawfield6
Height = 255
Left = 75
TabIndex = 6
Top = 2370
Width = 5475
_ExtentX = 9657
_ExtentY = 450
beginColor = 8438015
endColor = 33023
Value = 1
End
Begin Project1.drawfield drawfield7
Height = 495
Left = 75
TabIndex = 7
Top = 2730
Width = 5445
_ExtentX = 9604
_ExtentY = 873
endColor = 16711935
Value = 1
boxSpace = 0
End
Begin Project1.drawfield drawfield8
Height = 255
Left = 75
TabIndex = 8
Top = 3330
Width = 5475
_ExtentX = 9657
_ExtentY = 450
beginColor = 0
endColor = 8421504
Value = 1
boxSpace = 5
End
Begin Project1.newButton newButton2
Height = 975
Left = 1455
TabIndex = 15
Top = 5130
Width = 1335
_ExtentX = 2355
_ExtentY = 1720
Picture = "fSt.frx":4976
BtnCaption = "文件夹"
End
Begin Project1.newButton newButton3
Height = 975
Left = 2790
TabIndex = 16
Top = 5130
Width = 1335
_ExtentX = 2355
_ExtentY = 1720
Picture = "fSt.frx":5154
BtnCaption = "刷新"
End
Begin Project1.newButton newButton4
Height = 975
Left = 4125
TabIndex = 17
Top = 5130
Width = 1335
_ExtentX = 2355
_ExtentY = 1720
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "请单击演示按钮!!!!"
ForeColor = &H000000FF&
Height = 240
Left = 3600
TabIndex = 18
Top = 105
Width = 1755
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "0 %"
Height = 255
Left = 2880
TabIndex = 0
Top = 75
Width = 855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'Created by Kozari Laszlo in 2004
'VOTE on PSC if u like it, tenx
Dim b As Boolean
Dim i As Integer
Private Sub btn1_Click()
Timer1.Interval = 5
End Sub
Private Sub btn2_Click()
MsgBox "hy"
End Sub
Private Sub Form_Load()
b = True
i = 0
newButton1.BtnCaption = btn1.BtnCaption
newButton2.BtnCaption = btn2.BtnCaption
newButton3.BtnCaption = btn3.BtnCaption
newButton4.BtnCaption = btn4.BtnCaption
End Sub
Private Sub Timer1_Timer()
If b Then i = i + 1
If Not b Then i = i - 1
If i > 100 Then i = 100: b = False
If i < 0 Then i = 0: b = True
drawfield1.Value = i
drawfield2.Value = i
drawfield3.Value = i
drawfield4.Value = i
drawfield5.Value = i
drawfield6.Value = i
drawfield7.Value = i
drawfield8.Value = i
Label1.Caption = CStr(i) + " %"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -