📄 form1.frm
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form1
Caption = "人事信息管理"
ClientHeight = 5235
ClientLeft = 4155
ClientTop = 2160
ClientWidth = 9120
LinkTopic = "Form1"
ScaleHeight = 5235
ScaleWidth = 9120
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 7080
Top = 4560
Visible = 0 'False
Width = 1575
_ExtentX = 2778
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=人事管理;Data Source=(local)"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=人事管理;Data Source=(local)"
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
Begin VB.CommandButton Command2
Caption = "关 闭"
Height = 1695
Left = 8640
TabIndex = 0
Top = 1440
Width = 375
End
Begin TabDlg.SSTab SSTab1
Height = 4815
Left = 240
TabIndex = 1
Top = 120
Width = 8055
_ExtentX = 14208
_ExtentY = 8493
_Version = 393216
MousePointer = 1
Tab = 2
TabHeight = 746
BackColor = 12632256
ForeColor = 32768
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
TabCaption(0) = "信息添加,更新"
TabPicture(0) = "Form1.frx":0000
Tab(0).ControlEnabled= 0 'False
Tab(0).Control(0)= "Command1"
Tab(0).Control(1)= "Frame1"
Tab(0).ControlCount= 2
TabCaption(1) = "信息注销"
TabPicture(1) = "Form1.frx":001C
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "Command3"
Tab(1).Control(1)= "Frame2"
Tab(1).ControlCount= 2
TabCaption(2) = "信息查询"
TabPicture(2) = "Form1.frx":0038
Tab(2).ControlEnabled= -1 'True
Tab(2).Control(0)= "Frame3"
Tab(2).Control(0).Enabled= 0 'False
Tab(2).Control(1)= "Command4"
Tab(2).Control(1).Enabled= 0 'False
Tab(2).ControlCount= 2
Begin VB.CommandButton Command4
Caption = "确定"
Height = 495
Left = 6600
TabIndex = 15
Top = 1920
Width = 1215
End
Begin VB.CommandButton Command3
Caption = "确定"
Height = 495
Left = -68640
TabIndex = 14
Top = 1800
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 495
Left = -68880
TabIndex = 13
Top = 1800
Width = 1215
End
Begin VB.Frame Frame3
Caption = "请选择查询条件"
Height = 3855
Left = 720
TabIndex = 12
Top = 600
Width = 5655
Begin VB.OptionButton Option12
Caption = "员工编号"
Height = 615
Left = 360
TabIndex = 19
Top = 2760
Width = 3255
End
Begin VB.OptionButton Option11
Caption = "岗位编号"
Height = 375
Left = 360
TabIndex = 18
Top = 2160
Width = 3375
End
Begin VB.OptionButton Option10
Caption = "学历"
Height = 495
Left = 360
TabIndex = 17
Top = 1320
Width = 3615
End
Begin VB.OptionButton Option9
Caption = "婚姻状况"
Height = 375
Left = 360
TabIndex = 16
Top = 600
Width = 3255
End
End
Begin VB.Frame Frame2
Caption = "选择操作对象"
Height = 3255
Left = -74400
TabIndex = 8
Top = 720
Width = 5415
Begin VB.OptionButton Option8
Caption = "企业部门信息表"
Height = 375
Left = 480
TabIndex = 11
Top = 2160
Width = 1815
End
Begin VB.OptionButton Option7
Caption = "企业工作岗位信息表"
Height = 495
Left = 480
TabIndex = 10
Top = 1200
Width = 1935
End
Begin VB.OptionButton Option6
Caption = "员工信息"
Height = 495
Left = 480
TabIndex = 9
Top = 360
Width = 2295
End
End
Begin VB.Frame Frame1
Caption = "选择需要操作的表"
Height = 3855
Left = -74520
TabIndex = 2
Top = 600
Width = 4935
Begin VB.OptionButton Option4
Caption = "企业工作岗位信息表"
Height = 495
Left = 240
TabIndex = 7
Top = 2280
Width = 1935
End
Begin VB.OptionButton Option5
Caption = "企业部门信息表"
Height = 375
Left = 240
TabIndex = 6
Top = 3000
Width = 1815
End
Begin VB.OptionButton Option1
Caption = "员工基本信息表"
Height = 495
Left = 240
TabIndex = 5
Top = 480
Width = 2295
End
Begin VB.OptionButton Option2
Caption = "员工婚姻状况表"
Height = 495
Left = 240
TabIndex = 4
Top = 1080
Width = 2655
End
Begin VB.OptionButton Option3
Caption = "学历信息表"
Height = 495
Left = 240
TabIndex = 3
Top = 1680
Width = 2295
End
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Option1.Value = True Then
Form2.Show
ElseIf Option2.Value = True Then
Form3.Show
ElseIf Option3.Value = True Then
Form4.Show
ElseIf Option4.Value = True Then
Form5.Show
ElseIf Option5.Value = True Then
Form6.Show
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
If Option6.Value = True Then
Form7.Show
ElseIf Option7.Value = True Then
Form8.Show
ElseIf Option8.Value = True Then
Form9.Show
End If
End Sub
Private Sub Command4_Click()
Form10.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -