Click here to Skip to main content
13,803,676 members
Click here to Skip to main content


106 bookmarked
Posted 8 Apr 2004

Windows Media Audio compressor

, 8 Apr 2004
Managed C++ Windows Media Audio (WMA) compressor.
Public Class Config
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()

        'This call is required by the Windows Form Designer.

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
            End If
        End If
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
  Friend WithEvents ButtonOK As System.Windows.Forms.Button
  Friend WithEvents ButtonApply As System.Windows.Forms.Button
  Friend WithEvents ButtonCancel As System.Windows.Forms.Button
  Friend WithEvents EditWmaWriter1 As WmaUserCtrls.EditWmaWriter
  <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
    Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Config))
    Me.ButtonOK = New System.Windows.Forms.Button
    Me.ButtonApply = New System.Windows.Forms.Button
    Me.ButtonCancel = New System.Windows.Forms.Button
    Me.EditWmaWriter1 = New WmaUserCtrls.EditWmaWriter
    Me.ButtonOK.DialogResult = System.Windows.Forms.DialogResult.OK
    Me.ButtonOK.Location = New System.Drawing.Point(336, 8)
    Me.ButtonOK.Name = "ButtonOK"
    Me.ButtonOK.TabIndex = 1
    Me.ButtonOK.Text = "Ok"
    Me.ButtonApply.Enabled = False
    Me.ButtonApply.Location = New System.Drawing.Point(336, 40)
    Me.ButtonApply.Name = "ButtonApply"
    Me.ButtonApply.TabIndex = 2
    Me.ButtonApply.Text = "Apply"
    Me.ButtonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
    Me.ButtonCancel.Location = New System.Drawing.Point(336, 72)
    Me.ButtonCancel.Name = "ButtonCancel"
    Me.ButtonCancel.TabIndex = 3
    Me.ButtonCancel.Text = "Cancel"
    Me.EditWmaWriter1.Config = CType(resources.GetObject("EditWmaWriter1.Config"), Yeti.MMedia.AudioWriterConfig)
    Me.EditWmaWriter1.InFormatReadOnly = True
    Me.EditWmaWriter1.Location = New System.Drawing.Point(8, 8)
    Me.EditWmaWriter1.Name = "EditWmaWriter1"
    Me.EditWmaWriter1.Size = New System.Drawing.Size(320, 184)
    Me.EditWmaWriter1.TabIndex = 4
    Me.AcceptButton = Me.ButtonOK
    Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
    Me.CancelButton = Me.ButtonCancel
    Me.ClientSize = New System.Drawing.Size(418, 197)
    Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
    Me.MaximizeBox = False
    Me.MinimizeBox = False
    Me.Name = "Config"
    Me.ShowInTaskbar = False
    Me.Text = "Config"

  End Sub

#End Region

  Private Sub EditWmaWriter1_ConfigChange(ByVal sender As Object, ByVal e As System.EventArgs) Handles EditWmaWriter1.ConfigChange
    ButtonApply.Enabled = True
  End Sub

  Private Sub ButtonApply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonApply.Click
    ButtonApply.Enabled = False
  End Sub
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Idael Cardoso
Web Developer
France France
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web06 | 2.8.181215.1 | Last Updated 9 Apr 2004
Article Copyright 2004 by Idael Cardoso
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid