Namespace ProxySample
	Partial Public Class Sample
		''' <summary>
		''' Required designer variable.
		''' </summary>
		Private components As System.ComponentModel.IContainer = Nothing

		''' <summary>
		''' Clean up any resources being used.
		''' </summary>
		''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		Protected Overrides Sub Dispose(ByVal disposing As Boolean)
			If disposing AndAlso (components IsNot Nothing) Then
				components.Dispose()
			End If
			MyBase.Dispose(disposing)
		End Sub

		#Region "Windows Form Designer generated code"

		''' <summary>
		''' Required method for Designer support - do not modify
		''' the contents of this method with the code editor.
		''' </summary>
		Private Sub InitializeComponent()
			Me.components = New System.ComponentModel.Container()
			Me.btnGet = New System.Windows.Forms.Button()
			Me.txtUserName = New System.Windows.Forms.TextBox()
			Me.lblUserName = New System.Windows.Forms.Label()
			Me.grbSettings = New System.Windows.Forms.GroupBox()
			Me.lblMethod = New System.Windows.Forms.Label()
			Me.txtDomain = New System.Windows.Forms.TextBox()
			Me.lblDomain = New System.Windows.Forms.Label()
			Me.cbxMethod = New System.Windows.Forms.ComboBox()
			Me.label2 = New System.Windows.Forms.Label()
			Me.txtProxyPort = New System.Windows.Forms.TextBox()
			Me.lblProxyPort = New System.Windows.Forms.Label()
			Me.txtProxyHost = New System.Windows.Forms.TextBox()
			Me.lblProxyServer = New System.Windows.Forms.Label()
			Me.cbxType = New System.Windows.Forms.ComboBox()
			Me.txtPassword = New System.Windows.Forms.TextBox()
			Me.lblPassword = New System.Windows.Forms.Label()
			Me.lblHost = New System.Windows.Forms.Label()
			Me.txtHost = New System.Windows.Forms.TextBox()
			Me.lblPort = New System.Windows.Forms.Label()
			Me.txtPort = New System.Windows.Forms.TextBox()
			Me.grbHost = New System.Windows.Forms.GroupBox()
			Me.grbContent = New System.Windows.Forms.GroupBox()
			Me.txtContent = New System.Windows.Forms.TextBox()
			Me.lblTime = New System.Windows.Forms.Label()
			Me.proxyClient = New ComponentPro.Net.ProxyClient(Me.components)
			Me.grbSettings.SuspendLayout()
			Me.grbHost.SuspendLayout()
			Me.grbContent.SuspendLayout()
			Me.SuspendLayout()
			' 
			' btnGet
			' 
			Me.btnGet.Anchor = (CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles))
			Me.btnGet.Location = New System.Drawing.Point(454, 486)
			Me.btnGet.Name = "btnGet"
			Me.btnGet.Size = New System.Drawing.Size(75, 23)
			Me.btnGet.TabIndex = 20
			Me.btnGet.Text = "Get"
'			Me.btnGet.Click += New System.EventHandler(Me.btnGet_Click)
			' 
			' txtUserName
			' 
			Me.txtUserName.Location = New System.Drawing.Point(76, 40)
			Me.txtUserName.Name = "txtUserName"
			Me.txtUserName.Size = New System.Drawing.Size(126, 20)
			Me.txtUserName.TabIndex = 4
			' 
			' lblUserName
			' 
			Me.lblUserName.AutoSize = True
			Me.lblUserName.Location = New System.Drawing.Point(8, 42)
			Me.lblUserName.Name = "lblUserName"
			Me.lblUserName.Size = New System.Drawing.Size(63, 13)
			Me.lblUserName.TabIndex = 9
			Me.lblUserName.Text = "User Name:"
			' 
			' grbSettings
			' 
			Me.grbSettings.Controls.Add(Me.lblMethod)
			Me.grbSettings.Controls.Add(Me.txtDomain)
			Me.grbSettings.Controls.Add(Me.lblDomain)
			Me.grbSettings.Controls.Add(Me.cbxMethod)
			Me.grbSettings.Controls.Add(Me.label2)
			Me.grbSettings.Controls.Add(Me.txtProxyPort)
			Me.grbSettings.Controls.Add(Me.lblProxyPort)
			Me.grbSettings.Controls.Add(Me.txtProxyHost)
			Me.grbSettings.Controls.Add(Me.lblProxyServer)
			Me.grbSettings.Controls.Add(Me.cbxType)
			Me.grbSettings.Controls.Add(Me.txtPassword)
			Me.grbSettings.Controls.Add(Me.lblPassword)
			Me.grbSettings.Controls.Add(Me.txtUserName)
			Me.grbSettings.Controls.Add(Me.lblUserName)
			Me.grbSettings.Location = New System.Drawing.Point(6, 6)
			Me.grbSettings.Name = "grbSettings"
			Me.grbSettings.Size = New System.Drawing.Size(522, 95)
			Me.grbSettings.TabIndex = 11
			Me.grbSettings.TabStop = False
			Me.grbSettings.Text = "Proxy Settings"
			' 
			' lblMethod
			' 
			Me.lblMethod.AutoSize = True
			Me.lblMethod.Location = New System.Drawing.Point(216, 68)
			Me.lblMethod.Name = "lblMethod"
			Me.lblMethod.Size = New System.Drawing.Size(46, 13)
			Me.lblMethod.TabIndex = 19
			Me.lblMethod.Text = "Method:"
			' 
			' txtDomain
			' 
			Me.txtDomain.Location = New System.Drawing.Point(76, 65)
			Me.txtDomain.Name = "txtDomain"
			Me.txtDomain.Size = New System.Drawing.Size(126, 20)
			Me.txtDomain.TabIndex = 6
			' 
			' lblDomain
			' 
			Me.lblDomain.AutoSize = True
			Me.lblDomain.Location = New System.Drawing.Point(8, 67)
			Me.lblDomain.Name = "lblDomain"
			Me.lblDomain.Size = New System.Drawing.Size(46, 13)
			Me.lblDomain.TabIndex = 18
			Me.lblDomain.Text = "Domain:"
			' 
			' cbxMethod
			' 
			Me.cbxMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
			Me.cbxMethod.FormattingEnabled = True
			Me.cbxMethod.Items.AddRange(New Object() { "Basic", "Ntlm"})
			Me.cbxMethod.Location = New System.Drawing.Point(276, 65)
			Me.cbxMethod.Name = "cbxMethod"
			Me.cbxMethod.Size = New System.Drawing.Size(126, 21)
			Me.cbxMethod.TabIndex = 7
'			Me.cbxMethod.SelectedIndexChanged += New System.EventHandler(Me.cbx_SelectedIndexChanged)
			' 
			' label2
			' 
			Me.label2.Location = New System.Drawing.Point(346, 18)
			Me.label2.Name = "label2"
			Me.label2.Size = New System.Drawing.Size(68, 18)
			Me.label2.TabIndex = 16
			Me.label2.Text = "Proxy Type:"
			' 
			' txtProxyPort
			' 
			Me.txtProxyPort.Location = New System.Drawing.Point(276, 16)
			Me.txtProxyPort.Name = "txtProxyPort"
			Me.txtProxyPort.Size = New System.Drawing.Size(60, 20)
			Me.txtProxyPort.TabIndex = 2
			' 
			' lblProxyPort
			' 
			Me.lblProxyPort.Location = New System.Drawing.Point(216, 18)
			Me.lblProxyPort.Name = "lblProxyPort"
			Me.lblProxyPort.Size = New System.Drawing.Size(68, 18)
			Me.lblProxyPort.TabIndex = 15
			Me.lblProxyPort.Text = "Proxy Port:"
			' 
			' txtProxyHost
			' 
			Me.txtProxyHost.Location = New System.Drawing.Point(76, 16)
			Me.txtProxyHost.Name = "txtProxyHost"
			Me.txtProxyHost.Size = New System.Drawing.Size(126, 20)
			Me.txtProxyHost.TabIndex = 1
			' 
			' lblProxyServer
			' 
			Me.lblProxyServer.Location = New System.Drawing.Point(8, 18)
			Me.lblProxyServer.Name = "lblProxyServer"
			Me.lblProxyServer.Size = New System.Drawing.Size(82, 18)
			Me.lblProxyServer.TabIndex = 14
			Me.lblProxyServer.Text = "Proxy Server:"
			' 
			' cbxType
			' 
			Me.cbxType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
			Me.cbxType.FormattingEnabled = True
			Me.cbxType.Items.AddRange(New Object() { "None", "Socks4", "Socks4a", "Socks5", "HttpConnect"})
			Me.cbxType.Location = New System.Drawing.Point(420, 14)
			Me.cbxType.Name = "cbxType"
			Me.cbxType.Size = New System.Drawing.Size(92, 21)
			Me.cbxType.TabIndex = 3
'			Me.cbxType.SelectedIndexChanged += New System.EventHandler(Me.cbx_SelectedIndexChanged)
			' 
			' txtPassword
			' 
			Me.txtPassword.Location = New System.Drawing.Point(276, 40)
			Me.txtPassword.Name = "txtPassword"
			Me.txtPassword.PasswordChar = "*"c
			Me.txtPassword.Size = New System.Drawing.Size(126, 20)
			Me.txtPassword.TabIndex = 5
			' 
			' lblPassword
			' 
			Me.lblPassword.Location = New System.Drawing.Point(216, 42)
			Me.lblPassword.Name = "lblPassword"
			Me.lblPassword.Size = New System.Drawing.Size(68, 18)
			Me.lblPassword.TabIndex = 11
			Me.lblPassword.Text = "Password:"
			' 
			' lblHost
			' 
			Me.lblHost.Location = New System.Drawing.Point(8, 18)
			Me.lblHost.Name = "lblHost"
			Me.lblHost.Size = New System.Drawing.Size(68, 18)
			Me.lblHost.TabIndex = 9
			Me.lblHost.Text = "Host Name:"
			' 
			' txtHost
			' 
			Me.txtHost.Location = New System.Drawing.Point(76, 16)
			Me.txtHost.Name = "txtHost"
			Me.txtHost.Size = New System.Drawing.Size(436, 20)
			Me.txtHost.TabIndex = 10
			Me.txtHost.Text = "www.yahoo.com"
			' 
			' lblPort
			' 
			Me.lblPort.Location = New System.Drawing.Point(8, 42)
			Me.lblPort.Name = "lblPort"
			Me.lblPort.Size = New System.Drawing.Size(68, 18)
			Me.lblPort.TabIndex = 11
			Me.lblPort.Text = "Port"
			' 
			' txtPort
			' 
			Me.txtPort.Location = New System.Drawing.Point(76, 40)
			Me.txtPort.Name = "txtPort"
			Me.txtPort.Size = New System.Drawing.Size(68, 20)
			Me.txtPort.TabIndex = 11
			Me.txtPort.Text = "80"
			' 
			' grbHost
			' 
			Me.grbHost.Anchor = (CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles))
			Me.grbHost.Controls.Add(Me.txtPort)
			Me.grbHost.Controls.Add(Me.lblPort)
			Me.grbHost.Controls.Add(Me.txtHost)
			Me.grbHost.Controls.Add(Me.lblHost)
			Me.grbHost.Location = New System.Drawing.Point(6, 104)
			Me.grbHost.Name = "grbHost"
			Me.grbHost.Size = New System.Drawing.Size(522, 68)
			Me.grbHost.TabIndex = 12
			Me.grbHost.TabStop = False
			Me.grbHost.Text = "Host"
			' 
			' grbContent
			' 
			Me.grbContent.Anchor = (CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles))
			Me.grbContent.Controls.Add(Me.txtContent)
			Me.grbContent.Location = New System.Drawing.Point(6, 173)
			Me.grbContent.Name = "grbContent"
			Me.grbContent.Size = New System.Drawing.Size(522, 309)
			Me.grbContent.TabIndex = 13
			Me.grbContent.TabStop = False
			Me.grbContent.Text = "Content"
			' 
			' txtContent
			' 
			Me.txtContent.Anchor = (CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles))
			Me.txtContent.BackColor = System.Drawing.Color.White
			Me.txtContent.Location = New System.Drawing.Point(9, 16)
			Me.txtContent.Multiline = True
			Me.txtContent.Name = "txtContent"
			Me.txtContent.ReadOnly = True
			Me.txtContent.ScrollBars = System.Windows.Forms.ScrollBars.Both
			Me.txtContent.Size = New System.Drawing.Size(504, 283)
			Me.txtContent.TabIndex = 12
			' 
			' lblTime
			' 
			Me.lblTime.AutoSize = True
			Me.lblTime.Location = New System.Drawing.Point(9, 493)
			Me.lblTime.Name = "lblTime"
			Me.lblTime.Size = New System.Drawing.Size(38, 13)
			Me.lblTime.TabIndex = 15
			Me.lblTime.Text = "Ready"
			' 
			' Sample
			' 
			Me.AcceptButton = Me.btnGet
			Me.AutoScaleDimensions = New System.Drawing.SizeF(6F, 13F)
			Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
			Me.ClientSize = New System.Drawing.Size(538, 518)
			Me.Controls.Add(Me.lblTime)
			Me.Controls.Add(Me.grbContent)
			Me.Controls.Add(Me.grbHost)
			Me.Controls.Add(Me.grbSettings)
			Me.Controls.Add(Me.btnGet)
			Me.Cursor = System.Windows.Forms.Cursors.Default
			Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
			Me.MaximizeBox = False
			Me.MinimizeBox = False
			Me.Name = "Sample"
			Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
			Me.Text = "Proxy Sample"
			Me.grbSettings.ResumeLayout(False)
			Me.grbSettings.PerformLayout()
			Me.grbHost.ResumeLayout(False)
			Me.grbHost.PerformLayout()
			Me.grbContent.ResumeLayout(False)
			Me.grbContent.PerformLayout()
			Me.ResumeLayout(False)
			Me.PerformLayout()

		End Sub

		#End Region

		Private WithEvents btnGet As System.Windows.Forms.Button
		Private txtUserName As System.Windows.Forms.TextBox
		Private lblUserName As System.Windows.Forms.Label
		Private grbSettings As System.Windows.Forms.GroupBox
		Private WithEvents cbxType As System.Windows.Forms.ComboBox
		Private txtPassword As System.Windows.Forms.TextBox
		Private lblPassword As System.Windows.Forms.Label
		Private lblHost As System.Windows.Forms.Label
		Private txtHost As System.Windows.Forms.TextBox
		Private lblPort As System.Windows.Forms.Label
		Private txtPort As System.Windows.Forms.TextBox
		Private grbHost As System.Windows.Forms.GroupBox
		Private grbContent As System.Windows.Forms.GroupBox
		Private txtContent As System.Windows.Forms.TextBox
		Private proxyClient As ComponentPro.Net.ProxyClient
		Private label2 As System.Windows.Forms.Label
		Private txtProxyPort As System.Windows.Forms.TextBox
		Private lblProxyPort As System.Windows.Forms.Label
		Private txtProxyHost As System.Windows.Forms.TextBox
		Private lblProxyServer As System.Windows.Forms.Label
		Private WithEvents cbxMethod As System.Windows.Forms.ComboBox
		Private lblTime As System.Windows.Forms.Label
		Private lblMethod As System.Windows.Forms.Label
		Private txtDomain As System.Windows.Forms.TextBox
		Private lblDomain As System.Windows.Forms.Label
	End Class
End Namespace