ordersform.designer.vb
来自「wrox出版社的另一套经典的VB2005数据库编程学习书籍,收集了书中源码,郑重」· VB 代码 · 共 875 行 · 第 1/4 页
VB
875 行
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class OrdersForm
Inherits System.Windows.Forms.Form
'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 DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(OrdersForm))
Me.OrdersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.CustomersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.NorthwindDataSet = New OrdersByCustomerTx.NorthwindDataSet
Me.Order_DetailsBindingSource = New System.Windows.Forms.BindingSource(Me.components)
Me.chkDisconnected = New System.Windows.Forms.CheckBox
Me.btnOrdersConcurError = New System.Windows.Forms.Button
Me.btnCustConcurError = New System.Windows.Forms.Button
Me.lblNewCust = New System.Windows.Forms.Label
Me.lblOrdersGrid = New System.Windows.Forms.Label
Me.CustomerIDLabel = New System.Windows.Forms.Label
Me.CustomerIDTextBox = New System.Windows.Forms.TextBox
Me.CompanyNameTextBox = New System.Windows.Forms.TextBox
Me.ContactNameLabel = New System.Windows.Forms.Label
Me.ContactNameTextBox = New System.Windows.Forms.TextBox
Me.ContactTitleLabel = New System.Windows.Forms.Label
Me.ContactTitleTextBox = New System.Windows.Forms.TextBox
Me.AddressLabel = New System.Windows.Forms.Label
Me.AddressTextBox = New System.Windows.Forms.TextBox
Me.CityLabel = New System.Windows.Forms.Label
Me.CityTextBox = New System.Windows.Forms.TextBox
Me.RegionLabel = New System.Windows.Forms.Label
Me.RegionTextBox = New System.Windows.Forms.TextBox
Me.PostalCodeLabel = New System.Windows.Forms.Label
Me.PostalCodeTextBox = New System.Windows.Forms.TextBox
Me.CountryLabel = New System.Windows.Forms.Label
Me.CountryTextBox = New System.Windows.Forms.TextBox
Me.PhoneLabel = New System.Windows.Forms.Label
Me.PhoneTextBox = New System.Windows.Forms.TextBox
Me.FaxLabel = New System.Windows.Forms.Label
Me.FaxTextBox = New System.Windows.Forms.TextBox
Me.CompanyNameLabel = New System.Windows.Forms.Label
Me.OrdersDataGridView = New System.Windows.Forms.DataGridView
Me.DataGridViewTextBoxColumn15 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn16 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn17 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn18 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn19 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn25 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn2 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn3 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn4 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn31 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn32 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn33 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn34 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.chkDeleteDetail = New System.Windows.Forms.CheckBox
Me.btnDetailsConcurError = New System.Windows.Forms.Button
Me.lblOrderDetailsGrid = New System.Windows.Forms.Label
Me.Order_DetailsDataGridView = New System.Windows.Forms.DataGridView
Me.DataGridViewTextBoxColumn20 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn21 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn22 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn23 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn24 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.DataGridViewTextBoxColumn26 = New System.Windows.Forms.DataGridViewTextBoxColumn
Me.FillByCustomerIDToolStrip = New System.Windows.Forms.ToolStrip
Me.CustomerIDToolStripLabel = New System.Windows.Forms.ToolStripLabel
Me.CustomerIDToolStripComboBox = New System.Windows.Forms.ToolStripComboBox
Me.GetCustomerOrdersToolStripButton = New System.Windows.Forms.ToolStripButton
Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator
Me.SaveChangesToolStripButton = New System.Windows.Forms.ToolStripButton
Me.EditCustomerDataToolStripButton = New System.Windows.Forms.ToolStripButton
Me.NewCustomerToolStripButton = New System.Windows.Forms.ToolStripButton
Me.CancelEditToolStripButton = New System.Windows.Forms.ToolStripButton
Me.OrdersToolStrip = New System.Windows.Forms.ToolStrip
Me.EditOrdersToolStripButton = New System.Windows.Forms.ToolStripButton
Me.SaveOrdersToolStripButton = New System.Windows.Forms.ToolStripButton
Me.CancelOrdersEditToolStripButton = New System.Windows.Forms.ToolStripButton
Me.NewOrderToolStripButton = New System.Windows.Forms.ToolStripButton
Me.CustomersTableAdapter = New OrdersByCustomerTx.NorthwindDataSetTableAdapters.CustomersTableAdapter
Me.OrdersTableAdapter = New OrdersByCustomerTx.NorthwindDataSetTableAdapters.OrdersTableAdapter
Me.Order_DetailsTableAdapter = New OrdersByCustomerTx.NorthwindDataSetTableAdapters.Order_DetailsTableAdapter
CType(Me.OrdersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.CustomersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.NorthwindDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Order_DetailsBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.OrdersDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Order_DetailsDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
Me.FillByCustomerIDToolStrip.SuspendLayout()
Me.OrdersToolStrip.SuspendLayout()
Me.SuspendLayout()
'
'OrdersBindingSource
'
Me.OrdersBindingSource.DataMember = "FK_Orders_Customers"
Me.OrdersBindingSource.DataSource = Me.CustomersBindingSource
'
'CustomersBindingSource
'
Me.CustomersBindingSource.DataMember = "Customers"
Me.CustomersBindingSource.DataSource = Me.NorthwindDataSet
'
'NorthwindDataSet
'
Me.NorthwindDataSet.DataSetName = "NorthwindDataSet"
'
'Order_DetailsBindingSource
'
Me.Order_DetailsBindingSource.DataMember = "FK_Order_Details_Orders"
Me.Order_DetailsBindingSource.DataSource = Me.OrdersBindingSource
'
'chkDisconnected
'
Me.chkDisconnected.AutoSize = True
Me.chkDisconnected.Location = New System.Drawing.Point(314, 33)
Me.chkDisconnected.Name = "chkDisconnected"
Me.chkDisconnected.Size = New System.Drawing.Size(154, 17)
Me.chkDisconnected.TabIndex = 80
Me.chkDisconnected.Text = "Emulate Disconnected User"
'
'btnOrdersConcurError
'
Me.btnOrdersConcurError.Location = New System.Drawing.Point(313, 192)
Me.btnOrdersConcurError.Margin = New System.Windows.Forms.Padding(3, 1, 3, 3)
Me.btnOrdersConcurError.Name = "btnOrdersConcurError"
Me.btnOrdersConcurError.Size = New System.Drawing.Size(166, 22)
Me.btnOrdersConcurError.TabIndex = 79
Me.btnOrdersConcurError.Text = "Orders Concurrency Error"
Me.btnOrdersConcurError.Visible = False
'
'btnCustConcurError
'
Me.btnCustConcurError.Location = New System.Drawing.Point(101, 192)
Me.btnCustConcurError.Name = "btnCustConcurError"
Me.btnCustConcurError.Size = New System.Drawing.Size(166, 22)
Me.btnCustConcurError.TabIndex = 78
Me.btnCustConcurError.Text = "Customers Concurrency Error"
Me.btnCustConcurError.Visible = False
'
'lblNewCust
'
Me.lblNewCust.Location = New System.Drawing.Point(166, 27)
Me.lblNewCust.Name = "lblNewCust"
Me.lblNewCust.Size = New System.Drawing.Size(123, 26)
Me.lblNewCust.TabIndex = 77
Me.lblNewCust.Text = "Press Tab to generate the CustomerID"
Me.lblNewCust.Visible = False
'
'lblOrdersGrid
'
Me.lblOrdersGrid.AutoSize = True
Me.lblOrdersGrid.Location = New System.Drawing.Point(19, 197)
Me.lblOrdersGrid.Margin = New System.Windows.Forms.Padding(3, 3, 3, 1)
Me.lblOrdersGrid.Name = "lblOrdersGrid"
Me.lblOrdersGrid.Size = New System.Drawing.Size(56, 13)
Me.lblOrdersGrid.TabIndex = 76
Me.lblOrdersGrid.Text = "Orders &Grid"
'
'CustomerIDLabel
'
Me.CustomerIDLabel.AutoSize = True
Me.CustomerIDLabel.Location = New System.Drawing.Point(19, 34)
Me.CustomerIDLabel.Name = "CustomerIDLabel"
Me.CustomerIDLabel.Size = New System.Drawing.Size(61, 13)
Me.CustomerIDLabel.TabIndex = 54
Me.CustomerIDLabel.Text = "CustomerID:"
'
'CustomerIDTextBox
'
Me.CustomerIDTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.CustomersBindingSource, "CustomerID", True))
Me.CustomerIDTextBox.Location = New System.Drawing.Point(101, 31)
Me.CustomerIDTextBox.Name = "CustomerIDTextBox"
Me.CustomerIDTextBox.Size = New System.Drawing.Size(56, 20)
Me.CustomerIDTextBox.TabIndex = 55
'
'CompanyNameTextBox
'
Me.CompanyNameTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.CustomersBindingSource, "CompanyName", True))
Me.CompanyNameTextBox.Location = New System.Drawing.Point(101, 58)
Me.CompanyNameTextBox.Name = "CompanyNameTextBox"
Me.CompanyNameTextBox.Size = New System.Drawing.Size(179, 20)
Me.CompanyNameTextBox.TabIndex = 57
'
'ContactNameLabel
'
Me.ContactNameLabel.AutoSize = True
Me.ContactNameLabel.Location = New System.Drawing.Point(19, 88)
Me.ContactNameLabel.Name = "ContactNameLabel"
Me.ContactNameLabel.Size = New System.Drawing.Size(71, 13)
Me.ContactNameLabel.TabIndex = 58
Me.ContactNameLabel.Text = "ContactName:"
'
'ContactNameTextBox
'
Me.ContactNameTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.CustomersBindingSource, "ContactName", True))
Me.ContactNameTextBox.Location = New System.Drawing.Point(101, 85)
Me.ContactNameTextBox.Name = "ContactNameTextBox"
Me.ContactNameTextBox.Size = New System.Drawing.Size(179, 20)
Me.ContactNameTextBox.TabIndex = 59
'
'ContactTitleLabel
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?