📄 frmempman.frm
字号:
ForeColor = &H00800080&
Height = 180
Left = 1320
TabIndex = 5
Top = 705
Width = 900
End
Begin VB.Label Lbl_Emp_Name
AutoSize = -1 'True
BackColor = &H00FFC0C0&
BackStyle = 0 'Transparent
Caption = "name"
DataField = "Emp_NAME"
DataSource = "AdoEmpDetail"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 180
Left = 1320
TabIndex = 4
Top = 360
Width = 360
End
Begin VB.Label Label7
AutoSize = -1 'True
BackColor = &H00FFC0C0&
BackStyle = 0 'Transparent
Caption = "出生日期"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 120
TabIndex = 3
Top = 705
Width = 1020
End
Begin VB.Label Label1
AutoSize = -1 'True
BackColor = &H00FFC0C0&
BackStyle = 0 'Transparent
Caption = "性 别"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 2520
TabIndex = 2
Top = 360
Width = 1050
End
Begin VB.Label Label14
AutoSize = -1 'True
BackColor = &H00FFC0C0&
BackStyle = 0 'Transparent
Caption = "上级员工"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4800
TabIndex = 1
Top = 4320
Width = 1020
End
End
Begin MSDataListLib.DataList DataList1
Bindings = "FrmEmpMan.frx":1B6C
Height = 2400
Left = 1800
TabIndex = 66
Top = 4680
Width = 2415
_ExtentX = 4260
_ExtentY = 4180
_Version = 393216
ListField = "Emp_Name"
BoundColumn = "Emp_Id"
End
Begin MSComctlLib.ImageList ImageList3
Left = 1560
Top = 2280
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483628
ImageWidth = 16
ImageHeight = 16
MaskColor = 16777215
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 5
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmEmpMan.frx":1BA6
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmEmpMan.frx":4538
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmEmpMan.frx":6ECA
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmEmpMan.frx":985C
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmEmpMan.frx":C1EE
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.TreeView TreeView1
Height = 2775
Left = 1800
TabIndex = 67
Top = 1440
Width = 2415
_ExtentX = 4260
_ExtentY = 4895
_Version = 393217
HideSelection = 0 'False
LabelEdit = 1
Sorted = -1 'True
Style = 7
HotTracking = -1 'True
SingleSel = -1 'True
ImageList = "ImageList3"
BorderStyle = 1
Appearance = 1
MousePointer = 99
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MouseIcon = "FrmEmpMan.frx":EB80
End
Begin VB.Label Label16
Caption = "员工信息"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 7200
TabIndex = 76
Top = 600
Width = 1335
End
Begin VB.Label LblTrans
BackStyle = 0 'Transparent
Caption = "部门调转"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 9480
MouseIcon = "FrmEmpMan.frx":EE9A
MousePointer = 99 'Custom
TabIndex = 72
Top = 8160
Width = 1215
End
Begin VB.Image Image6
Height = 300
Left = 8880
Picture = "FrmEmpMan.frx":F1A4
Top = 8160
Width = 300
End
Begin VB.Label LblAdd
BackStyle = 0 'Transparent
Caption = "添加"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4800
MouseIcon = "FrmEmpMan.frx":F5C0
MousePointer = 99 'Custom
TabIndex = 71
Top = 8160
Width = 615
End
Begin VB.Image Image5
Height = 300
Left = 4200
Picture = "FrmEmpMan.frx":F8CA
Top = 8160
Width = 300
End
Begin VB.Label LblModify
BackStyle = 0 'Transparent
Caption = "修改"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 6360
MouseIcon = "FrmEmpMan.frx":FCE6
MousePointer = 99 'Custom
TabIndex = 70
Top = 8160
Width = 615
End
Begin VB.Image Image2
Height = 300
Left = 5760
Picture = "FrmEmpMan.frx":FFF0
Top = 8160
Width = 300
End
Begin VB.Label LblDelete
BackStyle = 0 'Transparent
Caption = "删除"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 7920
MouseIcon = "FrmEmpMan.frx":1040C
MousePointer = 99 'Custom
TabIndex = 69
Top = 8160
Width = 615
End
Begin VB.Image Image3
Height = 300
Left = 7320
Picture = "FrmEmpMan.frx":10716
Top = 8160
Width = 300
End
Begin VB.Label LblBack
BackStyle = 0 'Transparent
Caption = "返回"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 11520
MouseIcon = "FrmEmpMan.frx":10B32
MousePointer = 99 'Custom
TabIndex = 68
Top = 8160
Width = 615
End
Begin VB.Image Image4
Height = 300
Left = 10920
Picture = "FrmEmpMan.frx":10E3C
Top = 8160
Width = 300
End
End
Attribute VB_Name = "FrmEmpMan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public TmpOk As Boolean
Private Sub ComboState_Click()
'根据ComboState的值刷新AdoEmpNameList,并更新DataList1的内容
AdoEmpNameList.RecordSource = "SELECT Emp_Id, Emp_Name FROM Employees WHERE Dep_Id=" _
+ Trim(Str(CurDep.Dep_Id)) + " And State=" + Trim(Str(ComboState.ListIndex + 1))
AdoEmpNameList.Refresh
DataList1.ReFill
DataList1_Click
End Sub
Private Sub Command4_Click()
If FrmRs_PhotoMenu.Visible = True Then
Unload FrmRs_PhotoMenu
End If
Unload Me
End Sub
Private Sub Command5_Click()
Dim TmpDepId As Long
If CurEmp.Emp_Id <= 0 Then
MsgBox "请选择员工"
Exit Sub
End If
TmpDepId = CurDep.Dep_Id
CurDep.Init
FrmTrans.Lbl_Emp_Name = DataList1.Text
FrmTrans.Lbl_OldDep = TreeView1.SelectedItem.Text
FrmTrans.ComboDep.Text = ""
FrmTrans.txtTitle = ""
FrmTrans.Show 1
CurDep.Dep_Id = TmpDepId
CurDep.GetInfo (CurDep.Dep_Id)
'更新datali
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -