Public Class FormURL
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        '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
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    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 Label1 As System.Windows.Forms.Label
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents TextBoxURL As System.Windows.Forms.TextBox
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents SWFRadioButton As System.Windows.Forms.RadioButton
    Friend WithEvents FLVRadioButton As System.Windows.Forms.RadioButton
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.Label1 = New System.Windows.Forms.Label
        Me.TextBoxURL = New System.Windows.Forms.TextBox
        Me.Button1 = New System.Windows.Forms.Button
        Me.Button2 = New System.Windows.Forms.Button
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.FLVRadioButton = New System.Windows.Forms.RadioButton
        Me.SWFRadioButton = New System.Windows.Forms.RadioButton
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(16, 16)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(32, 20)
        Me.Label1.TabIndex = 0
        Me.Label1.Text = "URL"
        '
        'TextBoxURL
        '
        Me.TextBoxURL.Location = New System.Drawing.Point(48, 16)
        Me.TextBoxURL.Name = "TextBoxURL"
        Me.TextBoxURL.Size = New System.Drawing.Size(296, 20)
        Me.TextBoxURL.TabIndex = 1
        Me.TextBoxURL.Text = ""
        '
        'Button1
        '
        Me.Button1.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.Button1.Location = New System.Drawing.Point(184, 168)
        Me.Button1.Name = "Button1"
        Me.Button1.TabIndex = 2
        Me.Button1.Text = "Open"
        '
        'Button2
        '
        Me.Button2.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Button2.Location = New System.Drawing.Point(269, 168)
        Me.Button2.Name = "Button2"
        Me.Button2.TabIndex = 3
        Me.Button2.Text = "Cancel"
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.FLVRadioButton)
        Me.GroupBox1.Controls.Add(Me.SWFRadioButton)
        Me.GroupBox1.Location = New System.Drawing.Point(16, 48)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(328, 104)
        Me.GroupBox1.TabIndex = 4
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "File Type"
        '
        'FLVRadioButton
        '
        Me.FLVRadioButton.Location = New System.Drawing.Point(16, 64)
        Me.FLVRadioButton.Name = "FLVRadioButton"
        Me.FLVRadioButton.Size = New System.Drawing.Size(152, 24)
        Me.FLVRadioButton.TabIndex = 1
        Me.FLVRadioButton.Text = "FLV (Flash video)"
        '
        'SWFRadioButton
        '
        Me.SWFRadioButton.Location = New System.Drawing.Point(16, 32)
        Me.SWFRadioButton.Name = "SWFRadioButton"
        Me.SWFRadioButton.TabIndex = 0
        Me.SWFRadioButton.Text = "SWF"
        '
        'FormURL
        '
        Me.AcceptButton = Me.Button1
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.CancelButton = Me.Button2
        Me.ClientSize = New System.Drawing.Size(352, 198)
        Me.Controls.Add(Me.GroupBox1)
        Me.Controls.Add(Me.Button2)
        Me.Controls.Add(Me.Button1)
        Me.Controls.Add(Me.TextBoxURL)
        Me.Controls.Add(Me.Label1)
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "FormURL"
        Me.ShowInTaskbar = False
        Me.Text = "FormURL"
        Me.GroupBox1.ResumeLayout(False)
        Me.ResumeLayout(False)

    End Sub

#End Region

    Public URL As String
    Public IsFLV As Boolean

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.URL = TextBoxURL.Text
        Me.IsFLV = FLVRadioButton.Checked
    End Sub

    Private Sub FormURL_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        SWFRadioButton.Checked = True
        IsFLV = False
    End Sub
End Class
