📄 avi播放 2.frm
字号:
VERSION 5.00
Object = "{FE0065C0-1B7B-11CF-9D53-00AA003C9CB6}#1.1#0"; "comct232.ocx"
Begin VB.Form Form1
BackColor = &H8000000A&
Caption = "Form1"
ClientHeight = 1950
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1950
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "停 止"
Height = 345
Left = 3240
TabIndex = 2
Top = 1470
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "开 始"
Height = 345
Left = 2130
TabIndex = 1
Top = 1470
Width = 1095
End
Begin ComCtl2.Animation Animation1
Height = 585
Left = 300
TabIndex = 0
Top = 270
Width = 585
_ExtentX = 1032
_ExtentY = 1032
_Version = 327681
BackColor = -2147483644
FullWidth = 39
FullHeight = 39
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Animation1.Open App.Path + "\" + "FILECOPY.AVI"
Animation1.Play 5, 2, 8
End Sub
Private Sub Command2_Click()
Animation1.Stop
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -