📄 helloworld.designer.vb
字号:
Partial Public Class frmWSTest
Inherits System.Windows.Forms.Form
<System.Diagnostics.DebuggerNonUserCode()> _
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
End Sub
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
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.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.btnInvoke = New System.Windows.Forms.Button
Me.txtURL = New System.Windows.Forms.TextBox
Me.lblURL = New System.Windows.Forms.Label
Me.chkSoap12 = New System.Windows.Forms.CheckBox
Me.txtTimeout = New System.Windows.Forms.TextBox
Me.txtUserAgent = New System.Windows.Forms.TextBox
Me.txtResult = New System.Windows.Forms.TextBox
Me.lblTimeout = New System.Windows.Forms.Label
Me.lblUserAgent = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.chkCredentials = New System.Windows.Forms.CheckBox
Me.gbAuthentication = New System.Windows.Forms.GroupBox
Me.optWindows = New System.Windows.Forms.RadioButton
Me.optDigest = New System.Windows.Forms.RadioButton
Me.optBasic = New System.Windows.Forms.RadioButton
Me.lblPassword = New System.Windows.Forms.Label
Me.lblUserName = New System.Windows.Forms.Label
Me.lblDomain = New System.Windows.Forms.Label
Me.txtPassword = New System.Windows.Forms.TextBox
Me.txtUserName = New System.Windows.Forms.TextBox
Me.txtDomain = New System.Windows.Forms.TextBox
Me.txtTime = New System.Windows.Forms.TextBox
Me.lblTime = New System.Windows.Forms.Label
Me.lblMs = New System.Windows.Forms.Label
Me.chkGZIP = New System.Windows.Forms.CheckBox
Me.DcOrdersWS1 = New DCOrdersWSClient.DCOrdersWS.DCOrdersWS
Me.gbAuthentication.SuspendLayout()
Me.SuspendLayout()
'
'btnInvoke
'
Me.btnInvoke.Location = New System.Drawing.Point(142, 251)
Me.btnInvoke.Name = "btnInvoke"
Me.btnInvoke.Size = New System.Drawing.Size(181, 23)
Me.btnInvoke.TabIndex = 0
Me.btnInvoke.Text = "Invoke HelloWorld Web Method"
'
'txtURL
'
Me.txtURL.Location = New System.Drawing.Point(61, 13)
Me.txtURL.Name = "txtURL"
Me.txtURL.Size = New System.Drawing.Size(324, 20)
Me.txtURL.TabIndex = 1
'
'lblURL
'
Me.lblURL.AutoSize = True
Me.lblURL.Location = New System.Drawing.Point(24, 16)
Me.lblURL.Name = "lblURL"
Me.lblURL.Size = New System.Drawing.Size(28, 13)
Me.lblURL.TabIndex = 2
Me.lblURL.Text = "URL:"
'
'chkSoap12
'
Me.chkSoap12.AutoSize = True
Me.chkSoap12.Location = New System.Drawing.Point(309, 118)
Me.chkSoap12.Name = "chkSoap12"
Me.chkSoap12.Size = New System.Drawing.Size(112, 17)
Me.chkSoap12.TabIndex = 3
Me.chkSoap12.Text = "Request SOAP 1.2"
'
'txtTimeout
'
Me.txtTimeout.Location = New System.Drawing.Point(92, 43)
Me.txtTimeout.Name = "txtTimeout"
Me.txtTimeout.Size = New System.Drawing.Size(53, 20)
Me.txtTimeout.TabIndex = 4
'
'txtUserAgent
'
Me.txtUserAgent.AutoSize = False
Me.txtUserAgent.Location = New System.Drawing.Point(92, 73)
Me.txtUserAgent.Multiline = True
Me.txtUserAgent.Name = "txtUserAgent"
Me.txtUserAgent.Size = New System.Drawing.Size(293, 38)
Me.txtUserAgent.TabIndex = 5
'
'txtResult
'
Me.txtResult.Location = New System.Drawing.Point(162, 281)
Me.txtResult.Name = "txtResult"
Me.txtResult.Size = New System.Drawing.Size(73, 20)
Me.txtResult.TabIndex = 6
'
'lblTimeout
'
Me.lblTimeout.AutoSize = True
Me.lblTimeout.Location = New System.Drawing.Point(22, 45)
Me.lblTimeout.Name = "lblTimeout"
Me.lblTimeout.Size = New System.Drawing.Size(63, 13)
Me.lblTimeout.TabIndex = 7
Me.lblTimeout.Text = "Timeout, ms:"
'
'lblUserAgent
'
Me.lblUserAgent.AutoSize = True
Me.lblUserAgent.Location = New System.Drawing.Point(24, 76)
Me.lblUserAgent.Name = "lblUserAgent"
Me.lblUserAgent.Size = New System.Drawing.Size(56, 13)
Me.lblUserAgent.TabIndex = 8
Me.lblUserAgent.Text = "UserAgent:"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(116, 284)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(36, 13)
Me.Label1.TabIndex = 9
Me.Label1.Text = "Result:"
'
'chkCredentials
'
Me.chkCredentials.AutoSize = True
Me.chkCredentials.Location = New System.Drawing.Point(47, 118)
Me.chkCredentials.Name = "chkCredentials"
Me.chkCredentials.Size = New System.Drawing.Size(96, 17)
Me.chkCredentials.TabIndex = 10
Me.chkCredentials.Text = "Use Credentials"
'
'gbAuthentication
'
Me.gbAuthentication.Controls.Add(Me.optWindows)
Me.gbAuthentication.Controls.Add(Me.optDigest)
Me.gbAuthentication.Controls.Add(Me.optBasic)
Me.gbAuthentication.Controls.Add(Me.lblPassword)
Me.gbAuthentication.Controls.Add(Me.lblUserName)
Me.gbAuthentication.Controls.Add(Me.lblDomain)
Me.gbAuthentication.Controls.Add(Me.txtPassword)
Me.gbAuthentication.Controls.Add(Me.txtUserName)
Me.gbAuthentication.Controls.Add(Me.txtDomain)
Me.gbAuthentication.Location = New System.Drawing.Point(92, 142)
Me.gbAuthentication.Name = "gbAuthentication"
Me.gbAuthentication.Size = New System.Drawing.Size(293, 102)
Me.gbAuthentication.TabIndex = 13
Me.gbAuthentication.TabStop = False
Me.gbAuthentication.Text = "Web Service Client Authentication"
Me.gbAuthentication.Visible = False
'
'optWindows
'
Me.optWindows.AutoSize = True
Me.optWindows.Checked = True
Me.optWindows.Location = New System.Drawing.Point(174, 22)
Me.optWindows.Name = "optWindows"
Me.optWindows.Size = New System.Drawing.Size(65, 17)
Me.optWindows.TabIndex = 21
Me.optWindows.Text = "Windows"
'
'optDigest
'
Me.optDigest.AutoSize = True
Me.optDigest.Location = New System.Drawing.Point(174, 78)
Me.optDigest.Name = "optDigest"
Me.optDigest.Size = New System.Drawing.Size(75, 17)
Me.optDigest.TabIndex = 20
Me.optDigest.TabStop = False
Me.optDigest.Text = "Digest (AD)"
'
'optBasic
'
Me.optBasic.AutoSize = True
Me.optBasic.Location = New System.Drawing.Point(173, 49)
Me.optBasic.Name = "optBasic"
Me.optBasic.Size = New System.Drawing.Size(104, 17)
Me.optBasic.TabIndex = 19
Me.optBasic.TabStop = False
Me.optBasic.Text = "Basic (Clear Text)"
'
'lblPassword
'
Me.lblPassword.AutoSize = True
Me.lblPassword.Location = New System.Drawing.Point(7, 79)
Me.lblPassword.Margin = New System.Windows.Forms.Padding(3, 3, 1, 3)
Me.lblPassword.Name = "lblPassword"
Me.lblPassword.Size = New System.Drawing.Size(52, 13)
Me.lblPassword.TabIndex = 18
Me.lblPassword.Text = "Password:"
'
'lblUserName
'
Me.lblUserName.AutoSize = True
Me.lblUserName.Location = New System.Drawing.Point(7, 51)
Me.lblUserName.Margin = New System.Windows.Forms.Padding(3, 3, 1, 3)
Me.lblUserName.Name = "lblUserName"
Me.lblUserName.Size = New System.Drawing.Size(56, 13)
Me.lblUserName.TabIndex = 17
Me.lblUserName.Text = "UserName:"
'
'lblDomain
'
Me.lblDomain.AutoSize = True
Me.lblDomain.Location = New System.Drawing.Point(7, 23)
Me.lblDomain.Name = "lblDomain"
Me.lblDomain.Size = New System.Drawing.Size(42, 13)
Me.lblDomain.TabIndex = 16
Me.lblDomain.Text = "Domain:"
'
'txtPassword
'
Me.txtPassword.Location = New System.Drawing.Point(70, 76)
Me.txtPassword.Margin = New System.Windows.Forms.Padding(1, 3, 3, 3)
Me.txtPassword.Name = "txtPassword"
Me.txtPassword.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42)
Me.txtPassword.Size = New System.Drawing.Size(90, 20)
Me.txtPassword.TabIndex = 15
'
'txtUserName
'
Me.txtUserName.Location = New System.Drawing.Point(70, 48)
Me.txtUserName.Margin = New System.Windows.Forms.Padding(1, 3, 3, 3)
Me.txtUserName.Name = "txtUserName"
Me.txtUserName.Size = New System.Drawing.Size(90, 20)
Me.txtUserName.TabIndex = 14
'
'txtDomain
'
Me.txtDomain.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
Me.txtDomain.Location = New System.Drawing.Point(70, 20)
Me.txtDomain.Name = "txtDomain"
Me.txtDomain.Size = New System.Drawing.Size(90, 20)
Me.txtDomain.TabIndex = 13
'
'txtTime
'
Me.txtTime.Location = New System.Drawing.Point(285, 284)
Me.txtTime.Name = "txtTime"
Me.txtTime.Size = New System.Drawing.Size(40, 20)
Me.txtTime.TabIndex = 14
'
'lblTime
'
Me.lblTime.AutoSize = True
Me.lblTime.Location = New System.Drawing.Point(252, 287)
Me.lblTime.Name = "lblTime"
Me.lblTime.Size = New System.Drawing.Size(29, 13)
Me.lblTime.TabIndex = 15
Me.lblTime.Text = "Time:"
'
'lblMs
'
Me.lblMs.AutoSize = True
Me.lblMs.Location = New System.Drawing.Point(332, 287)
Me.lblMs.Name = "lblMs"
Me.lblMs.Size = New System.Drawing.Size(16, 13)
Me.lblMs.TabIndex = 16
Me.lblMs.Text = "ms"
'
'chkGZIP
'
Me.chkGZIP.AutoSize = True
Me.chkGZIP.Location = New System.Drawing.Point(162, 118)
Me.chkGZIP.Name = "chkGZIP"
Me.chkGZIP.Size = New System.Drawing.Size(132, 17)
Me.chkGZIP.TabIndex = 17
Me.chkGZIP.Text = "Use GZIP Compression"
'
'DcOrdersWS1
'
Me.DcOrdersWS1.Credentials = Nothing
Me.DcOrdersWS1.Url = "http://localhost:9120/DCOrdersWS/DCOrdersWS.asmx"
Me.DcOrdersWS1.UseDefaultCredentials = False
'
'frmWSTest
'
Me.ClientSize = New System.Drawing.Size(451, 313)
Me.Controls.Add(Me.chkGZIP)
Me.Controls.Add(Me.lblMs)
Me.Controls.Add(Me.lblTime)
Me.Controls.Add(Me.txtTime)
Me.Controls.Add(Me.gbAuthentication)
Me.Controls.Add(Me.chkCredentials)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.lblUserAgent)
Me.Controls.Add(Me.lblTimeout)
Me.Controls.Add(Me.txtResult)
Me.Controls.Add(Me.txtUserAgent)
Me.Controls.Add(Me.txtTimeout)
Me.Controls.Add(Me.chkSoap12)
Me.Controls.Add(Me.lblURL)
Me.Controls.Add(Me.txtURL)
Me.Controls.Add(Me.btnInvoke)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "frmWSTest"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "DCOrdersWS ""Hello World"" Test Client"
Me.gbAuthentication.ResumeLayout(False)
Me.gbAuthentication.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents btnInvoke As System.Windows.Forms.Button
Friend WithEvents txtURL As System.Windows.Forms.TextBox
Friend WithEvents lblURL As System.Windows.Forms.Label
Friend WithEvents chkSoap12 As System.Windows.Forms.CheckBox
Friend WithEvents txtTimeout As System.Windows.Forms.TextBox
Friend WithEvents txtUserAgent As System.Windows.Forms.TextBox
Friend WithEvents txtResult As System.Windows.Forms.TextBox
Friend WithEvents lblTimeout As System.Windows.Forms.Label
Friend WithEvents lblUserAgent As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents chkCredentials As System.Windows.Forms.CheckBox
Friend WithEvents gbAuthentication As System.Windows.Forms.GroupBox
Friend WithEvents txtPassword As System.Windows.Forms.TextBox
Friend WithEvents txtUserName As System.Windows.Forms.TextBox
Friend WithEvents txtDomain As System.Windows.Forms.TextBox
Friend WithEvents lblDomain As System.Windows.Forms.Label
Friend WithEvents lblUserName As System.Windows.Forms.Label
Friend WithEvents lblPassword As System.Windows.Forms.Label
Friend WithEvents optBasic As System.Windows.Forms.RadioButton
Friend WithEvents optDigest As System.Windows.Forms.RadioButton
Friend WithEvents optWindows As System.Windows.Forms.RadioButton
Friend WithEvents txtTime As System.Windows.Forms.TextBox
Friend WithEvents lblTime As System.Windows.Forms.Label
Friend WithEvents lblMs As System.Windows.Forms.Label
Friend WithEvents chkGZIP As System.Windows.Forms.CheckBox
Friend WithEvents DcOrdersWS1 As DCOrdersWSClient.DCOrdersWS.DCOrdersWS
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -