⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdrecord.vb

📁 这是一本用Visual Studio.NET进行多媒体编程的读物
💻 VB
📖 第 1 页 / 共 3 页
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class Form1
	Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'对于启动窗体,所创建的第一个实例为默认实例。
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'此调用是 Windows 窗体设计器所必需的。
		InitializeComponent()
	End Sub
	'窗体重写处置,以清理组件列表。
	Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
		If Disposing Then
			If Not components Is Nothing Then
				components.Dispose()
			End If
		End If
		MyBase.Dispose(Disposing)
	End Sub
    Private components As System.ComponentModel.IContainer
	'Windows 窗体设计器所必需的
		Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents cbxFormat As System.Windows.Forms.ComboBox
	Public WithEvents tmrRecord As System.Windows.Forms.Timer
	Public WithEvents cmdCancel As System.Windows.Forms.Button
	Public WithEvents cmdFrom As System.Windows.Forms.Button
	Public WithEvents cmdStart As System.Windows.Forms.Button
	Public WithEvents txtFile As System.Windows.Forms.TextBox
	Public WithEvents lstRecord As System.Windows.Forms.ListBox
	Public WithEvents cmdTo As System.Windows.Forms.Button
	Public WithEvents lstTracks As System.Windows.Forms.ListBox
	Public WithEvents cmdRefresh As System.Windows.Forms.Button
	Public WithEvents _Label1_5 As System.Windows.Forms.Label
	Public WithEvents lblStatus As System.Windows.Forms.Label
	Public WithEvents _Label1_4 As System.Windows.Forms.Label
	Public WithEvents _Label1_3 As System.Windows.Forms.Label
	Public WithEvents _Label1_0 As System.Windows.Forms.Label
	Public WithEvents lblNumTracks As System.Windows.Forms.Label
	Public WithEvents _Label1_2 As System.Windows.Forms.Label
	Public WithEvents lblCDID As System.Windows.Forms.Label
	Public WithEvents _Label1_1 As System.Windows.Forms.Label
	Public WithEvents Label1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	'注意:以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器来修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container()
        Me._Label1_0 = New System.Windows.Forms.Label()
        Me._Label1_2 = New System.Windows.Forms.Label()
        Me.txtFile = New System.Windows.Forms.TextBox()
        Me.cmdStart = New System.Windows.Forms.Button()
        Me.lblCDID = New System.Windows.Forms.Label()
        Me.lstTracks = New System.Windows.Forms.ListBox()
        Me.cmdFrom = New System.Windows.Forms.Button()
        Me._Label1_4 = New System.Windows.Forms.Label()
        Me._Label1_1 = New System.Windows.Forms.Label()
        Me.lstRecord = New System.Windows.Forms.ListBox()
        Me._Label1_3 = New System.Windows.Forms.Label()
        Me.cbxFormat = New System.Windows.Forms.ComboBox()
        Me.Label1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me._Label1_5 = New System.Windows.Forms.Label()
        Me.cmdCancel = New System.Windows.Forms.Button()
        Me.tmrRecord = New System.Windows.Forms.Timer(Me.components)
        Me.cmdRefresh = New System.Windows.Forms.Button()
        Me.cmdTo = New System.Windows.Forms.Button()
        Me.lblNumTracks = New System.Windows.Forms.Label()
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me.lblStatus = New System.Windows.Forms.Label()
        Me.SuspendLayout()
        '
        '_Label1_0
        '
        Me._Label1_0.BackColor = System.Drawing.SystemColors.Control
        Me._Label1_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label1_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.SetIndex(Me._Label1_0, CType(0, Short))
        Me._Label1_0.Location = New System.Drawing.Point(10, 69)
        Me._Label1_0.Name = "_Label1_0"
        Me._Label1_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label1_0.Size = New System.Drawing.Size(114, 15)
        Me._Label1_0.TabIndex = 0
        Me._Label1_0.Text = "CD音轨:"
        '
        '_Label1_2
        '
        Me._Label1_2.BackColor = System.Drawing.SystemColors.Control
        Me._Label1_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label1_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.SetIndex(Me._Label1_2, CType(2, Short))
        Me._Label1_2.Location = New System.Drawing.Point(236, 5)
        Me._Label1_2.Name = "_Label1_2"
        Me._Label1_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label1_2.Size = New System.Drawing.Size(62, 15)
        Me._Label1_2.TabIndex = 13
        Me._Label1_2.Text = "# of Tracks:"
        Me._Label1_2.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'txtFile
        '
        Me.txtFile.AcceptsReturn = True
        Me.txtFile.AutoSize = False
        Me.txtFile.BackColor = System.Drawing.SystemColors.Window
        Me.txtFile.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtFile.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtFile.Location = New System.Drawing.Point(102, 359)
        Me.txtFile.MaxLength = 0
        Me.txtFile.Name = "txtFile"
        Me.txtFile.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtFile.Size = New System.Drawing.Size(378, 22)
        Me.txtFile.TabIndex = 10
        Me.txtFile.Text = ""
        '
        'cmdStart
        '
        Me.cmdStart.BackColor = System.Drawing.SystemColors.Control
        Me.cmdStart.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdStart.Location = New System.Drawing.Point(200, 240)
        Me.cmdStart.Name = "cmdStart"
        Me.cmdStart.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdStart.Size = New System.Drawing.Size(56, 24)
        Me.cmdStart.TabIndex = 6
        Me.cmdStart.Text = "开始"
        '
        'lblCDID
        '
        Me.lblCDID.BackColor = System.Drawing.SystemColors.Control
        Me.lblCDID.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
        Me.lblCDID.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblCDID.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblCDID.Location = New System.Drawing.Point(82, 2)
        Me.lblCDID.Name = "lblCDID"
        Me.lblCDID.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblCDID.Size = New System.Drawing.Size(147, 20)
        Me.lblCDID.TabIndex = 12
        Me.lblCDID.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'lstTracks
        '
        Me.lstTracks.BackColor = System.Drawing.SystemColors.Window
        Me.lstTracks.Cursor = System.Windows.Forms.Cursors.Default
        Me.lstTracks.ForeColor = System.Drawing.SystemColors.WindowText
        Me.lstTracks.ItemHeight = 12
        Me.lstTracks.Location = New System.Drawing.Point(5, 88)
        Me.lstTracks.Name = "lstTracks"
        Me.lstTracks.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lstTracks.Size = New System.Drawing.Size(179, 220)
        Me.lstTracks.Sorted = True
        Me.lstTracks.TabIndex = 1
        '
        'cmdFrom
        '
        Me.cmdFrom.BackColor = System.Drawing.SystemColors.Control
        Me.cmdFrom.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdFrom.Location = New System.Drawing.Point(200, 168)
        Me.cmdFrom.Name = "cmdFrom"
        Me.cmdFrom.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdFrom.Size = New System.Drawing.Size(56, 25)
        Me.cmdFrom.TabIndex = 5
        Me.cmdFrom.Text = "<<"
        '
        '_Label1_4
        '
        Me._Label1_4.BackColor = System.Drawing.SystemColors.Control
        Me._Label1_4.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label1_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.SetIndex(Me._Label1_4, CType(4, Short))
        Me._Label1_4.Location = New System.Drawing.Point(10, 361)
        Me._Label1_4.Name = "_Label1_4"
        Me._Label1_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label1_4.Size = New System.Drawing.Size(78, 15)
        Me._Label1_4.TabIndex = 9
        Me._Label1_4.Text = "文件名称:"
        Me._Label1_4.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        '_Label1_1
        '
        Me._Label1_1.BackColor = System.Drawing.SystemColors.Control
        Me._Label1_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label1_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.SetIndex(Me._Label1_1, CType(1, Short))
        Me._Label1_1.Location = New System.Drawing.Point(24, 8)
        Me._Label1_1.Name = "_Label1_1"
        Me._Label1_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label1_1.Size = New System.Drawing.Size(56, 15)
        Me._Label1_1.TabIndex = 11
        Me._Label1_1.Text = "CD标号:"
        Me._Label1_1.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'lstRecord
        '
        Me.lstRecord.BackColor = System.Drawing.SystemColors.Window
        Me.lstRecord.Cursor = System.Windows.Forms.Cursors.Default
        Me.lstRecord.ForeColor = System.Drawing.SystemColors.WindowText
        Me.lstRecord.ItemHeight = 12
        Me.lstRecord.Location = New System.Drawing.Point(280, 88)
        Me.lstRecord.Name = "lstRecord"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -