timestamp.designer.vb
来自「wrox出版社的另一套经典的VB2005数据库编程学习书籍,收集了书中源码,郑重」· VB 代码 · 共 187 行
VB
187 行
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class TimeStamp
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.dgvOrdersTS = New System.Windows.Forms.DataGridView
Me.btnIncrDate = New System.Windows.Forms.Button
Me.btnDecrDate = New System.Windows.Forms.Button
Me.btnUpdateTable = New System.Windows.Forms.Button
Me.btnUpdateDataSet = New System.Windows.Forms.Button
Me.nudBatchSize = New System.Windows.Forms.NumericUpDown
Me.lblBatchSize = New System.Windows.Forms.Label
Me.txtTime = New System.Windows.Forms.TextBox
Me.lblTime = New System.Windows.Forms.Label
Me.chkBatchMode = New System.Windows.Forms.CheckBox
Me.lblBatches = New System.Windows.Forms.Label
Me.txtBatches = New System.Windows.Forms.TextBox
CType(Me.dgvOrdersTS, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.nudBatchSize, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'dgvOrdersTS
'
Me.dgvOrdersTS.Location = New System.Drawing.Point(25, 22)
Me.dgvOrdersTS.Name = "dgvOrdersTS"
Me.dgvOrdersTS.Size = New System.Drawing.Size(495, 222)
Me.dgvOrdersTS.TabIndex = 0
Me.dgvOrdersTS.Text = "DataGridView1"
'
'btnIncrDate
'
Me.btnIncrDate.Location = New System.Drawing.Point(25, 259)
Me.btnIncrDate.Name = "btnIncrDate"
Me.btnIncrDate.Size = New System.Drawing.Size(90, 23)
Me.btnIncrDate.TabIndex = 1
Me.btnIncrDate.Text = "Increment Date"
'
'btnDecrDate
'
Me.btnDecrDate.Enabled = False
Me.btnDecrDate.Location = New System.Drawing.Point(133, 259)
Me.btnDecrDate.Name = "btnDecrDate"
Me.btnDecrDate.Size = New System.Drawing.Size(101, 23)
Me.btnDecrDate.TabIndex = 2
Me.btnDecrDate.Text = "Decrement Date"
'
'btnUpdateTable
'
Me.btnUpdateTable.Enabled = False
Me.btnUpdateTable.Location = New System.Drawing.Point(252, 259)
Me.btnUpdateTable.Name = "btnUpdateTable"
Me.btnUpdateTable.Size = New System.Drawing.Size(140, 23)
Me.btnUpdateTable.TabIndex = 3
Me.btnUpdateTable.Text = "Update OrdersTS Table"
'
'btnUpdateDataSet
'
Me.btnUpdateDataSet.Enabled = False
Me.btnUpdateDataSet.Location = New System.Drawing.Point(411, 258)
Me.btnUpdateDataSet.Name = "btnUpdateDataSet"
Me.btnUpdateDataSet.Size = New System.Drawing.Size(109, 23)
Me.btnUpdateDataSet.TabIndex = 4
Me.btnUpdateDataSet.Text = "Resync DataSet"
'
'nudBatchSize
'
Me.nudBatchSize.Enabled = False
Me.nudBatchSize.Increment = New Decimal(New Integer() {5, 0, 0, 0})
Me.nudBatchSize.Location = New System.Drawing.Point(186, 297)
Me.nudBatchSize.Maximum = New Decimal(New Integer() {830, 0, 0, 0})
Me.nudBatchSize.Name = "nudBatchSize"
Me.nudBatchSize.Size = New System.Drawing.Size(48, 20)
Me.nudBatchSize.TabIndex = 5
Me.nudBatchSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
Me.nudBatchSize.Value = New Decimal(New Integer() {1, 0, 0, 0})
'
'lblBatchSize
'
Me.lblBatchSize.AutoSize = True
Me.lblBatchSize.Location = New System.Drawing.Point(123, 300)
Me.lblBatchSize.Name = "lblBatchSize"
Me.lblBatchSize.Size = New System.Drawing.Size(57, 13)
Me.lblBatchSize.TabIndex = 6
Me.lblBatchSize.Text = "Batch Size:"
'
'txtTime
'
Me.txtTime.Location = New System.Drawing.Point(343, 297)
Me.txtTime.Name = "txtTime"
Me.txtTime.Size = New System.Drawing.Size(49, 20)
Me.txtTime.TabIndex = 7
'
'lblTime
'
Me.lblTime.AutoSize = True
Me.lblTime.Location = New System.Drawing.Point(270, 300)
Me.lblTime.Name = "lblTime"
Me.lblTime.Size = New System.Drawing.Size(67, 13)
Me.lblTime.TabIndex = 8
Me.lblTime.Text = "Update Time:"
'
'chkBatchMode
'
Me.chkBatchMode.AutoSize = True
Me.chkBatchMode.Location = New System.Drawing.Point(25, 299)
Me.chkBatchMode.Name = "chkBatchMode"
Me.chkBatchMode.Size = New System.Drawing.Size(80, 17)
Me.chkBatchMode.TabIndex = 9
Me.chkBatchMode.Text = "Batch Mode"
'
'lblBatches
'
Me.lblBatches.Location = New System.Drawing.Point(412, 299)
Me.lblBatches.Name = "lblBatches"
Me.lblBatches.Size = New System.Drawing.Size(67, 13)
Me.lblBatches.TabIndex = 11
Me.lblBatches.Text = "Rows:"
Me.lblBatches.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'txtBatches
'
Me.txtBatches.Location = New System.Drawing.Point(485, 296)
Me.txtBatches.Name = "txtBatches"
Me.txtBatches.Size = New System.Drawing.Size(35, 20)
Me.txtBatches.TabIndex = 10
Me.txtBatches.Text = "0"
Me.txtBatches.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
'
'TimeStamp
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(544, 335)
Me.Controls.Add(Me.lblBatches)
Me.Controls.Add(Me.txtBatches)
Me.Controls.Add(Me.chkBatchMode)
Me.Controls.Add(Me.lblTime)
Me.Controls.Add(Me.txtTime)
Me.Controls.Add(Me.lblBatchSize)
Me.Controls.Add(Me.nudBatchSize)
Me.Controls.Add(Me.btnUpdateDataSet)
Me.Controls.Add(Me.btnUpdateTable)
Me.Controls.Add(Me.btnDecrDate)
Me.Controls.Add(Me.btnIncrDate)
Me.Controls.Add(Me.dgvOrdersTS)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.Name = "TimeStamp"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Concurrency Control with a Timestamp Column"
CType(Me.dgvOrdersTS, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.nudBatchSize, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents dgvOrdersTS As System.Windows.Forms.DataGridView
Friend WithEvents btnIncrDate As System.Windows.Forms.Button
Friend WithEvents btnDecrDate As System.Windows.Forms.Button
Friend WithEvents btnUpdateTable As System.Windows.Forms.Button
Friend WithEvents btnUpdateDataSet As System.Windows.Forms.Button
Friend WithEvents nudBatchSize As System.Windows.Forms.NumericUpDown
Friend WithEvents lblBatchSize As System.Windows.Forms.Label
Friend WithEvents txtTime As System.Windows.Forms.TextBox
Friend WithEvents lblTime As System.Windows.Forms.Label
Friend WithEvents chkBatchMode As System.Windows.Forms.CheckBox
Friend WithEvents lblBatches As System.Windows.Forms.Label
Friend WithEvents txtBatches As System.Windows.Forms.TextBox
End Class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?