ordersform.designer.vb

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

VB
1,304
字号
Partial Public Class OrdersForm
    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 DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
        Me.CustomersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
        Me.NorthwindDataSet = New OrdersByCustomerV3.NorthwindDataSet
        Me.OrdersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
        Me.FK_Order_Details_OrdersBindingSource = New System.Windows.Forms.BindingSource(Me.components)
        Me.Order_DetailsBindingSource = New System.Windows.Forms.BindingSource(Me.components)
        Me.ShipCountry = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipPostalCode = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipRegion = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipCity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipAddress = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipName = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.Freight = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShipVia = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ShippedDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.RequiredDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.OrderDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.EmployeeID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.CustomerID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc1OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.Extended = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.Discount = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.UnitPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.ProductID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.Quantity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc15OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tabOrders = New System.Windows.Forms.TabControl
        Me.pagCustOrders = New System.Windows.Forms.TabPage
        Me.lblHelp = New System.Windows.Forms.Label
        Me.btnTestUpdates = New System.Windows.Forms.Button
        Me.txtHelp = New System.Windows.Forms.TextBox
        Me.cboCustomerID = New System.Windows.Forms.ComboBox
        Me.chkTabPageEdit = New System.Windows.Forms.CheckBox
        Me.btnCancelOrderEdits = New System.Windows.Forms.Button
        Me.btnSaveOrders = New System.Windows.Forms.Button
        Me.lblLine = New System.Windows.Forms.Label
        Me.btnNewOrder = New System.Windows.Forms.Button
        Me.btnEditOrders = New System.Windows.Forms.Button
        Me.btnCancelCustEdit = New System.Windows.Forms.Button
        Me.btnSaveCustData = New System.Windows.Forms.Button
        Me.btnEditCustData = New System.Windows.Forms.Button
        Me.btnNewCustomer = New System.Windows.Forms.Button
        Me.btnGetOrders = New System.Windows.Forms.Button
        Me.lblOrderDetailsGrid = New System.Windows.Forms.Label
        Me.lblOrdersGrid = New System.Windows.Forms.Label
        Me.Order_DetailsDataGridView = New System.Windows.Forms.DataGridView
        Me.tbc40OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc41Quantity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc5ProductID = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.tbc42UnitPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc43Discount = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc44Extended = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.OrdersDataGridView = New System.Windows.Forms.DataGridView
        Me.tbc27OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc28CustomerID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc2EmployeeID = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.tbc29OrderDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc30RequiredDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc31ShippedDate = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc3ShipVia = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.tbc32Freight = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc33ShipName = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc34ShipAddress = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc35ShipCity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc36ShipRegion = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc37ShipPostalCode = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc38ShipCountry = New System.Windows.Forms.DataGridViewTextBoxColumn
        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.pagEditOrder = New System.Windows.Forms.TabPage
        Me.cboShipVia = New System.Windows.Forms.ComboBox
        Me.cboEmployeeID = New System.Windows.Forms.ComboBox
        Me.btnReturn = New System.Windows.Forms.Button
        Me.btnCancelPage1Changes = New System.Windows.Forms.Button
        Me.btnSavePage1Changes = New System.Windows.Forms.Button
        Me.txtSubtotal = New System.Windows.Forms.TextBox
        Me.ShippedDateTextBox = New System.Windows.Forms.TextBox
        Me.OrderIDTextBox = New System.Windows.Forms.TextBox
        Me.CustomerIDTextBox1 = New System.Windows.Forms.TextBox
        Me.EmployeeIDTextBox = New System.Windows.Forms.TextBox
        Me.OrderDateDateTimePicker = New System.Windows.Forms.DateTimePicker
        Me.RequiredDateDateTimePicker = New System.Windows.Forms.DateTimePicker
        Me.ShipViaTextBox = New System.Windows.Forms.TextBox
        Me.FreightTextBox = New System.Windows.Forms.TextBox
        Me.ShipNameTextBox = New System.Windows.Forms.TextBox
        Me.ShipAddressTextBox = New System.Windows.Forms.TextBox
        Me.ShipCityTextBox = New System.Windows.Forms.TextBox
        Me.ShipRegionTextBox = New System.Windows.Forms.TextBox
        Me.ShipPostalCodeTextBox = New System.Windows.Forms.TextBox
        Me.ShipCountryTextBox = New System.Windows.Forms.TextBox
        Me.Order_DetailsDataGridView1 = New System.Windows.Forms.DataGridView
        Me.tbc45OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc49Quantity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc4ProductID = New System.Windows.Forms.DataGridViewComboBoxColumn
        Me.tbc50UnitPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc51Discount = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc52Extended = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.OrderIDLabel = New System.Windows.Forms.Label
        Me.CustomerIDLabel1 = New System.Windows.Forms.Label
        Me.EmployeeIDLabel = New System.Windows.Forms.Label
        Me.OrderDateLabel = New System.Windows.Forms.Label
        Me.RequiredDateLabel = New System.Windows.Forms.Label
        Me.ShippedDateLabel = New System.Windows.Forms.Label
        Me.ShipViaLabel = New System.Windows.Forms.Label
        Me.FreightLabel = New System.Windows.Forms.Label
        Me.ShipNameLabel = New System.Windows.Forms.Label
        Me.ShipAddressLabel = New System.Windows.Forms.Label
        Me.ShipCityLabel = New System.Windows.Forms.Label
        Me.ShipRegionLabel = New System.Windows.Forms.Label
        Me.ShipPostalCodeLabel = New System.Windows.Forms.Label
        Me.ShipCountryLabel = New System.Windows.Forms.Label
        Me.lblSubtotal = New System.Windows.Forms.Label
        Me.tbc20OrderID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc21Quantity = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc22ProductID = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc32UnitPrice = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.tbc24Discount = New System.Windows.Forms.DataGridViewTextBoxColumn
        Me.bsCustsLookup = New System.Windows.Forms.BindingSource(Me.components)
        CType(Me.CustomersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.NorthwindDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OrdersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.FK_Order_Details_OrdersBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Order_DetailsBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.tabOrders.SuspendLayout()
        Me.pagCustOrders.SuspendLayout()
        CType(Me.Order_DetailsDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OrdersDataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.pagEditOrder.SuspendLayout()
        CType(Me.Order_DetailsDataGridView1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.bsCustsLookup, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'CustomersBindingSource
        '
        Me.CustomersBindingSource.DataMember = "Customers"
        Me.CustomersBindingSource.DataSource = Me.NorthwindDataSet
        '
        'NorthwindDataSet
        '
        Me.NorthwindDataSet.DataSetName = "NorthwindDataSet"
        Me.NorthwindDataSet.Locale = New System.Globalization.CultureInfo("en-US")
        '
        'OrdersBindingSource
        '
        Me.OrdersBindingSource.DataMember = "Orders"
        Me.OrdersBindingSource.DataSource = Me.NorthwindDataSet
        '
        'FK_Order_Details_OrdersBindingSource
        '
        Me.FK_Order_Details_OrdersBindingSource.DataMember = "FK_Order_Details_Orders"
        Me.FK_Order_Details_OrdersBindingSource.DataSource = Me.OrdersBindingSource
        '
        'Order_DetailsBindingSource
        '
        Me.Order_DetailsBindingSource.DataMember = "Order Details"
        Me.Order_DetailsBindingSource.DataSource = Me.NorthwindDataSet
        '
        'ShipCountry
        '
        Me.ShipCountry.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipCountry.DataPropertyName = "ShipCountry"
        Me.ShipCountry.HeaderText = "ShipCountry"
        Me.ShipCountry.Name = "ShipCountry"
        '
        'ShipPostalCode
        '
        Me.ShipPostalCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipPostalCode.DataPropertyName = "ShipPostalCode"
        Me.ShipPostalCode.HeaderText = "ShipPostalCode"
        Me.ShipPostalCode.Name = "ShipPostalCode"
        '
        'ShipRegion
        '
        Me.ShipRegion.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipRegion.DataPropertyName = "ShipRegion"
        Me.ShipRegion.HeaderText = "ShipRegion"
        Me.ShipRegion.Name = "ShipRegion"
        '
        'ShipCity
        '
        Me.ShipCity.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipCity.DataPropertyName = "ShipCity"
        Me.ShipCity.HeaderText = "ShipCity"
        Me.ShipCity.Name = "ShipCity"
        '
        'ShipAddress
        '
        Me.ShipAddress.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipAddress.DataPropertyName = "ShipAddress"
        Me.ShipAddress.HeaderText = "ShipAddress"
        Me.ShipAddress.Name = "ShipAddress"
        '
        'ShipName
        '
        Me.ShipName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.ShipName.DataPropertyName = "ShipName"
        Me.ShipName.HeaderText = "ShipName"
        Me.ShipName.Name = "ShipName"
        '
        'Freight
        '
        Me.Freight.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells
        Me.Freight.DataPropertyName = "Freight"
        DataGridViewCellStyle1.Format = "$#,##0.00"
        DataGridViewCellStyle1.FormatProvider = New System.Globalization.CultureInfo("en-US")
        Me.Freight.DefaultCellStyle = DataGridViewCellStyle1

⌨️ 快捷键说明

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