wsclient.designer.vb
来自「wrox出版社的另一套经典的VB2005数据库编程学习书籍,收集了书中源码,郑重」· VB 代码 · 共 118 行
VB
118 行
Partial Public Class WSClient
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.dgvTable = New System.Windows.Forms.DataGridView
Me.btnLoadCustsDS = New System.Windows.Forms.Button
Me.btnUpdateDS = New System.Windows.Forms.Button
Me.btnLoadOrdersDS = New System.Windows.Forms.Button
Me.mtbCustID = New System.Windows.Forms.MaskedTextBox
Me.lblCustID = New System.Windows.Forms.Label
CType(Me.dgvTable, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'dgvTable
'
Me.dgvTable.Location = New System.Drawing.Point(18, 17)
Me.dgvTable.Name = "dgvTable"
Me.dgvTable.Size = New System.Drawing.Size(506, 239)
Me.dgvTable.TabIndex = 0
Me.dgvTable.TabStop = False
'
'btnLoadCustsDS
'
Me.btnLoadCustsDS.Location = New System.Drawing.Point(18, 275)
Me.btnLoadCustsDS.Name = "btnLoadCustsDS"
Me.btnLoadCustsDS.Size = New System.Drawing.Size(141, 23)
Me.btnLoadCustsDS.TabIndex = 1
Me.btnLoadCustsDS.Text = "Load &Customers DataSet"
'
'btnUpdateDS
'
Me.btnUpdateDS.Enabled = False
Me.btnUpdateDS.Location = New System.Drawing.Point(432, 278)
Me.btnUpdateDS.Name = "btnUpdateDS"
Me.btnUpdateDS.Size = New System.Drawing.Size(94, 23)
Me.btnUpdateDS.TabIndex = 5
Me.btnUpdateDS.Text = "&Update DataSet"
'
'btnLoadOrdersDS
'
Me.btnLoadOrdersDS.Location = New System.Drawing.Point(296, 278)
Me.btnLoadOrdersDS.Name = "btnLoadOrdersDS"
Me.btnLoadOrdersDS.Size = New System.Drawing.Size(116, 23)
Me.btnLoadOrdersDS.TabIndex = 4
Me.btnLoadOrdersDS.Text = "Load &Orders DataSet"
'
'mtbCustID
'
Me.mtbCustID.Location = New System.Drawing.Point(241, 278)
Me.mtbCustID.Mask = ">?????"
Me.mtbCustID.Name = "mtbCustID"
Me.mtbCustID.Size = New System.Drawing.Size(43, 20)
Me.mtbCustID.TabIndex = 3
'
'lblCustID
'
Me.lblCustID.AutoSize = True
Me.lblCustID.Location = New System.Drawing.Point(176, 280)
Me.lblCustID.Name = "lblCustID"
Me.lblCustID.Size = New System.Drawing.Size(68, 14)
Me.lblCustID.TabIndex = 2
Me.lblCustID.Text = "Customer&ID:"
'
'WSClient
'
'Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(547, 323)
Me.Controls.Add(Me.mtbCustID)
Me.Controls.Add(Me.btnLoadOrdersDS)
Me.Controls.Add(Me.btnUpdateDS)
Me.Controls.Add(Me.btnLoadCustsDS)
Me.Controls.Add(Me.dgvTable)
Me.Controls.Add(Me.lblCustID)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "WSClient"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "DataSetWS Web Service Client"
CType(Me.dgvTable, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents dgvTable As System.Windows.Forms.DataGridView
Friend WithEvents btnLoadCustsDS As System.Windows.Forms.Button
Friend WithEvents btnUpdateDS As System.Windows.Forms.Button
Friend WithEvents btnLoadOrdersDS As System.Windows.Forms.Button
Friend WithEvents mtbCustID As System.Windows.Forms.MaskedTextBox
Friend WithEvents lblCustID As System.Windows.Forms.Label
End Class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?