📄 form5.frm
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5190
ClientLeft = 60
ClientTop = 450
ClientWidth = 6870
LinkTopic = "Form1"
ScaleHeight = 5190
ScaleWidth = 6870
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4440
Top = 2040
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MCI.MMControl MMControl1
Height = 735
Left = 480
TabIndex = 2
Top = 1200
Width = 3540
_ExtentX = 6244
_ExtentY = 1296
_Version = 393216
DeviceType = ""
FileName = ""
End
Begin VB.CommandButton Command1
Cancel = -1 'True
Caption = "Command1"
Height = 615
Left = 2520
TabIndex = 1
Top = 360
Width = 1815
End
Begin VB.PictureBox Picture1
Height = 495
Left = 360
ScaleHeight = 435
ScaleWidth = 1035
TabIndex = 0
Top = 360
Width = 1095
End
Begin VB.Label Label1
Caption = "Label1"
Height = 735
Left = 1080
TabIndex = 3
Top = 2160
Width = 2415
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MMControl1.DeviceType = "avivideo"
MMControl1.TimeFomat = 3
CommonDialog1.ShowOpen
MMControl1.FileName = CommonDialog1.FileName
MMControl1.Command = "open"
MMControl1.hWndDisplay = Picture1.hWnd
Label1.Caption = MMControl1.Length + 1
MMControl1.UpdateInterval = 1000
End Sub
Private Sub MMControl1_Click(Cancel As Integer)
MMControl1.Command = "play"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -