udttables.designer.vb

来自「wrox出版社的另一套经典的VB2005数据库编程学习书籍,收集了书中源码,郑重」· VB 代码 · 共 249 行

VB
249
字号
Partial Public Class frmTables
	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.components = New System.ComponentModel.Container
		Me.btnShowInteractive = New System.Windows.Forms.Button
		Me.btnDropTables = New System.Windows.Forms.Button
		Me.lstData = New System.Windows.Forms.ListBox
		Me.gbUDT = New System.Windows.Forms.GroupBox
		Me.rbAddress = New System.Windows.Forms.RadioButton
		Me.rbPoint = New System.Windows.Forms.RadioButton
		Me.btnPopulate = New System.Windows.Forms.Button
		Me.txtData = New System.Windows.Forms.TextBox
		Me.txtCSV = New System.Windows.Forms.TextBox
		Me.ttTables = New System.Windows.Forms.ToolTip(Me.components)
		Me.lblHead = New System.Windows.Forms.Label
		Me.lblMailLabels = New System.Windows.Forms.Label
		Me.lblMailList = New System.Windows.Forms.Label
		Me.gbDisplay = New System.Windows.Forms.GroupBox
		Me.rbXML = New System.Windows.Forms.RadioButton
		Me.rbCSV = New System.Windows.Forms.RadioButton
		Me.gbUDT.SuspendLayout()
		Me.gbDisplay.SuspendLayout()
		Me.SuspendLayout()
		'
		'btnShowInteractive
		'
		Me.btnShowInteractive.Location = New System.Drawing.Point(501, 434)
		Me.btnShowInteractive.Name = "btnShowInteractive"
		Me.btnShowInteractive.Size = New System.Drawing.Size(184, 23)
		Me.btnShowInteractive.TabIndex = 12
		Me.btnShowInteractive.Text = "&Show UDT Interactive Test Form"
		'
		'btnDropTables
		'
		Me.btnDropTables.Location = New System.Drawing.Point(23, 434)
		Me.btnDropTables.Name = "btnDropTables"
		Me.btnDropTables.Size = New System.Drawing.Size(246, 23)
		Me.btnDropTables.TabIndex = 13
		Me.btnDropTables.Text = "&Drop PointsUDT and AddressesUDT Tables"
		Me.ttTables.SetToolTip(Me.btnDropTables, "Click to drop tables, which enables modifying the UDTs")
		'
		'lstData
		'
		Me.lstData.Font = New System.Drawing.Font("Lucida Console", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.lstData.FormattingEnabled = True
		Me.lstData.ItemHeight = 12
		Me.lstData.Location = New System.Drawing.Point(23, 31)
		Me.lstData.Name = "lstData"
		Me.lstData.Size = New System.Drawing.Size(662, 184)
		Me.lstData.TabIndex = 14
		'
		'gbUDT
		'
		Me.gbUDT.Controls.Add(Me.rbAddress)
		Me.gbUDT.Controls.Add(Me.rbPoint)
		Me.gbUDT.Location = New System.Drawing.Point(23, 230)
		Me.gbUDT.Name = "gbUDT"
		Me.gbUDT.Size = New System.Drawing.Size(124, 38)
		Me.gbUDT.TabIndex = 15
		Me.gbUDT.TabStop = False
		Me.gbUDT.Text = "Select UDT"
		'
		'rbAddress
		'
		Me.rbAddress.AutoSize = True
		Me.rbAddress.Location = New System.Drawing.Point(59, 17)
		Me.rbAddress.Name = "rbAddress"
		Me.rbAddress.Size = New System.Drawing.Size(59, 17)
		Me.rbAddress.TabIndex = 4
		Me.rbAddress.Text = "&Address"
		'
		'rbPoint
		'
		Me.rbPoint.AutoSize = True
		Me.rbPoint.Checked = True
		Me.rbPoint.Location = New System.Drawing.Point(7, 17)
		Me.rbPoint.Name = "rbPoint"
		Me.rbPoint.Size = New System.Drawing.Size(45, 17)
		Me.rbPoint.TabIndex = 3
		Me.rbPoint.TabStop = True
		Me.rbPoint.Text = "&Point"
		'
		'btnPopulate
		'
		Me.btnPopulate.Location = New System.Drawing.Point(274, 223)
		Me.btnPopulate.Name = "btnPopulate"
		Me.btnPopulate.Size = New System.Drawing.Size(112, 23)
		Me.btnPopulate.TabIndex = 16
		Me.btnPopulate.Text = "Populate &List"
		Me.ttTables.SetToolTip(Me.btnPopulate, "Click to fill list box with selected UDT column values")
		'
		'txtData
		'
		Me.txtData.AutoSize = False
		Me.txtData.Font = New System.Drawing.Font("Courier New", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.txtData.Location = New System.Drawing.Point(23, 276)
		Me.txtData.Multiline = True
		Me.txtData.Name = "txtData"
		Me.txtData.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
		Me.txtData.Size = New System.Drawing.Size(293, 144)
		Me.txtData.TabIndex = 17
		'
		'txtCSV
		'
		Me.txtCSV.AutoSize = False
		Me.txtCSV.Font = New System.Drawing.Font("Courier New", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.txtCSV.Location = New System.Drawing.Point(337, 276)
		Me.txtCSV.Multiline = True
		Me.txtCSV.Name = "txtCSV"
		Me.txtCSV.ScrollBars = System.Windows.Forms.ScrollBars.Both
		Me.txtCSV.Size = New System.Drawing.Size(348, 144)
		Me.txtCSV.TabIndex = 18
		Me.txtCSV.WordWrap = False
		'
		'lblHead
		'
		Me.lblHead.AutoSize = True
		Me.lblHead.Font = New System.Drawing.Font("Verdana", 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.lblHead.Location = New System.Drawing.Point(23, 6)
		Me.lblHead.Name = "lblHead"
		Me.lblHead.Size = New System.Drawing.Size(260, 18)
		Me.lblHead.TabIndex = 19
		Me.lblHead.Text = "Table Primary Key and UDT Columns"
		'
		'lblMailLabels
		'
		Me.lblMailLabels.AutoSize = True
		Me.lblMailLabels.Font = New System.Drawing.Font("Verdana", 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.lblMailLabels.Location = New System.Drawing.Point(214, 253)
		Me.lblMailLabels.Name = "lblMailLabels"
		Me.lblMailLabels.Size = New System.Drawing.Size(102, 18)
		Me.lblMailLabels.TabIndex = 20
		Me.lblMailLabels.Text = "Mailing Labels"
		Me.lblMailLabels.TextAlign = System.Drawing.ContentAlignment.TopRight
		'
		'lblMailList
		'
		Me.lblMailList.AutoSize = True
		Me.lblMailList.Font = New System.Drawing.Font("Verdana", 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.lblMailList.Location = New System.Drawing.Point(337, 251)
		Me.lblMailList.Name = "lblMailList"
		Me.lblMailList.Size = New System.Drawing.Size(115, 18)
		Me.lblMailList.TabIndex = 21
		Me.lblMailList.Text = "CSV Mailing List"
		'
		'gbDisplay
		'
		Me.gbDisplay.Controls.Add(Me.rbXML)
		Me.gbDisplay.Controls.Add(Me.rbCSV)
		Me.gbDisplay.Location = New System.Drawing.Point(580, 230)
		Me.gbDisplay.Name = "gbDisplay"
		Me.gbDisplay.Size = New System.Drawing.Size(105, 38)
		Me.gbDisplay.TabIndex = 16
		Me.gbDisplay.TabStop = False
		Me.gbDisplay.Text = "Display"
		'
		'rbXML
		'
		Me.rbXML.AutoSize = True
		Me.rbXML.Location = New System.Drawing.Point(59, 17)
		Me.rbXML.Name = "rbXML"
		Me.rbXML.Size = New System.Drawing.Size(43, 17)
		Me.rbXML.TabIndex = 4
		Me.rbXML.Text = "&XML"
		'
		'rbCSV
		'
		Me.rbCSV.AutoSize = True
		Me.rbCSV.Checked = True
		Me.rbCSV.Location = New System.Drawing.Point(7, 17)
		Me.rbCSV.Name = "rbCSV"
		Me.rbCSV.Size = New System.Drawing.Size(42, 17)
		Me.rbCSV.TabIndex = 3
		Me.rbCSV.TabStop = True
		Me.rbCSV.Text = "&CSV"
		'
		'frmTables
		'
        Me.AutoScaleDimensions = New System.Drawing.SizeF(5.0!, 13.0!)
		Me.ClientSize = New System.Drawing.Size(707, 466)
		Me.Controls.Add(Me.gbDisplay)
		Me.Controls.Add(Me.lblMailList)
		Me.Controls.Add(Me.lblMailLabels)
		Me.Controls.Add(Me.lblHead)
		Me.Controls.Add(Me.txtCSV)
		Me.Controls.Add(Me.txtData)
		Me.Controls.Add(Me.btnPopulate)
		Me.Controls.Add(Me.gbUDT)
		Me.Controls.Add(Me.lstData)
		Me.Controls.Add(Me.btnDropTables)
		Me.Controls.Add(Me.btnShowInteractive)
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
		Me.MaximizeBox = False
		Me.MinimizeBox = False
		Me.Name = "frmTables"
		Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
		Me.Text = "PointsUDT and AddressesUDT Test Client"
		Me.gbUDT.ResumeLayout(False)
		Me.gbUDT.PerformLayout()
		Me.gbDisplay.ResumeLayout(False)
		Me.gbDisplay.PerformLayout()
		Me.ResumeLayout(False)
		Me.PerformLayout()

	End Sub
	Friend WithEvents btnShowInteractive As System.Windows.Forms.Button
	Friend WithEvents btnDropTables As System.Windows.Forms.Button
	Friend WithEvents lstData As System.Windows.Forms.ListBox
	Friend WithEvents gbUDT As System.Windows.Forms.GroupBox
	Friend WithEvents rbAddress As System.Windows.Forms.RadioButton
	Friend WithEvents rbPoint As System.Windows.Forms.RadioButton
	Friend WithEvents btnPopulate As System.Windows.Forms.Button
	Friend WithEvents txtData As System.Windows.Forms.TextBox
	Friend WithEvents txtCSV As System.Windows.Forms.TextBox
	Friend WithEvents ttTables As System.Windows.Forms.ToolTip
	Friend WithEvents lblHead As System.Windows.Forms.Label
	Friend WithEvents lblMailLabels As System.Windows.Forms.Label
	Friend WithEvents lblMailList As System.Windows.Forms.Label
	Friend WithEvents gbDisplay As System.Windows.Forms.GroupBox
	Friend WithEvents rbXML As System.Windows.Forms.RadioButton
	Friend WithEvents rbCSV As System.Windows.Forms.RadioButton
End Class

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?