📄 update.vb
字号:
Imports System
Imports System.Data
Imports System.Data.OleDb
Imports Microsoft.VisualBasic
Imports System.IO
Public Class update
Inherits System.Windows.Forms.Form
'定义图片的路径
' Dim newform As New Form1()
'Private Sub firstshow()
' If newform.flag2 = 1 Then
' TxtemployeeID.Text = "1111"
' TxteName.Text = ""
' Txttitle.Text = ""
' Txtdeptno.Text = ""
' Txtdescript.Text = ""
' Txthiredate.Text = ""
' Txtsal.Text = ""
' Txttel.Text = ""
' Txtaddress.Text = ""
' End If
'End Sub
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
' firstshow()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写处置以清理组件列表。
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 Txtdeptno As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents TxteName As System.Windows.Forms.TextBox
Friend WithEvents Txttitle As System.Windows.Forms.TextBox
Friend WithEvents TxtemployeeID As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog
Friend WithEvents Pibox As System.Windows.Forms.PictureBox
Friend WithEvents Txtpath As System.Windows.Forms.TextBox
Friend WithEvents Txtdescript As System.Windows.Forms.TextBox
Friend WithEvents Txtsal As System.Windows.Forms.TextBox
Friend WithEvents Txttel As System.Windows.Forms.TextBox
Friend WithEvents Txthiredate As System.Windows.Forms.TextBox
Friend WithEvents Txtaddress As System.Windows.Forms.TextBox
Friend WithEvents Btsave As System.Windows.Forms.Button
Friend WithEvents Btexit As System.Windows.Forms.Button
Friend WithEvents Btopen As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Txtdeptno = New System.Windows.Forms.TextBox()
Me.Label7 = New System.Windows.Forms.Label()
Me.TxteName = New System.Windows.Forms.TextBox()
Me.Txttitle = New System.Windows.Forms.TextBox()
Me.TxtemployeeID = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.Txtdescript = New System.Windows.Forms.TextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.Txtsal = New System.Windows.Forms.TextBox()
Me.Txttel = New System.Windows.Forms.TextBox()
Me.Txthiredate = New System.Windows.Forms.TextBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.Txtaddress = New System.Windows.Forms.TextBox()
Me.Label9 = New System.Windows.Forms.Label()
Me.Txtpath = New System.Windows.Forms.TextBox()
Me.Label10 = New System.Windows.Forms.Label()
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
Me.Pibox = New System.Windows.Forms.PictureBox()
Me.Btsave = New System.Windows.Forms.Button()
Me.Btexit = New System.Windows.Forms.Button()
Me.Btopen = New System.Windows.Forms.Button()
Me.SuspendLayout()
'
'Txtdeptno
'
Me.Txtdeptno.Location = New System.Drawing.Point(72, 95)
Me.Txtdeptno.Name = "Txtdeptno"
Me.Txtdeptno.Size = New System.Drawing.Size(96, 21)
Me.Txtdeptno.TabIndex = 12
Me.Txtdeptno.Text = ""
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(8, 103)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(56, 16)
Me.Label7.TabIndex = 11
Me.Label7.Text = "所属部门"
'
'TxteName
'
Me.TxteName.Location = New System.Drawing.Point(72, 37)
Me.TxteName.Name = "TxteName"
Me.TxteName.Size = New System.Drawing.Size(96, 21)
Me.TxteName.TabIndex = 9
Me.TxteName.Text = ""
'
'Txttitle
'
Me.Txttitle.Location = New System.Drawing.Point(72, 66)
Me.Txttitle.Name = "Txttitle"
Me.Txttitle.Size = New System.Drawing.Size(96, 21)
Me.Txttitle.TabIndex = 10
Me.Txttitle.Text = ""
'
'TxtemployeeID
'
Me.TxtemployeeID.Location = New System.Drawing.Point(72, 8)
Me.TxtemployeeID.Name = "TxtemployeeID"
Me.TxtemployeeID.Size = New System.Drawing.Size(96, 21)
Me.TxtemployeeID.TabIndex = 8
Me.TxtemployeeID.Text = ""
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(8, 74)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(56, 16)
Me.Label3.TabIndex = 5
Me.Label3.Text = "职 务"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(8, 45)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 16)
Me.Label2.TabIndex = 6
Me.Label2.Text = "雇员姓名"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(8, 13)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(56, 16)
Me.Label1.TabIndex = 7
Me.Label1.Text = "雇员编号"
'
'Txtdescript
'
Me.Txtdescript.Location = New System.Drawing.Point(192, 24)
Me.Txtdescript.Multiline = True
Me.Txtdescript.Name = "Txtdescript"
Me.Txtdescript.Size = New System.Drawing.Size(184, 56)
Me.Txtdescript.TabIndex = 20
Me.Txtdescript.Text = ""
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(192, 8)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 16)
Me.Label4.TabIndex = 19
Me.Label4.Text = "个人介绍"
'
'Txtsal
'
Me.Txtsal.Location = New System.Drawing.Point(72, 153)
Me.Txtsal.Name = "Txtsal"
Me.Txtsal.Size = New System.Drawing.Size(96, 21)
Me.Txtsal.TabIndex = 17
Me.Txtsal.Text = ""
'
'Txttel
'
Me.Txttel.Location = New System.Drawing.Point(72, 182)
Me.Txttel.Name = "Txttel"
Me.Txttel.Size = New System.Drawing.Size(96, 21)
Me.Txttel.TabIndex = 18
Me.Txttel.Text = ""
'
'Txthiredate
'
Me.Txthiredate.Location = New System.Drawing.Point(72, 124)
Me.Txthiredate.Name = "Txthiredate"
Me.Txthiredate.Size = New System.Drawing.Size(96, 21)
Me.Txthiredate.TabIndex = 16
Me.Txthiredate.Text = ""
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(8, 190)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 16)
Me.Label5.TabIndex = 13
Me.Label5.Text = "家庭电话"
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(8, 161)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(56, 16)
Me.Label6.TabIndex = 14
Me.Label6.Text = "薪 金"
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -