📄 mp3towav.vb
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class Mp3ToWav
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 Timer1 As System.Windows.Forms.Timer
Public WithEvents Check2 As System.Windows.Forms.CheckBox
Public WithEvents Command2 As System.Windows.Forms.Button
Public WithEvents Text3 As System.Windows.Forms.TextBox
Public WithEvents Text4 As System.Windows.Forms.TextBox
Public WithEvents _Label1_3 As System.Windows.Forms.Label
Public WithEvents _Label1_2 As System.Windows.Forms.Label
Public WithEvents Frame4 As System.Windows.Forms.GroupBox
Public WithEvents Label3 As System.Windows.Forms.Label
Public WithEvents FK As System.Windows.Forms.GroupBox
Public WithEvents StatusBar1 As AxComctlLib.AxStatusBar
Public WithEvents _Command1_2 As System.Windows.Forms.Button
Public WithEvents _Command1_8 As System.Windows.Forms.Button
Public WithEvents _Command1_7 As System.Windows.Forms.Button
Public WithEvents Pbar As AxComctlLib.AxProgressBar
Public WithEvents _Command1_5 As System.Windows.Forms.Button
Public WithEvents _Command1_4 As System.Windows.Forms.Button
Public WithEvents _Command1_3 As System.Windows.Forms.Button
Public WithEvents _Command1_1 As System.Windows.Forms.Button
Public WithEvents _Command1_6 As System.Windows.Forms.Button
Public WithEvents Text2 As System.Windows.Forms.TextBox
Public WithEvents Text1 As System.Windows.Forms.TextBox
Public WithEvents Zhongchang As System.Windows.Forms.Label
Public WithEvents _Label1_1 As System.Windows.Forms.Label
Public WithEvents _Label1_0 As System.Windows.Forms.Label
Public WithEvents Frame2 As System.Windows.Forms.GroupBox
Public WithEvents BitS As System.Windows.Forms.Label
Public WithEvents Caiyin As System.Windows.Forms.Label
Public WithEvents Zheng As System.Windows.Forms.Label
Public WithEvents ShDao As System.Windows.Forms.Label
Public WithEvents MName As System.Windows.Forms.Label
Public WithEvents Frame1 As System.Windows.Forms.GroupBox
Public WithEvents _Command1_0 As System.Windows.Forms.Button
Public WithEvents MP As AxMPEGPLAYLib.AxMp3Play
Public WithEvents Sder As AxComctlLib.AxSlider
Public WithEvents Label2 As System.Windows.Forms.Label
Public WithEvents Image1 As System.Windows.Forms.PictureBox
Public WithEvents PlaySong As System.Windows.Forms.Label
Public WithEvents DangQian As System.Windows.Forms.Label
Public WithEvents Command1 As Microsoft.VisualBasic.Compatibility.VB6.ButtonArray
Public WithEvents Label1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
'注意:以下过程是 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(Mp3ToWav))
Me.Image1 = New System.Windows.Forms.PictureBox()
Me.Text4 = New System.Windows.Forms.TextBox()
Me.Text3 = New System.Windows.Forms.TextBox()
Me.Text2 = New System.Windows.Forms.TextBox()
Me.Text1 = New System.Windows.Forms.TextBox()
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
Me.MP = New AxMPEGPLAYLib.AxMp3Play()
Me._Command1_2 = New System.Windows.Forms.Button()
Me.StatusBar1 = New AxComctlLib.AxStatusBar()
Me.MName = New System.Windows.Forms.Label()
Me.Check2 = New System.Windows.Forms.CheckBox()
Me.Pbar = New AxComctlLib.AxProgressBar()
Me.Sder = New AxComctlLib.AxSlider()
Me.BitS = New System.Windows.Forms.Label()
Me.Command1 = New Microsoft.VisualBasic.Compatibility.VB6.ButtonArray(Me.components)
Me._Command1_8 = New System.Windows.Forms.Button()
Me._Command1_7 = New System.Windows.Forms.Button()
Me._Command1_5 = New System.Windows.Forms.Button()
Me._Command1_4 = New System.Windows.Forms.Button()
Me._Command1_3 = New System.Windows.Forms.Button()
Me._Command1_1 = New System.Windows.Forms.Button()
Me._Command1_6 = New System.Windows.Forms.Button()
Me._Command1_0 = New System.Windows.Forms.Button()
Me.ShDao = New System.Windows.Forms.Label()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.Command2 = New System.Windows.Forms.Button()
Me.Label2 = New System.Windows.Forms.Label()
Me.Frame4 = New System.Windows.Forms.GroupBox()
Me._Label1_3 = New System.Windows.Forms.Label()
Me._Label1_2 = New System.Windows.Forms.Label()
Me.Frame2 = New System.Windows.Forms.GroupBox()
Me.Zhongchang = New System.Windows.Forms.Label()
Me._Label1_1 = New System.Windows.Forms.Label()
Me._Label1_0 = New System.Windows.Forms.Label()
Me.Frame1 = New System.Windows.Forms.GroupBox()
Me.Caiyin = New System.Windows.Forms.Label()
Me.Zheng = New System.Windows.Forms.Label()
Me.PlaySong = New System.Windows.Forms.Label()
Me.FK = New System.Windows.Forms.GroupBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
Me.DangQian = New System.Windows.Forms.Label()
CType(Me.MP, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBar1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Pbar, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Sder, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Frame4.SuspendLayout()
Me.Frame2.SuspendLayout()
Me.Frame1.SuspendLayout()
Me.FK.SuspendLayout()
Me.SuspendLayout()
'
'Image1
'
Me.Image1.Cursor = System.Windows.Forms.Cursors.Default
Me.Image1.Location = New System.Drawing.Point(8, 180)
Me.Image1.Name = "Image1"
Me.Image1.Size = New System.Drawing.Size(43, 40)
Me.Image1.TabIndex = 36
Me.Image1.TabStop = False
Me.ToolTip1.SetToolTip(Me.Image1, "调节音量")
'
'Text4
'
Me.Text4.AcceptsReturn = True
Me.Text4.AutoSize = False
Me.Text4.BackColor = System.Drawing.SystemColors.Window
Me.Text4.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text4.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text4.Location = New System.Drawing.Point(77, 49)
Me.Text4.MaxLength = 0
Me.Text4.Name = "Text4"
Me.Text4.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text4.Size = New System.Drawing.Size(385, 20)
Me.Text4.TabIndex = 31
Me.Text4.Text = ""
'
'Text3
'
Me.Text3.AcceptsReturn = True
Me.Text3.AutoSize = False
Me.Text3.BackColor = System.Drawing.SystemColors.Window
Me.Text3.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text3.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text3.Location = New System.Drawing.Point(77, 21)
Me.Text3.MaxLength = 0
Me.Text3.Name = "Text3"
Me.Text3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text3.Size = New System.Drawing.Size(385, 21)
Me.Text3.TabIndex = 32
Me.Text3.Text = ""
'
'Text2
'
Me.Text2.AcceptsReturn = True
Me.Text2.AutoSize = False
Me.Text2.BackColor = System.Drawing.SystemColors.Window
Me.Text2.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text2.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text2.Location = New System.Drawing.Point(61, 42)
Me.Text2.MaxLength = 0
Me.Text2.Name = "Text2"
Me.Text2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text2.Size = New System.Drawing.Size(136, 22)
Me.Text2.TabIndex = 17
Me.Text2.Text = "0"
'
'Text1
'
Me.Text1.AcceptsReturn = True
Me.Text1.AutoSize = False
Me.Text1.BackColor = System.Drawing.SystemColors.Window
Me.Text1.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text1.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text1.Location = New System.Drawing.Point(61, 17)
Me.Text1.MaxLength = 0
Me.Text1.Name = "Text1"
Me.Text1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text1.Size = New System.Drawing.Size(136, 21)
Me.Text1.TabIndex = 16
Me.Text1.Text = "0"
'
'Timer1
'
Me.Timer1.Enabled = True
Me.Timer1.Interval = 50
'
'MP
'
Me.MP.Enabled = True
Me.MP.Location = New System.Drawing.Point(8, 187)
Me.MP.Name = "MP"
Me.MP.OcxState = CType(resources.GetObject("MP.OcxState"), System.Windows.Forms.AxHost.State)
Me.MP.Size = New System.Drawing.Size(43, 29)
Me.MP.TabIndex = 0
Me.MP.Visible = False
'
'_Command1_2
'
Me._Command1_2.BackColor = System.Drawing.SystemColors.Control
Me._Command1_2.Cursor = System.Windows.Forms.Cursors.Default
Me._Command1_2.Enabled = False
Me._Command1_2.Image = CType(resources.GetObject("_Command1_2.Image"), System.Drawing.Bitmap)
Me.Command1.SetIndex(Me._Command1_2, CType(2, Short))
Me._Command1_2.Location = New System.Drawing.Point(319, 194)
Me._Command1_2.Name = "_Command1_2"
Me._Command1_2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Command1_2.Size = New System.Drawing.Size(43, 26)
Me._Command1_2.TabIndex = 1
Me._Command1_2.TextAlign = System.Drawing.ContentAlignment.BottomCenter
Me.ToolTip1.SetToolTip(Me._Command1_2, "停止")
'
'StatusBar1
'
Me.StatusBar1.Dock = System.Windows.Forms.DockStyle.Bottom
Me.StatusBar1.Location = New System.Drawing.Point(0, 412)
Me.StatusBar1.Name = "StatusBar1"
Me.StatusBar1.OcxState = CType(resources.GetObject("StatusBar1.OcxState"), System.Windows.Forms.AxHost.State)
Me.StatusBar1.Size = New System.Drawing.Size(556, 23)
Me.StatusBar1.TabIndex = 27
'
'MName
'
Me.MName.AutoSize = True
Me.MName.BackColor = System.Drawing.SystemColors.Control
Me.MName.Cursor = System.Windows.Forms.Cursors.Default
Me.MName.ForeColor = System.Drawing.SystemColors.ControlText
Me.MName.Location = New System.Drawing.Point(12, 17)
Me.MName.Name = "MName"
Me.MName.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.MName.Size = New System.Drawing.Size(66, 14)
Me.MName.TabIndex = 6
Me.MName.Text = "曲目:未知"
'
'Check2
'
Me.Check2.Appearance = System.Windows.Forms.Appearance.Button
Me.Check2.BackColor = System.Drawing.SystemColors.Control
Me.Check2.Cursor = System.Windows.Forms.Cursors.Default
Me.Check2.ForeColor = System.Drawing.SystemColors.ControlText
Me.Check2.Image = CType(resources.GetObject("Check2.Image"), System.Drawing.Bitmap)
Me.Check2.Location = New System.Drawing.Point(143, 194)
Me.Check2.Name = "Check2"
Me.Check2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Check2.Size = New System.Drawing.Size(44, 26)
Me.Check2.TabIndex = 35
Me.Check2.TextAlign = System.Drawing.ContentAlignment.BottomCenter
Me.ToolTip1.SetToolTip(Me.Check2, "注册控件、联系作者")
'
'Pbar
'
Me.Pbar.Location = New System.Drawing.Point(8, 163)
Me.Pbar.Name = "Pbar"
Me.Pbar.OcxState = CType(resources.GetObject("Pbar.OcxState"), System.Windows.Forms.AxHost.State)
Me.Pbar.Size = New System.Drawing.Size(527, 12)
Me.Pbar.TabIndex = 23
'
'Sder
'
Me.Sder.Location = New System.Drawing.Point(0, 142)
Me.Sder.Name = "Sder"
Me.Sder.OcxState = CType(resources.GetObject("Sder.OcxState"), System.Windows.Forms.AxHost.State)
Me.Sder.Size = New System.Drawing.Size(543, 19)
Me.Sder.TabIndex = 13
'
'BitS
'
Me.BitS.AutoSize = True
Me.BitS.BackColor = System.Drawing.SystemColors.Control
Me.BitS.Cursor = System.Windows.Forms.Cursors.Default
Me.BitS.ForeColor = System.Drawing.SystemColors.ControlText
Me.BitS.Location = New System.Drawing.Point(12, 87)
Me.BitS.Name = "BitS"
Me.BitS.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.BitS.Size = New System.Drawing.Size(85, 14)
Me.BitS.TabIndex = 10
Me.BitS.Text = "BitRate:未知"
'
'_Command1_8
'
Me._Command1_8.BackColor = System.Drawing.SystemColors.Control
Me._Command1_8.Cursor = System.Windows.Forms.Cursors.Default
Me._Command1_8.Image = CType(resources.GetObject("_Command1_8.Image"), System.Drawing.Bitmap)
Me.Command1.SetIndex(Me._Command1_8, CType(8, Short))
Me._Command1_8.Location = New System.Drawing.Point(236, 194)
Me._Command1_8.Name = "_Command1_8"
Me._Command1_8.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Command1_8.Size = New System.Drawing.Size(43, 26)
Me._Command1_8.TabIndex = 26
Me._Command1_8.TextAlign = System.Drawing.ContentAlignment.BottomCenter
Me.ToolTip1.SetToolTip(Me._Command1_8, "倒退100帧")
'
'_Command1_7
'
Me._Command1_7.BackColor = System.Drawing.SystemColors.Control
Me._Command1_7.Cursor = System.Windows.Forms.Cursors.Default
Me._Command1_7.Image = CType(resources.GetObject("_Command1_7.Image"), System.Drawing.Bitmap)
Me.Command1.SetIndex(Me._Command1_7, CType(7, Short))
Me._Command1_7.Location = New System.Drawing.Point(276, 194)
Me._Command1_7.Name = "_Command1_7"
Me._Command1_7.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Command1_7.Size = New System.Drawing.Size(44, 26)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -