📄 frmemployee.frm
字号:
VERSION 5.00
Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form frmEmployee
Caption = "员工信息"
ClientHeight = 7845
ClientLeft = 1110
ClientTop = 345
ClientWidth = 7470
Icon = "frmEmployee.frx":0000
KeyPreview = -1 'True
LinkTopic = "Employee"
MDIChild = -1 'True
ScaleHeight = 7845
ScaleWidth = 7470
Begin VB.TextBox Address
Height = 315
Left = 2070
TabIndex = 1
Top = 510
Width = 3375
End
Begin VB.TextBox BillingRate
Alignment = 1 'Right Justify
Height = 315
Left = 2070
TabIndex = 3
Top = 835
Width = 3375
End
Begin VB.TextBox City
Height = 315
Left = 2070
TabIndex = 5
Top = 1160
Width = 3375
End
Begin VB.TextBox Country
Height = 315
Left = 2070
TabIndex = 7
Top = 1485
Width = 3375
End
Begin VB.TextBox EmployeeID
Alignment = 1 'Right Justify
BackColor = &H8000000F&
Enabled = 0 'False
Height = 315
Left = 2070
TabIndex = 9
Top = 1810
Width = 3375
End
Begin VB.TextBox Extension
Height = 315
Left = 2070
TabIndex = 11
Top = 2135
Width = 3375
End
Begin VB.TextBox FirstName
Height = 315
Left = 2070
TabIndex = 13
Top = 2460
Width = 3375
End
Begin VB.TextBox LastName
Height = 315
Left = 2070
TabIndex = 15
Top = 2785
Width = 3375
End
Begin MSMask.MaskEdBox PostalCode
Height = 315
Left = 2070
TabIndex = 17
Top = 3110
Width = 3375
_ExtentX = 5953
_ExtentY = 556
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PromptChar = "_"
End
Begin VB.TextBox StateOrProvince
Height = 315
Left = 2070
TabIndex = 19
Top = 3435
Width = 3375
End
Begin VB.TextBox Title
Height = 315
Left = 2070
TabIndex = 21
Top = 3760
Width = 3375
End
Begin MSMask.MaskEdBox WorkPhone
Height = 315
Left = 2070
TabIndex = 23
Top = 4085
Width = 3375
_ExtentX = 5953
_ExtentY = 556
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
PromptChar = "_"
End
Begin TabDlg.SSTab tabListview
Height = 2895
Left = 0
TabIndex = 0
Top = 4410
Width = 7395
_ExtentX = 13044
_ExtentY = 5106
_Version = 393216
TabOrientation = 1
Tabs = 1
TabHeight = 520
TabCaption(0) = "员工纪录"
TabPicture(0) = "frmEmployee.frx":380A
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "DataEditGrid1(0)"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).ControlCount= 1
Begin TimeBillingUI.DataEditGrid DataEditGrid1
Height = 2145
Index = 0
Left = 150
TabIndex = 25
Top = 180
Width = 6900
_ExtentX = 12171
_ExtentY = 3784
AllowAddNew = -1 'True
End
End
Begin TimeBillingUI.CaptionBar CaptionBar1
Align = 1 'Align Top
Height = 435
Left = 0
TabIndex = 26
Top = 0
Width = 7470
_ExtentX = 13176
_ExtentY = 767
Border = 4
ForeColor = -2147483643
Caption = "ok i am here"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 10.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty SubCaptionFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label lblLabels
Caption = "家庭地址:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 150
TabIndex = 2
Top = 510
Width = 1815
End
Begin VB.Label lblLabels
Caption = "年龄:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 150
TabIndex = 4
Top = 835
Width = 1815
End
Begin VB.Label lblLabels
Caption = "城市:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 150
TabIndex = 6
Top = 1160
Width = 1815
End
Begin VB.Label lblLabels
Caption = "国家:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 150
TabIndex = 8
Top = 1485
Width = 1815
End
Begin VB.Label lblLabels
Caption = "员工编号:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 150
TabIndex = 10
Top = 1810
Width = 1815
End
Begin VB.Label lblLabels
Caption = "合约年限:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 150
TabIndex = 12
Top = 2135
Width = 1815
End
Begin VB.Label lblLabels
Caption = "员工姓:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 6
Left = 150
TabIndex = 14
Top = 2460
Width = 1815
End
Begin VB.Label lblLabels
Caption = "员工名:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 7
Left = 150
TabIndex = 16
Top = 2785
Width = 1815
End
Begin VB.Label lblLabels
Caption = "邮编:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 8
Left = 150
TabIndex = 18
Top = 3110
Width = 1815
End
Begin VB.Label lblLabels
Caption = "州/省:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 9
Left = 150
TabIndex = 20
Top = 3435
Width = 1815
End
Begin VB.Label lblLabels
Caption = "职务:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 10
Left = 150
TabIndex = 22
Top = 3760
Width = 1815
End
Begin VB.Label lblLabels
Caption = "工作电话:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 11
Left = 150
TabIndex = 24
Top = 4085
Width = 1815
End
End
Attribute VB_Name = "frmEmployee"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Implements iForm
Private Const mcstrMod$ = "frmEmployee"
Private m_Employee As COMEXDataSourceSingle, m_Store As COMEXDataSourceSingle
Private m_flgLoading As Boolean
Private m_EnableAttr As ToolBarItems
Private m_Guid As String
Public Sub Component(vEmployee As COMEXDataSourceSingle)
Set m_Employee = vEmployee
Set m_Store = m_Employee.CopyMe
LoadRecords
End Sub
Private Sub EnableToolbar(ByVal Dirty As Boolean)
On Error Resume Next
If Not Dirty Then
If m_EnableAttr And tbSave Then m_EnableAttr = m_EnableAttr Xor tbSave
If m_EnableAttr And tbCancel Then m_EnableAttr = m_EnableAttr Xor tbCancel
If Not (m_EnableAttr And tbRefresh) Then m_EnableAttr = m_EnableAttr Or tbRefresh
Else
If Not (m_EnableAttr And tbSave) Then m_EnableAttr = m_EnableAttr Or tbSave
If Not (m_EnableAttr And tbCancel) Then m_EnableAttr = m_EnableAttr Or tbCancel
If m_EnableAttr And tbRefresh Then m_EnableAttr = m_EnableAttr Xor tbRefresh
End If
m_Toolbar.RefreshEnabledState
End Sub
Private Sub LoadRecords()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -