📄 gzxx.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form gzxx
Caption = "工种信息"
ClientHeight = 4665
ClientLeft = 60
ClientTop = 345
ClientWidth = 5955
LinkTopic = "Form1"
ScaleHeight = 4665
ScaleWidth = 5955
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Caption = "工种信息"
Height = 2775
Left = 0
TabIndex = 4
Top = 0
Width = 5775
Begin VB.TextBox Text3
DataField = "部门号"
DataSource = "Adodc1"
Height = 615
Left = 4080
TabIndex = 16
Text = "Text3"
Top = 1920
Width = 1335
End
Begin VB.TextBox Text2
DataField = "员工号"
DataSource = "Adodc1"
Height = 615
Left = 1200
TabIndex = 14
Text = "Text2"
Top = 1920
Width = 1215
End
Begin VB.TextBox Text6
DataField = "基本工资"
DataSource = "Adodc1"
Height = 495
Left = 4080
TabIndex = 8
Text = "Text6"
Top = 1200
Width = 1335
End
Begin VB.TextBox Text5
DataField = "等级"
DataSource = "Adodc1"
Height = 495
Left = 4080
TabIndex = 7
Text = "Text5"
Top = 480
Width = 1335
End
Begin VB.TextBox Text4
DataField = "工种号"
DataSource = "Adodc1"
Height = 495
Left = 1200
TabIndex = 6
Text = "Text4"
Top = 480
Width = 1215
End
Begin VB.TextBox Text1
DataField = "工种名称"
DataSource = "Adodc1"
Height = 495
Left = 1200
TabIndex = 5
Text = "Text1"
Top = 1200
Width = 1215
End
Begin VB.Label Label3
Caption = "部门号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3240
TabIndex = 15
Top = 1920
Width = 615
End
Begin VB.Label Label2
Caption = "员工号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 360
TabIndex = 13
Top = 1920
Width = 495
End
Begin VB.Label Label6
Caption = "基本工资"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3240
TabIndex = 12
Top = 1200
Width = 615
End
Begin VB.Label Label5
Caption = "等级"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3240
TabIndex = 11
Top = 600
Width = 495
End
Begin VB.Label Label4
Caption = "工种号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 10
Top = 600
Width = 735
End
Begin VB.Label Label1
Caption = "工种名称"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 360
TabIndex = 9
Top = 1200
Width = 495
End
End
Begin VB.CommandButton Command5
Caption = "添加"
Height = 495
Left = 1440
TabIndex = 3
Top = 3000
Width = 615
End
Begin VB.CommandButton Command6
Caption = "删除"
Height = 495
Left = 2040
TabIndex = 2
Top = 3000
Width = 615
End
Begin VB.CommandButton Command7
Caption = "更新"
Height = 495
Left = 2640
TabIndex = 1
Top = 3000
Width = 615
End
Begin VB.CommandButton Command8
Caption = "关闭"
Height = 495
Left = 3240
TabIndex = 0
Top = 3000
Width = 615
End
Begin MSAdodcLib.Adodc Adodc1
Height = 735
Left = 0
Top = 3720
Width = 5775
_ExtentX = 10186
_ExtentY = 1296
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 3
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "DSN=工资管理系统"
OLEDBString = ""
OLEDBFile = ""
DataSourceName = "工资管理系统"
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "工种信息"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
End
Attribute VB_Name = "gzxx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command5_Click()
Adodc1.Recordset.AddNew
Text1.SetFocus
End Sub
Private Sub Command6_Click()
If MsgBox("确信要删除吗", vbYesNo, "提示") = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then
Adodc1.Recordset.MoveFirst
End If
End If
End Sub
Private Sub Command7_Click()
Adodc1.Recordset.Update
End Sub
Private Sub Command8_Click()
Me.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -