⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataform2.vb

📁 Visual Basic .NET程序设计教程源代码
💻 VB
📖 第 1 页 / 共 2 页
字号:
Public Class DataForm2
    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 objDataSet1 As WindowsApplication1.DataSet1
    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 lbladdress As System.Windows.Forms.Label
    Friend WithEvents lblbirth As System.Windows.Forms.Label
    Friend WithEvents lblbp As System.Windows.Forms.Label
    Friend WithEvents lbldemo As System.Windows.Forms.Label
    Friend WithEvents lblemail As System.Windows.Forms.Label
    Friend WithEvents editaddress As System.Windows.Forms.TextBox
    Friend WithEvents editbirth As System.Windows.Forms.TextBox
    Friend WithEvents editbp As System.Windows.Forms.TextBox
    Friend WithEvents editdemo As System.Windows.Forms.TextBox
    Friend WithEvents editemail As System.Windows.Forms.TextBox
    Friend WithEvents lblid As System.Windows.Forms.Label
    Friend WithEvents lblmobile As System.Windows.Forms.Label
    Friend WithEvents lblname As System.Windows.Forms.Label
    Friend WithEvents lblpc As System.Windows.Forms.Label
    Friend WithEvents lblphone As System.Windows.Forms.Label
    Friend WithEvents editid As System.Windows.Forms.TextBox
    Friend WithEvents editmobile As System.Windows.Forms.TextBox
    Friend WithEvents editname As System.Windows.Forms.TextBox
    Friend WithEvents editpc As System.Windows.Forms.TextBox
    Friend WithEvents editphone As System.Windows.Forms.TextBox
    Friend WithEvents btnNavFirst As System.Windows.Forms.Button
    Friend WithEvents btnNavPrev As System.Windows.Forms.Button
    Friend WithEvents lblNavLocation As System.Windows.Forms.Label
    Friend WithEvents btnNavNext As System.Windows.Forms.Button
    Friend WithEvents btnLast As System.Windows.Forms.Button
    Friend WithEvents btnAdd As System.Windows.Forms.Button
    Friend WithEvents btnDelete As System.Windows.Forms.Button
    Friend WithEvents btnCancel As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.objDataSet1 = New WindowsApplication1.DataSet1
        Me.btnLoad = New System.Windows.Forms.Button
        Me.btnUpdate = New System.Windows.Forms.Button
        Me.btnCancelAll = New System.Windows.Forms.Button
        Me.lbladdress = New System.Windows.Forms.Label
        Me.lblbirth = New System.Windows.Forms.Label
        Me.lblbp = New System.Windows.Forms.Label
        Me.lbldemo = New System.Windows.Forms.Label
        Me.lblemail = New System.Windows.Forms.Label
        Me.editaddress = New System.Windows.Forms.TextBox
        Me.editbirth = New System.Windows.Forms.TextBox
        Me.editbp = New System.Windows.Forms.TextBox
        Me.editdemo = New System.Windows.Forms.TextBox
        Me.editemail = New System.Windows.Forms.TextBox
        Me.lblid = New System.Windows.Forms.Label
        Me.lblmobile = New System.Windows.Forms.Label
        Me.lblname = New System.Windows.Forms.Label
        Me.lblpc = New System.Windows.Forms.Label
        Me.lblphone = New System.Windows.Forms.Label
        Me.editid = New System.Windows.Forms.TextBox
        Me.editmobile = New System.Windows.Forms.TextBox
        Me.editname = New System.Windows.Forms.TextBox
        Me.editpc = New System.Windows.Forms.TextBox
        Me.editphone = New System.Windows.Forms.TextBox
        Me.btnNavFirst = New System.Windows.Forms.Button
        Me.btnNavPrev = New System.Windows.Forms.Button
        Me.lblNavLocation = New System.Windows.Forms.Label
        Me.btnNavNext = New System.Windows.Forms.Button
        Me.btnLast = New System.Windows.Forms.Button
        Me.btnAdd = New System.Windows.Forms.Button
        Me.btnDelete = New System.Windows.Forms.Button
        Me.btnCancel = New System.Windows.Forms.Button
        CType(Me.objDataSet1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'objDataSet1
        '
        Me.objDataSet1.DataSetName = "DataSet1"
        Me.objDataSet1.Locale = New System.Globalization.CultureInfo("zh-CN")
        '
        'btnLoad
        '
        Me.btnLoad.Location = New System.Drawing.Point(10, 10)
        Me.btnLoad.Name = "btnLoad"
        Me.btnLoad.Size = New System.Drawing.Size(88, 23)
        Me.btnLoad.TabIndex = 0
        Me.btnLoad.Text = "加载(&L)"
        '
        'btnUpdate
        '
        Me.btnUpdate.Location = New System.Drawing.Point(352, 10)
        Me.btnUpdate.Name = "btnUpdate"
        Me.btnUpdate.Size = New System.Drawing.Size(88, 23)
        Me.btnUpdate.TabIndex = 1
        Me.btnUpdate.Text = "更新(&U)"
        '
        'btnCancelAll
        '
        Me.btnCancelAll.Location = New System.Drawing.Point(352, 43)
        Me.btnCancelAll.Name = "btnCancelAll"
        Me.btnCancelAll.Size = New System.Drawing.Size(88, 23)
        Me.btnCancelAll.TabIndex = 2
        Me.btnCancelAll.Text = "全部取消(&N)"
        '
        'lbladdress
        '
        Me.lbladdress.Location = New System.Drawing.Point(10, 76)
        Me.lbladdress.Name = "lbladdress"
        Me.lbladdress.TabIndex = 3
        Me.lbladdress.Text = "address"
        '
        'lblbirth
        '
        Me.lblbirth.Location = New System.Drawing.Point(10, 109)
        Me.lblbirth.Name = "lblbirth"
        Me.lblbirth.TabIndex = 4
        Me.lblbirth.Text = "birth"
        '
        'lblbp
        '
        Me.lblbp.Location = New System.Drawing.Point(10, 142)
        Me.lblbp.Name = "lblbp"
        Me.lblbp.TabIndex = 5
        Me.lblbp.Text = "bp"
        '
        'lbldemo
        '
        Me.lbldemo.Location = New System.Drawing.Point(10, 175)
        Me.lbldemo.Name = "lbldemo"
        Me.lbldemo.TabIndex = 6
        Me.lbldemo.Text = "demo"
        '
        'lblemail
        '
        Me.lblemail.Location = New System.Drawing.Point(10, 208)
        Me.lblemail.Name = "lblemail"
        Me.lblemail.TabIndex = 7
        Me.lblemail.Text = "email"
        '
        'editaddress
        '
        Me.editaddress.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.address"))
        Me.editaddress.Location = New System.Drawing.Point(120, 76)
        Me.editaddress.Name = "editaddress"
        Me.editaddress.TabIndex = 8
        Me.editaddress.Text = ""
        '
        'editbirth
        '
        Me.editbirth.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.birth"))
        Me.editbirth.Location = New System.Drawing.Point(120, 109)
        Me.editbirth.Name = "editbirth"
        Me.editbirth.TabIndex = 9
        Me.editbirth.Text = ""
        '
        'editbp
        '
        Me.editbp.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.bp"))
        Me.editbp.Location = New System.Drawing.Point(120, 142)
        Me.editbp.Name = "editbp"
        Me.editbp.TabIndex = 10
        Me.editbp.Text = ""
        '
        'editdemo
        '
        Me.editdemo.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.demo"))
        Me.editdemo.Location = New System.Drawing.Point(120, 175)
        Me.editdemo.Name = "editdemo"
        Me.editdemo.TabIndex = 11
        Me.editdemo.Text = ""
        '
        'editemail
        '
        Me.editemail.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.email"))
        Me.editemail.Location = New System.Drawing.Point(120, 208)
        Me.editemail.Name = "editemail"
        Me.editemail.TabIndex = 12
        Me.editemail.Text = ""
        '
        'lblid
        '
        Me.lblid.Location = New System.Drawing.Point(230, 76)
        Me.lblid.Name = "lblid"
        Me.lblid.TabIndex = 13
        Me.lblid.Text = "id"
        '
        'lblmobile
        '
        Me.lblmobile.Location = New System.Drawing.Point(230, 109)
        Me.lblmobile.Name = "lblmobile"
        Me.lblmobile.TabIndex = 14
        Me.lblmobile.Text = "mobile"
        '
        'lblname
        '
        Me.lblname.Location = New System.Drawing.Point(230, 142)
        Me.lblname.Name = "lblname"
        Me.lblname.TabIndex = 15
        Me.lblname.Text = "name"
        '
        'lblpc
        '
        Me.lblpc.Location = New System.Drawing.Point(230, 175)
        Me.lblpc.Name = "lblpc"
        Me.lblpc.TabIndex = 16
        Me.lblpc.Text = "pc"
        '
        'lblphone
        '
        Me.lblphone.Location = New System.Drawing.Point(230, 208)
        Me.lblphone.Name = "lblphone"
        Me.lblphone.TabIndex = 17
        Me.lblphone.Text = "phone"
        '
        'editid
        '
        Me.editid.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.id"))
        Me.editid.Location = New System.Drawing.Point(340, 76)
        Me.editid.Name = "editid"
        Me.editid.TabIndex = 18
        Me.editid.Text = ""
        '
        'editmobile
        '
        Me.editmobile.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.mobile"))
        Me.editmobile.Location = New System.Drawing.Point(340, 109)
        Me.editmobile.Name = "editmobile"
        Me.editmobile.TabIndex = 19
        Me.editmobile.Text = ""
        '
        'editname
        '
        Me.editname.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.objDataSet1, "detail.name"))
        Me.editname.Location = New System.Drawing.Point(340, 142)
        Me.editname.Name = "editname"
        Me.editname.TabIndex = 20

⌨️ 快捷键说明

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