main.designer.vb
来自「wrox出版社的另一套经典的VB2005数据库编程学习书籍,收集了书中源码,郑重」· VB 代码 · 共 631 行 · 第 1/3 页
VB
631 行
Partial Public Class frmMain
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
Dim CustomerIDLabel As System.Windows.Forms.Label
Dim CompanyNameLabel As System.Windows.Forms.Label
Dim ContactNameLabel As System.Windows.Forms.Label
Dim ContactTitleLabel As System.Windows.Forms.Label
Dim AddressLabel As System.Windows.Forms.Label
Dim CityLabel As System.Windows.Forms.Label
Dim RegionLabel As System.Windows.Forms.Label
Dim PostalCodeLabel As System.Windows.Forms.Label
Dim CountryLabel As System.Windows.Forms.Label
Dim PhoneLabel As System.Windows.Forms.Label
Dim FaxLabel As System.Windows.Forms.Label
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain))
Me.CustomersBindingNavigator = New System.Windows.Forms.BindingNavigator(Me.components)
Me.bindingNavigatorAddNewItem = New System.Windows.Forms.ToolStripButton
Me.CustomersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.NorthwindDataSet = New GeneratedDetailView.NorthwindDataSet
Me.bindingNavigatorCountItem = New System.Windows.Forms.ToolStripLabel
Me.bindingNavigatorDeleteItem = New System.Windows.Forms.ToolStripButton
Me.bindingNavigatorMoveFirstItem = New System.Windows.Forms.ToolStripButton
Me.bindingNavigatorMovePreviousItem = New System.Windows.Forms.ToolStripButton
Me.bindingNavigatorSeparator = New System.Windows.Forms.ToolStripSeparator
Me.bindingNavigatorPositionItem = New System.Windows.Forms.ToolStripTextBox
Me.bindingNavigatorSeparator1 = New System.Windows.Forms.ToolStripSeparator
Me.bindingNavigatorMoveNextItem = New System.Windows.Forms.ToolStripButton
Me.bindingNavigatorMoveLastItem = New System.Windows.Forms.ToolStripButton
Me.bindingNavigatorSeparator2 = New System.Windows.Forms.ToolStripSeparator
Me.bindingNavigatorSaveItem = New System.Windows.Forms.ToolStripButton
Me.CustomerIDTextBox = New System.Windows.Forms.TextBox
Me.CompanyNameTextBox = New System.Windows.Forms.TextBox
Me.ContactNameTextBox = New System.Windows.Forms.TextBox
Me.ContactTitleTextBox = New System.Windows.Forms.TextBox
Me.AddressTextBox = New System.Windows.Forms.TextBox
Me.CityTextBox = New System.Windows.Forms.TextBox
Me.RegionTextBox = New System.Windows.Forms.TextBox
Me.PostalCodeTextBox = New System.Windows.Forms.TextBox
Me.CountryTextBox = New System.Windows.Forms.TextBox
Me.PhoneTextBox = New System.Windows.Forms.TextBox
Me.FaxTextBox = New System.Windows.Forms.TextBox
Me.CustomersTableAdapter = New GeneratedDetailView.NorthwindDataSetTableAdapters.CustomersTableAdapter
Me.OrdersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.OrdersTableAdapter = New GeneratedDetailView.NorthwindDataSetTableAdapters.OrdersTableAdapter
Me.OrdersDataGridView = New System.Windows.Forms.DataGridView
Me.OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.CustomerID = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.EmployeeID = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.OrderDate = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.RequiredDate = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShippedDate = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipVia = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.Freight = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipName = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipAddress = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipCity = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipRegion = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipPostalCode = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.ShipCountry = New System.Windows.Forms.DataGridViewTextBoxColumn
CustomerIDLabel = New System.Windows.Forms.Label
CompanyNameLabel = New System.Windows.Forms.Label
ContactNameLabel = New System.Windows.Forms.Label
ContactTitleLabel = New System.Windows.Forms.Label
AddressLabel = New System.Windows.Forms.Label
CityLabel = New System.Windows.Forms.Label
RegionLabel = New System.Windows.Forms.Label
PostalCodeLabel = New System.Windows.Forms.Label
CountryLabel = New System.Windows.Forms.Label
PhoneLabel = New System.Windows.Forms.Label
FaxLabel = New System.Windows.Forms.Label
CType(Me.CustomersBindingNavigator, System.ComponentModel.ISupportInitialize).BeginInit()
Me.CustomersBindingNavigator.SuspendLayout()
CType(Me.CustomersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.NorthwindDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.OrdersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.OrdersDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'CustomerIDLabel
'
CustomerIDLabel.AutoSize = True
CustomerIDLabel.Location = New System.Drawing.Point(8, 41)
CustomerIDLabel.Name = "CustomerIDLabel"
CustomerIDLabel.Size = New System.Drawing.Size(68, 13)
CustomerIDLabel.TabIndex = 1
CustomerIDLabel.Text = "Customer ID:"
'
'CompanyNameLabel
'
CompanyNameLabel.AutoSize = True
CompanyNameLabel.Location = New System.Drawing.Point(8, 68)
CompanyNameLabel.Name = "CompanyNameLabel"
CompanyNameLabel.Size = New System.Drawing.Size(85, 13)
CompanyNameLabel.TabIndex = 3
CompanyNameLabel.Text = "Company Name:"
'
'ContactNameLabel
'
ContactNameLabel.AutoSize = True
ContactNameLabel.Location = New System.Drawing.Point(8, 95)
ContactNameLabel.Name = "ContactNameLabel"
ContactNameLabel.Size = New System.Drawing.Size(78, 13)
ContactNameLabel.TabIndex = 5
ContactNameLabel.Text = "Contact Name:"
'
'ContactTitleLabel
'
ContactTitleLabel.AutoSize = True
ContactTitleLabel.Location = New System.Drawing.Point(8, 122)
ContactTitleLabel.Name = "ContactTitleLabel"
ContactTitleLabel.Size = New System.Drawing.Size(70, 13)
ContactTitleLabel.TabIndex = 7
ContactTitleLabel.Text = "Contact Title:"
'
'AddressLabel
'
AddressLabel.AutoSize = True
AddressLabel.Location = New System.Drawing.Point(8, 149)
AddressLabel.Name = "AddressLabel"
AddressLabel.Size = New System.Drawing.Size(48, 13)
AddressLabel.TabIndex = 9
AddressLabel.Text = "Address:"
'
'CityLabel
'
CityLabel.AutoSize = True
CityLabel.Location = New System.Drawing.Point(8, 176)
CityLabel.Name = "CityLabel"
CityLabel.Size = New System.Drawing.Size(27, 13)
CityLabel.TabIndex = 11
CityLabel.Text = "City:"
'
'RegionLabel
'
RegionLabel.AutoSize = True
RegionLabel.Location = New System.Drawing.Point(361, 68)
RegionLabel.Name = "RegionLabel"
RegionLabel.Size = New System.Drawing.Size(44, 13)
RegionLabel.TabIndex = 13
RegionLabel.Text = "Region:"
'
'PostalCodeLabel
'
PostalCodeLabel.AutoSize = True
PostalCodeLabel.Location = New System.Drawing.Point(361, 95)
PostalCodeLabel.Name = "PostalCodeLabel"
PostalCodeLabel.Size = New System.Drawing.Size(67, 13)
PostalCodeLabel.TabIndex = 15
PostalCodeLabel.Text = "Postal Code:"
'
'CountryLabel
'
CountryLabel.AutoSize = True
CountryLabel.Location = New System.Drawing.Point(361, 122)
CountryLabel.Name = "CountryLabel"
CountryLabel.Size = New System.Drawing.Size(46, 13)
CountryLabel.TabIndex = 17
CountryLabel.Text = "Country:"
'
'PhoneLabel
'
PhoneLabel.AutoSize = True
PhoneLabel.Location = New System.Drawing.Point(361, 149)
PhoneLabel.Name = "PhoneLabel"
PhoneLabel.Size = New System.Drawing.Size(41, 13)
PhoneLabel.TabIndex = 19
PhoneLabel.Text = "Phone:"
'
'FaxLabel
'
FaxLabel.AutoSize = True
FaxLabel.Location = New System.Drawing.Point(361, 176)
FaxLabel.Name = "FaxLabel"
FaxLabel.Size = New System.Drawing.Size(27, 13)
FaxLabel.TabIndex = 21
FaxLabel.Text = "Fax:"
'
'CustomersBindingNavigator
'
Me.CustomersBindingNavigator.AddNewItem = Me.bindingNavigatorAddNewItem
Me.CustomersBindingNavigator.BindingSource = Me.CustomersBindingSource
Me.CustomersBindingNavigator.CountItem = Me.bindingNavigatorCountItem
Me.CustomersBindingNavigator.DeleteItem = Me.bindingNavigatorDeleteItem
Me.CustomersBindingNavigator.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.bindingNavigatorMoveFirstItem, Me.bindingNavigatorMovePreviousItem, Me.bindingNavigatorSeparator, Me.bindingNavigatorPositionItem, Me.bindingNavigatorCountItem, Me.bindingNavigatorSeparator1, Me.bindingNavigatorMoveNextItem, Me.bindingNavigatorMoveLastItem, Me.bindingNavigatorSeparator2, Me.bindingNavigatorAddNewItem, Me.bindingNavigatorDeleteItem, Me.bindingNavigatorSaveItem})
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?