📄 getwavinfo.vb
字号:
Option Strict Off
Option Explicit On
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 CMDialog1 As AxMSComDlg.AxCommonDialog
Public WithEvents PLAY As System.Windows.Forms.Button
Public WithEvents DISPLAY As System.Windows.Forms.Button
Public WithEvents OPEN As System.Windows.Forms.Button
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
Friend WithEvents TextBox7 As System.Windows.Forms.TextBox
Friend WithEvents TextBox8 As System.Windows.Forms.TextBox
Friend WithEvents TextBox9 As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
Public WithEvents Text1 As System.Windows.Forms.TextBox
'注意:以下过程是 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.Label5 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.DISPLAY = New System.Windows.Forms.Button()
Me.TextBox8 = New System.Windows.Forms.TextBox()
Me.CMDialog1 = New AxMSComDlg.AxCommonDialog()
Me.TextBox3 = New System.Windows.Forms.TextBox()
Me.TextBox2 = New System.Windows.Forms.TextBox()
Me.Text1 = New System.Windows.Forms.TextBox()
Me.TextBox1 = New System.Windows.Forms.TextBox()
Me.TextBox6 = New System.Windows.Forms.TextBox()
Me.TextBox7 = New System.Windows.Forms.TextBox()
Me.TextBox4 = New System.Windows.Forms.TextBox()
Me.TextBox5 = New System.Windows.Forms.TextBox()
Me.OPEN = New System.Windows.Forms.Button()
Me.TextBox9 = New System.Windows.Forms.TextBox()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.PLAY = New System.Windows.Forms.Button()
CType(Me.CMDialog1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 120)
Me.Label5.Name = "Label5"
Me.Label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label5.Size = New System.Drawing.Size(128, 16)
Me.Label5.TabIndex = 6
Me.Label5.Text = "Wave_Format"
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 168)
Me.Label7.Name = "Label7"
Me.Label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label7.Size = New System.Drawing.Size(128, 16)
Me.Label7.TabIndex = 6
Me.Label7.Text = "SamplesPerSecond"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 24)
Me.Label1.Name = "Label1"
Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label1.Size = New System.Drawing.Size(128, 16)
Me.Label1.TabIndex = 6
Me.Label1.Text = "Riff_Format"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 48)
Me.Label2.Name = "Label2"
Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label2.Size = New System.Drawing.Size(128, 16)
Me.Label2.TabIndex = 6
Me.Label2.Text = "chunk_size"
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(16, 72)
Me.Label3.Name = "Label3"
Me.Label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label3.Size = New System.Drawing.Size(128, 16)
Me.Label3.TabIndex = 6
Me.Label3.Text = "ChunkID"
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 144)
Me.Label6.Name = "Label6"
Me.Label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label6.Size = New System.Drawing.Size(128, 16)
Me.Label6.TabIndex = 6
Me.Label6.Text = "Channels"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 96)
Me.Label4.Name = "Label4"
Me.Label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Me.Label4.Size = New System.Drawing.Size(128, 16)
Me.Label4.TabIndex = 6
Me.Label4.Text = "fmt"
'
'DISPLAY
'
Me.DISPLAY.BackColor = System.Drawing.SystemColors.Control
Me.DISPLAY.Cursor = System.Windows.Forms.Cursors.Default
Me.DISPLAY.Location = New System.Drawing.Point(287, 136)
Me.DISPLAY.Name = "DISPLAY"
Me.DISPLAY.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.DISPLAY.Size = New System.Drawing.Size(196, 38)
Me.DISPLAY.TabIndex = 3
Me.DISPLAY.Text = "显示WAV文件的信息"
'
'TextBox8
'
Me.TextBox8.Location = New System.Drawing.Point(152, 192)
Me.TextBox8.Name = "TextBox8"
Me.TextBox8.Size = New System.Drawing.Size(104, 21)
Me.TextBox8.TabIndex = 5
Me.TextBox8.Text = "TextBox8"
'
'CMDialog1
'
Me.CMDialog1.Enabled = True
Me.CMDialog1.Location = New System.Drawing.Point(461, 176)
Me.CMDialog1.Name = "CMDialog1"
Me.CMDialog1.OcxState = CType(resources.GetObject("CMDialog1.OcxState"), System.Windows.Forms.AxHost.State)
Me.CMDialog1.Size = New System.Drawing.Size(32, 32)
Me.CMDialog1.TabIndex = 0
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(152, 72)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(104, 21)
Me.TextBox3.TabIndex = 5
Me.TextBox3.Text = "TextBox3"
'
'TextBox2
'
Me.TextBox2.Location = New System.Drawing.Point(152, 48)
Me.TextBox2.Name = "TextBox2"
Me.TextBox2.Size = New System.Drawing.Size(104, 21)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -