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

📄 mp3enc.vb

📁 这是一本用Visual Studio.NET进行多媒体编程的读物
💻 VB
📖 第 1 页 / 共 4 页
字号:
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
	'Windows 窗体设计器所必需的
	Private components As System.ComponentModel.IContainer
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents Mp3Enc1 As AxMP3ENCLib.AxMp3Enc
	Public WithEvents Text8 As System.Windows.Forms.TextBox
	Public WithEvents Text7 As System.Windows.Forms.TextBox
	Public WithEvents Command8 As System.Windows.Forms.Button
	Public WithEvents Command7 As System.Windows.Forms.Button
	Public WithEvents Mp3Play1 As AxMPEGPLAYLib.AxMp3Play
	Public WithEvents Command5 As System.Windows.Forms.Button
	Public WithEvents Command6 As System.Windows.Forms.Button
	Public WithEvents Frame10 As System.Windows.Forms.GroupBox
	Public WithEvents Option8 As System.Windows.Forms.RadioButton
	Public WithEvents Option7 As System.Windows.Forms.RadioButton
	Public WithEvents Option6 As System.Windows.Forms.RadioButton
	Public WithEvents Option5 As System.Windows.Forms.RadioButton
	Public WithEvents Option4 As System.Windows.Forms.RadioButton
	Public WithEvents Option3 As System.Windows.Forms.RadioButton
	Public WithEvents Option2 As System.Windows.Forms.RadioButton
	Public WithEvents Option1 As System.Windows.Forms.RadioButton
	Public WithEvents Command2 As System.Windows.Forms.Button
	Public WithEvents Frame5 As System.Windows.Forms.GroupBox
	Public WithEvents Text27 As System.Windows.Forms.TextBox
	Public WithEvents Frame13 As System.Windows.Forms.GroupBox
	Public WithEvents Command13 As System.Windows.Forms.Button
	Public WithEvents Text25 As System.Windows.Forms.TextBox
	Public WithEvents Command12 As System.Windows.Forms.Button
	Public WithEvents Text24 As System.Windows.Forms.TextBox
	Public WithEvents Text23 As System.Windows.Forms.TextBox
	Public WithEvents Frame14 As System.Windows.Forms.GroupBox
	Public WithEvents Text22 As System.Windows.Forms.TextBox
	Public WithEvents Frame12 As System.Windows.Forms.GroupBox
	Public WithEvents Text21 As System.Windows.Forms.TextBox
	Public WithEvents Command10 As System.Windows.Forms.Button
	Public WithEvents Frame11 As System.Windows.Forms.GroupBox
	Public WithEvents Text19 As System.Windows.Forms.TextBox
	Public WithEvents Frame9 As System.Windows.Forms.GroupBox
	Public WithEvents Text5 As System.Windows.Forms.TextBox
	Public WithEvents Shape1 As System.Windows.Forms.Label
	Public WithEvents Frame8 As System.Windows.Forms.GroupBox
	Public WithEvents Text6 As System.Windows.Forms.TextBox
	Public WithEvents Frame6 As System.Windows.Forms.GroupBox
	Public WithEvents Text4 As System.Windows.Forms.TextBox
	Public WithEvents Command4 As System.Windows.Forms.Button
	Public WithEvents Frame4 As System.Windows.Forms.GroupBox
	Public WithEvents Text3 As System.Windows.Forms.TextBox
	Public WithEvents Command1 As System.Windows.Forms.Button
	Public WithEvents Frame3 As System.Windows.Forms.GroupBox
	Public WithEvents Text2 As System.Windows.Forms.TextBox
	Public WithEvents Command3 As System.Windows.Forms.Button
	Public WithEvents Frame2 As System.Windows.Forms.GroupBox
	Public WithEvents Text1 As System.Windows.Forms.TextBox
	Public WithEvents Frame1 As System.Windows.Forms.GroupBox
	'注意:以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器来修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me.Mp3Enc1 = New AxMP3ENCLib.AxMp3Enc()
        Me.Text8 = New System.Windows.Forms.TextBox()
        Me.Text7 = New System.Windows.Forms.TextBox()
        Me.Command8 = New System.Windows.Forms.Button()
        Me.Command7 = New System.Windows.Forms.Button()
        Me.Mp3Play1 = New AxMPEGPLAYLib.AxMp3Play()
        Me.Frame10 = New System.Windows.Forms.GroupBox()
        Me.Command5 = New System.Windows.Forms.Button()
        Me.Command6 = New System.Windows.Forms.Button()
        Me.Frame5 = New System.Windows.Forms.GroupBox()
        Me.Option8 = New System.Windows.Forms.RadioButton()
        Me.Option7 = New System.Windows.Forms.RadioButton()
        Me.Option6 = New System.Windows.Forms.RadioButton()
        Me.Option5 = New System.Windows.Forms.RadioButton()
        Me.Option4 = New System.Windows.Forms.RadioButton()
        Me.Option3 = New System.Windows.Forms.RadioButton()
        Me.Option2 = New System.Windows.Forms.RadioButton()
        Me.Option1 = New System.Windows.Forms.RadioButton()
        Me.Command2 = New System.Windows.Forms.Button()
        Me.Frame13 = New System.Windows.Forms.GroupBox()
        Me.Text27 = New System.Windows.Forms.TextBox()
        Me.Command13 = New System.Windows.Forms.Button()
        Me.Frame14 = New System.Windows.Forms.GroupBox()
        Me.Text25 = New System.Windows.Forms.TextBox()
        Me.Command12 = New System.Windows.Forms.Button()
        Me.Text24 = New System.Windows.Forms.TextBox()
        Me.Text23 = New System.Windows.Forms.TextBox()
        Me.Frame12 = New System.Windows.Forms.GroupBox()
        Me.Text22 = New System.Windows.Forms.TextBox()
        Me.Frame11 = New System.Windows.Forms.GroupBox()
        Me.Text21 = New System.Windows.Forms.TextBox()
        Me.Command10 = New System.Windows.Forms.Button()
        Me.Frame9 = New System.Windows.Forms.GroupBox()
        Me.Text19 = New System.Windows.Forms.TextBox()
        Me.Frame8 = New System.Windows.Forms.GroupBox()
        Me.Text5 = New System.Windows.Forms.TextBox()
        Me.Shape1 = New System.Windows.Forms.Label()
        Me.Frame6 = New System.Windows.Forms.GroupBox()
        Me.Text6 = New System.Windows.Forms.TextBox()
        Me.Frame4 = New System.Windows.Forms.GroupBox()
        Me.Text4 = New System.Windows.Forms.TextBox()
        Me.Command4 = New System.Windows.Forms.Button()
        Me.Frame3 = New System.Windows.Forms.GroupBox()
        Me.Text3 = New System.Windows.Forms.TextBox()
        Me.Command1 = New System.Windows.Forms.Button()
        Me.Frame2 = New System.Windows.Forms.GroupBox()
        Me.Text2 = New System.Windows.Forms.TextBox()
        Me.Command3 = New System.Windows.Forms.Button()
        Me.Frame1 = New System.Windows.Forms.GroupBox()
        Me.Text1 = New System.Windows.Forms.TextBox()
        CType(Me.Mp3Enc1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Mp3Play1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.Frame10.SuspendLayout()
        Me.Frame5.SuspendLayout()
        Me.Frame13.SuspendLayout()
        Me.Frame14.SuspendLayout()
        Me.Frame12.SuspendLayout()
        Me.Frame11.SuspendLayout()
        Me.Frame9.SuspendLayout()
        Me.Frame8.SuspendLayout()
        Me.Frame6.SuspendLayout()
        Me.Frame4.SuspendLayout()
        Me.Frame3.SuspendLayout()
        Me.Frame2.SuspendLayout()
        Me.Frame1.SuspendLayout()
        Me.SuspendLayout()
        '
        'Mp3Enc1
        '
        Me.Mp3Enc1.Enabled = True
        Me.Mp3Enc1.Location = New System.Drawing.Point(512, 216)
        Me.Mp3Enc1.Name = "Mp3Enc1"
        Me.Mp3Enc1.OcxState = CType(resources.GetObject("Mp3Enc1.OcxState"), System.Windows.Forms.AxHost.State)
        Me.Mp3Enc1.Size = New System.Drawing.Size(31, 29)
        Me.Mp3Enc1.TabIndex = 48
        '
        'Text8
        '
        Me.Text8.AcceptsReturn = True
        Me.Text8.AutoSize = False
        Me.Text8.BackColor = System.Drawing.SystemColors.Window
        Me.Text8.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.Text8.ForeColor = System.Drawing.SystemColors.WindowText
        Me.Text8.Location = New System.Drawing.Point(464, 312)
        Me.Text8.MaxLength = 0
        Me.Text8.Name = "Text8"
        Me.Text8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Text8.Size = New System.Drawing.Size(79, 25)
        Me.Text8.TabIndex = 47
        Me.Text8.Text = "false"
        '
        'Text7
        '
        Me.Text7.AcceptsReturn = True
        Me.Text7.AutoSize = False
        Me.Text7.BackColor = System.Drawing.SystemColors.Window
        Me.Text7.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.Text7.ForeColor = System.Drawing.SystemColors.WindowText
        Me.Text7.Location = New System.Drawing.Point(360, 312)
        Me.Text7.MaxLength = 0
        Me.Text7.Name = "Text7"
        Me.Text7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Text7.Size = New System.Drawing.Size(85, 25)
        Me.Text7.TabIndex = 46
        Me.Text7.Text = "false"
        '
        'Command8
        '
        Me.Command8.BackColor = System.Drawing.SystemColors.Control
        Me.Command8.Cursor = System.Windows.Forms.Cursors.Default
        Me.Command8.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Command8.Location = New System.Drawing.Point(464, 280)
        Me.Command8.Name = "Command8"
        Me.Command8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Command8.Size = New System.Drawing.Size(79, 25)
        Me.Command8.TabIndex = 45
        Me.Command8.Text = "Downmix"
        '
        'Command7
        '
        Me.Command7.BackColor = System.Drawing.SystemColors.Control
        Me.Command7.Cursor = System.Windows.Forms.Cursors.Default
        Me.Command7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Command7.Location = New System.Drawing.Point(360, 280)
        Me.Command7.Name = "Command7"
        Me.Command7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Command7.Size = New System.Drawing.Size(87, 25)
        Me.Command7.TabIndex = 44
        Me.Command7.Text = "Downsample"
        '
        'Mp3Play1
        '
        Me.Mp3Play1.Enabled = True
        Me.Mp3Play1.Location = New System.Drawing.Point(544, 216)
        Me.Mp3Play1.Name = "Mp3Play1"
        Me.Mp3Play1.OcxState = CType(resources.GetObject("Mp3Play1.OcxState"), System.Windows.Forms.AxHost.State)
        Me.Mp3Play1.Size = New System.Drawing.Size(33, 33)
        Me.Mp3Play1.TabIndex = 42
        '
        'Frame10
        '
        Me.Frame10.BackColor = System.Drawing.SystemColors.Control
        Me.Frame10.Controls.AddRange(New System.Windows.Forms.Control() {Me.Command5, Me.Command6})
        Me.Frame10.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame10.Location = New System.Drawing.Point(288, 176)
        Me.Frame10.Name = "Frame10"
        Me.Frame10.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Frame10.Size = New System.Drawing.Size(213, 73)
        Me.Frame10.TabIndex = 40
        Me.Frame10.TabStop = False
        Me.Frame10.Text = "MP3Play"
        '
        'Command5
        '
        Me.Command5.BackColor = System.Drawing.SystemColors.Control
        Me.Command5.Cursor = System.Windows.Forms.Cursors.Default
        Me.Command5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Command5.Location = New System.Drawing.Point(22, 30)
        Me.Command5.Name = "Command5"
        Me.Command5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Command5.Size = New System.Drawing.Size(65, 25)
        Me.Command5.TabIndex = 43
        Me.Command5.Text = "Play"
        '
        'Command6
        '
        Me.Command6.BackColor = System.Drawing.SystemColors.Control
        Me.Command6.Cursor = System.Windows.Forms.Cursors.Default
        Me.Command6.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Command6.Location = New System.Drawing.Point(120, 28)
        Me.Command6.Name = "Command6"
        Me.Command6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Command6.Size = New System.Drawing.Size(65, 27)
        Me.Command6.TabIndex = 41
        Me.Command6.Text = "stop"
        '

⌨️ 快捷键说明

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