📄 bofangqi.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{6BF52A50-394A-11D3-B153-00C04F79FAA6}#1.0#0"; "wmp.dll"
Begin VB.Form bofangqi
Caption = "校园广播铃声管理系统播放器"
ClientHeight = 8685
ClientLeft = 60
ClientTop = 450
ClientWidth = 10860
Icon = "bofangqi.frx":0000
LinkTopic = "Form1"
ScaleHeight = 8685
ScaleWidth = 10860
StartUpPosition = 1 '所有者中心
Begin MSComDlg.CommonDialog CmD1
Left = 8880
Top = 8160
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin WMPLibCtl.WindowsMediaPlayer yasen
Height = 8655
Left = 0
TabIndex = 0
Top = 0
Width = 10935
URL = ""
rate = 1
balance = 1
currentPosition = 0
defaultFrame = ""
playCount = 1
autoStart = -1 'True
currentMarker = 0
invokeURLs = -1 'True
baseURL = ""
volume = 100
mute = 0 'False
uiMode = "full"
stretchToFit = -1 'True
windowlessVideo = 0 'False
enabled = -1 'True
enableContextMenu= -1 'True
fullScreen = 0 'False
SAMIStyle = ""
SAMILang = ""
SAMIFilename = ""
captioningID = ""
enableErrorDialogs= 0 'False
_cx = 19288
_cy = 15266
End
End
Attribute VB_Name = "bofangqi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Resize()
Me.yasen.Width = Me.ScaleWidth
Me.yasen.Height = Me.ScaleHeight
End Sub
Private Sub yasen_OpenStateChange(ByVal NewState As Long)
'自动循环播放
If yasen.playState = mpStopped Then
If bofang.List1.ListIndex < bofang.List1.ListCount - 1 Then
bofang.List1.ListIndex = bofang.List1.ListIndex + 1
yasen.FileName = List1.Text
yasen.autoStart = True
End If
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -