📄 form1.frm
字号:
VERSION 5.00
Object = "{6BF52A50-394A-11D3-B153-00C04F79FAA6}#1.0#0"; "wmp.dll"
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
Caption = "锐志电子---红外遥控音乐播放器"
ClientHeight = 9195
ClientLeft = 60
ClientTop = 390
ClientWidth = 11415
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 9195
ScaleWidth = 11415
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame5
Height = 3375
Left = 165
TabIndex = 20
Top = 5775
Width = 11040
Begin WMPLibCtl.WindowsMediaPlayer wmp1
Height = 3090
Left = 90
TabIndex = 21
Top = 180
Width = 10845
URL = ""
rate = 1
balance = 0
currentPosition = 0
defaultFrame = ""
playCount = 1
autoStart = 0 'False
currentMarker = 0
invokeURLs = -1 'True
baseURL = ""
volume = 50
mute = 0 'False
uiMode = "full"
stretchToFit = 0 'False
windowlessVideo = 0 'False
enabled = -1 'True
enableContextMenu= -1 'True
fullScreen = 0 'False
SAMIStyle = ""
SAMILang = ""
SAMIFilename = ""
captioningID = ""
enableErrorDialogs= 0 'False
_cx = 19129
_cy = 5450
End
End
Begin VB.Frame Frame4
Caption = "歌曲信息"
Height = 4470
Left = 6840
TabIndex = 17
Top = 1290
Width = 4395
Begin VB.TextBox Text3
Alignment = 2 'Center
BackColor = &H80000001&
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 480
Left = 1725
Locked = -1 'True
TabIndex = 28
Text = "00"
Top = 3420
Width = 2370
End
Begin VB.TextBox Text2
Alignment = 2 'Center
BackColor = &H80000001&
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 480
Left = 1725
Locked = -1 'True
TabIndex = 23
Text = "00:00"
Top = 2902
Width = 2370
End
Begin VB.TextBox Text1
Alignment = 2 'Center
BackColor = &H80000001&
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 480
Left = 1725
Locked = -1 'True
TabIndex = 22
Text = "00:00"
Top = 2385
Width = 2370
End
Begin VB.CommandButton Command3
Caption = "退出程序"
Height = 375
Left = 1005
TabIndex = 18
Top = 4005
Width = 2235
End
Begin VB.Label Label5
Caption = "当前音量"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 645
TabIndex = 27
Top = 3540
Width = 1080
End
Begin VB.Label Label4
Caption = "歌曲总时间"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 390
TabIndex = 25
Top = 3030
Width = 1350
End
Begin VB.Label Label2
Caption = "当前播放时间"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 300
Left = 120
TabIndex = 24
Top = 2490
Width = 1530
End
Begin VB.Label Label1
BorderStyle = 1 'Fixed Single
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1920
Left = 135
TabIndex = 19
Top = 255
Width = 4080
End
End
Begin VB.Frame Frame2
Height = 4425
Left = 3300
TabIndex = 15
Top = 1320
Width = 3450
Begin VB.FileListBox File1
BackColor = &H00E0E0E0&
Height = 4050
Hidden = -1 'True
Left = 90
Pattern = $"Form1.frx":08CA
TabIndex = 16
Top = 225
Width = 3270
End
End
Begin VB.Frame Frame1
Height = 4440
Left = 105
TabIndex = 12
Top = 1320
Width = 3120
Begin VB.DriveListBox Drive1
BackColor = &H00E0E0E0&
Height = 300
Left = 135
TabIndex = 14
Top = 195
Width = 2895
End
Begin VB.DirListBox Dir1
BackColor = &H00E0E0E0&
Height = 3660
Left = 105
TabIndex = 13
Top = 600
Width = 2895
End
End
Begin VB.Frame fraFrames
Caption = "串口连接选项"
Height = 1170
Index = 2
Left = 45
TabIndex = 3
Top = 45
Width = 6720
Begin VB.CommandButton Command1
Caption = "设置遥控键值"
Height = 360
Left = 5175
TabIndex = 26
Top = 195
Width = 1365
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 5910
Top = 675
End
Begin VB.OptionButton optComPort
Caption = "COM4"
Height = 255
Index = 3
Left = 915
TabIndex = 10
Top = 585
Width = 915
End
Begin VB.OptionButton optComPort
Caption = "COM3"
Height = 255
Index = 2
Left = 150
TabIndex = 9
Top = 585
Width = 900
End
Begin VB.OptionButton optComPort
Caption = "COM2"
Height = 255
Index = 1
Left = 930
TabIndex = 8
Top = 285
Width = 915
End
Begin VB.OptionButton optComPort
Caption = "COM1"
Height = 255
Index = 0
Left = 135
TabIndex = 7
Top = 270
Value = -1 'True
Width = 930
End
Begin VB.CommandButton cmdDisconnect
Caption = "断开"
Enabled = 0 'False
Height = 375
Left = 2955
TabIndex = 6
Top = 195
Width = 1035
End
Begin VB.CommandButton cmdConnect
Caption = "连接"
Height = 375
Left = 1995
TabIndex = 5
Top = 195
Width = 900
End
Begin VB.CommandButton cmdExit
Caption = "退出"
Height = 375
Left = 4125
TabIndex = 4
Top = 180
Width = 930
End
Begin MSCommLib.MSComm ComPort
Left = 1875
Top = 540
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.Label lblStatus
Alignment = 2 'Center
Caption = "空闲"
Height = 255
Left = 2430
TabIndex = 11
Top = 750
Width = 3075
End
End
Begin VB.Frame fraFrames
Caption = "遥控显示窗口"
Height = 990
Index = 1
Left = 6945
TabIndex = 0
Top = 165
Width = 4350
Begin VB.TextBox txtBarcode
Alignment = 2 'Center
BackColor = &H80000001&
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 600
Left = 1965
Locked = -1 'True
TabIndex = 1
Top = 225
Width = 945
End
Begin VB.Label Label3
Caption = "当前键值:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -