📄 frm_showtj.frm
字号:
VERSION 5.00
Begin VB.Form frm_showTJ
BorderStyle = 1 'Fixed Single
ClientHeight = 1560
ClientLeft = 45
ClientTop = 330
ClientWidth = 4125
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1560
ScaleWidth = 4125
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 1530
Left = 60
TabIndex = 0
Top = 0
Width = 3990
Begin VB.CommandButton cmdExit
Caption = "退出(&E)"
Height = 330
Left = 2910
TabIndex = 7
Top = 1020
Width = 960
End
Begin VB.TextBox Text3
ForeColor = &H80000018&
Height = 300
Left = 1320
TabIndex = 6
Top = 1020
Width = 1245
End
Begin VB.TextBox Text2
ForeColor = &H80000018&
Height = 300
Left = 1320
TabIndex = 5
Top = 660
Width = 1245
End
Begin VB.TextBox Text1
ForeColor = &H80000018&
Height = 300
Left = 1320
TabIndex = 4
Top = 315
Width = 1245
End
Begin VB.Label Label3
Caption = "部门工时:"
Height = 315
Left = 270
TabIndex = 3
Top = 1020
Width = 975
End
Begin VB.Label Label2
Caption = "部门名称:"
Height = 315
Left = 270
TabIndex = 2
Top = 660
Width = 975
End
Begin VB.Label Label1
Caption = "部门编号:"
Height = 315
Left = 270
TabIndex = 1
Top = 315
Width = 975
End
End
End
Attribute VB_Name = "frm_showTJ"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub Form_Load()
On Error Resume Next
Text1.Text = frm_BMtjcx.Adodc1.Recordset.Fields("部门编号")
Text2.Text = frm_BMtjcx.Adodc1.Recordset.Fields("部门名称")
Text3.Text = frm_BMtjcx.Adodc1.Recordset.Fields("部门总工时")
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -