📄 frmemployeeedit.frm
字号:
VERSION 5.00
Object = "{809F5ECB-E545-4F7D-A8A8-CBFF5617AADC}#1.0#0"; "xCombox.ocx"
Object = "{7DE2015C-ABB4-4432-9634-EA5170D02672}#1.0#0"; "sTextBox.ocx"
Object = "{8803088E-2AEB-4D2F-9AF0-D08480A9BEB9}#3.0#0"; "Sinour_ES.ocx"
Begin VB.Form frmEmployeeEdit
BorderStyle = 3 'Fixed Dialog
Caption = "员工编辑"
ClientHeight = 3165
ClientLeft = 45
ClientTop = 330
ClientWidth = 6330
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 3165
ScaleWidth = 6330
ShowInTaskbar = 0 'False
Begin VB.CheckBox Check1
Caption = "复制"
Height = 285
Left = 4725
TabIndex = 16
Top = 2385
Width = 1095
End
Begin VB.Frame Frame1
Height = 2880
Left = 180
TabIndex = 0
Top = 90
Width = 4335
Begin STEXTBOXLib.STextBox txtCard
Height = 300
Left = 1710
TabIndex = 15
Top = 1230
Width = 1875
_Version = 65536
_ExtentX = 3307
_ExtentY = 529
_StockProps = 68
End
Begin STEXTBOXLib.STextBox txtCode
Height = 300
Left = 1710
TabIndex = 6
Top = 480
Width = 1875
_Version = 65536
_ExtentX = 3307
_ExtentY = 529
_StockProps = 68
End
Begin STEXTBOXLib.STextBox txtName
Height = 300
Left = 1710
TabIndex = 7
Top = 855
Width = 1875
_Version = 65536
_ExtentX = 3307
_ExtentY = 529
_StockProps = 68
End
Begin XCOMBOXLib.XCombox cmbOnClass
Height = 300
Left = 1710
TabIndex = 11
Top = 1605
Width = 1875
_Version = 65536
_ExtentX = 3307
_ExtentY = 300
_StockProps = 68
End
Begin XCOMBOXLib.XCombox cmbVac
Height = 300
Left = 1710
TabIndex = 12
Top = 1980
Width = 1875
_Version = 65536
_ExtentX = 3307
_ExtentY = 300
_StockProps = 68
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "员工卡号:"
Height = 195
Left = 810
TabIndex = 14
Top = 1305
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "默认休假:"
Height = 195
Left = 810
TabIndex = 13
Top = 2040
Width = 765
End
Begin VB.Label lbName
AutoSize = -1 'True
Caption = "员工名称:"
Height = 180
Left = 810
TabIndex = 10
Top = 945
Width = 810
End
Begin VB.Label lbCode
AutoSize = -1 'True
Caption = "员工编号:"
Height = 180
Left = 810
TabIndex = 9
Top = 540
Width = 810
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "默认排班:"
Height = 195
Left = 810
TabIndex = 8
Top = 1665
Width = 765
End
End
Begin Sinour_ES.sButton cmdSaveNew
Height = 375
Left = 4710
TabIndex = 1
Top = 1065
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 7
TX = "保存新增 "
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmEmployeeEdit.frx":0000
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
Begin Sinour_ES.sButton cmdExit
Height = 375
Left = 4710
TabIndex = 2
Top = 1920
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 7
TX = "取消退出 "
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmEmployeeEdit.frx":001C
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
Begin Sinour_ES.sButton cmdSaveExit
Height = 375
Left = 4710
TabIndex = 3
Top = 1485
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 7
TX = "保存退出 "
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmEmployeeEdit.frx":0038
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
Begin Sinour_ES.sButton cmdNext
Height = 375
Left = 4710
TabIndex = 4
Top = 630
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 7
TX = "后一记录 "
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmEmployeeEdit.frx":0054
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
Begin Sinour_ES.sButton cmdPrevious
Height = 375
Left = 4710
TabIndex = 5
Top = 180
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BTYPE = 7
TX = "前一记录 "
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
FOCUSR = -1 'True
BCOL = 13160660
BCOLO = 13160660
FCOL = 0
FCOLO = 0
MCOL = 12632256
MPTR = 1
MICON = "frmEmployeeEdit.frx":0070
UMCOL = -1 'True
SOFT = 0 'False
PICPOS = 0
NGREY = 0 'False
FX = 0
HAND = 0 'False
CHECK = 0 'False
VALUE = 0 'False
End
End
Attribute VB_Name = "frmEmployeeEdit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'Dim rstVac As New ADODB.Recordset
'Dim rstOnClass As New ADODB.Recordset
'Dim bufOnClass As New ComBuf
Dim recExec As New ADODB.Recordset
Dim m_EmployeeID As Integer
Dim m_Edit As Boolean
Public m_Changed As Boolean
Private Sub cmbOnClass_Selected()
m_Changed = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -