📄 form2.frm
字号:
VERSION 5.00
Object = "{7187619F-D732-11D2-8A16-00000E84DA63}#1.0#0"; "EZAVI26.OCX"
Begin VB.Form Form2
BorderStyle = 1 'Fixed Single
Caption = "Video Playback"
ClientHeight = 3090
ClientLeft = 45
ClientTop = 330
ClientWidth = 2640
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3090
ScaleWidth = 2640
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "Reverse"
Height = 255
Left = 0
TabIndex = 3
Top = 2840
Width = 2655
End
Begin VB.HScrollBar Speeder
Height = 135
LargeChange = 100
Left = 0
Max = 2000
Min = 1
SmallChange = 50
TabIndex = 2
Top = 2400
Value = 1000
Width = 2655
End
Begin VB.CheckBox Check2
Caption = "Repeat"
Height = 255
Left = 840
TabIndex = 1
Top = 2560
Width = 975
End
Begin AVIPlay.ezAVIWnd Playback
Height = 2280
Left = 0
TabIndex = 0
Top = 0
Width = 2640
_ExtentX = 4657
_ExtentY = 4022
Filename = ""
AutoSize = 0 'False
Volume = 100
BorderStyle = 0
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'摄像机回放程序
Private Sub Check1_Click()
End Sub
Private Sub Check2_Click()
If Check2.Value = 1 Then
Playback.Repeat = True
Exit Sub
End If
If Check2.Value = 0 Then
Playback.Repeat = False
Playback.StopPlay
Exit Sub
End If
End Sub
Private Sub Command1_Click()
Playback.PlayReverse False
End Sub
Private Sub Command2_Click()
Playback.StopPlay
Playback.Play False
End Sub
Private Sub Form_Load()
Show
End Sub
Private Sub HScroll1_Change()
Playback.Zoom = HScroll1.Value
End Sub
Private Sub HScroll1_Scroll()
Playback.Zoom = HScroll1.Value
End Sub
Private Sub Speeder_Change()
Playback.Speed = Speeder.Value
End Sub
Private Sub Speeder_Scroll()
Playback.Speed = Speeder.Value
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -