📄 cd-romonoff.frm
字号:
VERSION 5.00
Object = "{C1A8AF28-1257-101B-8FB0-0020AF039CA3}#1.1#0"; "MCI32.OCX"
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "光驱软开关"
ClientHeight = 1185
ClientLeft = 45
ClientTop = 330
ClientWidth = 1710
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1185
ScaleWidth = 1710
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "出盘"
Height = 555
Left = 398
TabIndex = 1
Top = 278
Width = 915
End
Begin MCI.MMControl MMControl1
Height = 675
Left = 120
TabIndex = 0
Top = 3900
Visible = 0 'False
Width = 3540
_ExtentX = 6244
_ExtentY = 1191
_Version = 393216
DeviceType = ""
FileName = ""
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 = "CDAudio"
MMControl1.Command = "Open"
MMControl1.Command = "Play"
MMControl1.Command = "Eject"
MMControl1.Command = "Close"
If Command1.Caption = "出盘" Then
Command1.Caption = "入盘"
Else
Command1.Caption = "出盘"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -