dataform1.vb
来自「Source code for VB.NET book - Chapter 6」· VB 代码 · 共 460 行 · 第 1/5 页
VB
460 行
Public Class DataForm1
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbUpdateCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbSelectCommand2 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand2 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbUpdateCommand2 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand2 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbSelectCommand3 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand3 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbUpdateCommand3 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand3 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents OleDbDataAdapter2 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents objStudy As 数据窗体向导.Study
Friend WithEvents btnLoad As System.Windows.Forms.Button
Friend WithEvents btnUpdate As System.Windows.Forms.Button
Friend WithEvents btnCancelAll As System.Windows.Forms.Button
Friend WithEvents grdEmployees As System.Windows.Forms.DataGrid
Friend WithEvents objTableStylegrdEmployeesEmployees As System.Windows.Forms.DataGridTableStyle
Friend WithEvents objColumnStylegrdEmployeesEmployeeID As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesLastName As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesFirstName As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesTitle As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesTitleOfCourtesy As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesBirthDate As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesHireDate As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesAddress As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesCity As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesRegion As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesPostalCode As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesCountry As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesHomePhone As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesExtension As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesNotes As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesReportsTo As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents objColumnStylegrdEmployeesPhotoPath As System.Windows.Forms.DataGridTextBoxColumn
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbUpdateCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbDeleteCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbSelectCommand2 = New System.Data.OleDb.OleDbCommand
Me.OleDbInsertCommand2 = New System.Data.OleDb.OleDbCommand
Me.OleDbUpdateCommand2 = New System.Data.OleDb.OleDbCommand
Me.OleDbDeleteCommand2 = New System.Data.OleDb.OleDbCommand
Me.OleDbSelectCommand3 = New System.Data.OleDb.OleDbCommand
Me.OleDbInsertCommand3 = New System.Data.OleDb.OleDbCommand
Me.OleDbUpdateCommand3 = New System.Data.OleDb.OleDbCommand
Me.OleDbDeleteCommand3 = New System.Data.OleDb.OleDbCommand
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter
Me.OleDbDataAdapter2 = New System.Data.OleDb.OleDbDataAdapter
Me.objStudy = New 数据窗体向导.Study
Me.btnLoad = New System.Windows.Forms.Button
Me.btnUpdate = New System.Windows.Forms.Button
Me.btnCancelAll = New System.Windows.Forms.Button
Me.grdEmployees = New System.Windows.Forms.DataGrid
Me.objTableStylegrdEmployeesEmployees = New System.Windows.Forms.DataGridTableStyle
Me.objColumnStylegrdEmployeesEmployeeID = New System.Windows.Forms.DataGridTextBoxColumn
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?