📄 mdifrmmain.frm
字号:
VERSION 5.00
Object = "{D76D7128-4A96-11D3-BD95-D296DC2DD072}#1.0#0"; "Vsflex7.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{1BE65FA0-CBF9-11D2-BBC7-00104B9E0792}#2.0#0"; "sstbars2.ocx"
Begin VB.MDIForm MDIfrmMain
BackColor = &H8000000C&
Caption = "长庆石油勘探局人事劳资管理系统"
ClientHeight = 5430
ClientLeft = 60
ClientTop = 345
ClientWidth = 9555
Icon = "MDIfrmMain.frx":0000
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VSFlex7Ctl.VSFlexGrid VSFlexGrid4Main
Align = 1 'Align Top
Height = 915
Left = 0
TabIndex = 1
Top = 0
Width = 9555
_cx = 16854
_cy = 1614
_ConvInfo = -1
Appearance = 1
BorderStyle = 1
Enabled = -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
MousePointer = 0
BackColor = -2147483643
ForeColor = -2147483640
BackColorFixed = -2147483633
ForeColorFixed = -2147483630
BackColorSel = -2147483635
ForeColorSel = -2147483634
BackColorBkg = -2147483636
BackColorAlternate= -2147483643
GridColor = -2147483633
GridColorFixed = -2147483632
TreeColor = -2147483632
FloodColor = 192
SheetBorder = -2147483642
FocusRect = 1
HighLight = 1
AllowSelection = -1 'True
AllowBigSelection= -1 'True
AllowUserResizing= 0
SelectionMode = 0
GridLines = 1
GridLinesFixed = 2
GridLineWidth = 1
Rows = 50
Cols = 10
FixedRows = 1
FixedCols = 1
RowHeightMin = 0
RowHeightMax = 0
ColWidthMin = 0
ColWidthMax = 0
ExtendLastCol = 0 'False
FormatString = ""
ScrollTrack = 0 'False
ScrollBars = 3
ScrollTips = 0 'False
MergeCells = 0
MergeCompare = 0
AutoResize = -1 'True
AutoSizeMode = 0
AutoSearch = 0
AutoSearchDelay = 2
MultiTotals = -1 'True
SubtotalPosition= 1
OutlineBar = 0
OutlineCol = 0
Ellipsis = 0
ExplorerBar = 0
PicturesOver = 0 'False
FillStyle = 0
RightToLeft = 0 'False
PictureType = 0
TabBehavior = 0
OwnerDraw = 0
Editable = 0
ShowComboButton = -1 'True
WordWrap = 0 'False
TextStyle = 0
TextStyleFixed = 0
OleDragMode = 0
OleDropMode = 0
DataMode = 0
VirtualData = -1 'True
DataMember = ""
ComboSearch = 3
AutoSizeMouse = -1 'True
FrozenRows = 0
FrozenCols = 0
AllowUserFreezing= 0
BackColorFrozen = 0
ForeColorFrozen = 0
WallPaperAlignment= 9
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 255
Left = 0
TabIndex = 0
Top = 5175
Width = 9555
_ExtentX = 16854
_ExtentY = 450
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 7
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 9701
MinWidth = 9701
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 2
Alignment = 2
AutoSize = 2
Object.Width = 873
MinWidth = 882
TextSave = "NUM"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 1
Alignment = 2
AutoSize = 2
Enabled = 0 'False
Object.Width = 979
MinWidth = 970
TextSave = "CAPS"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 4
Alignment = 2
AutoSize = 2
Enabled = 0 'False
Object.Width = 979
MinWidth = 970
TextSave = "SCRL"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 4
Alignment = 2
AutoSize = 2
Enabled = 0 'False
Object.Width = 953
MinWidth = 741
TextSave = "SCRL"
EndProperty
BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 2
AutoSize = 2
Object.Width = 1746
MinWidth = 1341
TextSave = "2003-4-22"
EndProperty
BeginProperty Panel7 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 2
AutoSize = 2
Object.Width = 1111
MinWidth = 970
TextSave = "21:26"
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComDlg.CommonDialog CommonDialog4DBFile
Left = 8160
Top = 1200
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin ActiveToolBars.SSActiveToolBars SSActiveToolBarsMain
Left = 8820
Top = 1260
_ExtentX = 741
_ExtentY = 741
_Version = 131083
ToolBarsCount = 2
ToolsCount = 44
Tools = "MDIfrmMain.frx":0E42
ToolBars = "MDIfrmMain.frx":1B91C
End
End
Attribute VB_Name = "MDIfrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private m_str4Permission As String
Private m_oRs4Permission As New ADODB.Recordset
Private m_oRs4Temp As New ADODB.Recordset
Private m_Reg As New FTACUTILLib.Register
Private m_oOnlyYou As New FTACUTILLib.OnlyYou
Private strFileName As String
Private m_strSQL As String
Private Sub MDIForm_Load()
m_oOnlyYou.Check C_APP_NAME, hwnd
'帮助文件
App.HelpFile = App.Path & "\help\CQBureauHelp.chm"
VSFlexGrid4Main.Visible = False
'注册信息
m_Reg.AppPath = App.Path
m_Reg.AppName = C_APP_NAME
m_Reg.AppPublishDate = C_APP_PUBLISH_DATE
'RegSaveString HKEY_LOCAL_MACHINE, C_RegPath, C_APP_PATH, App.Path
frmStart.Show
DoEvents
'初始化机构分解
'=================================================================================
ExcuteSQL "begin tran"
frmStart.ProgressBar4Init.Value = 5
If OrganBreak(False) = False Then
MsgBox "系统初始化失败,请检查数据库机构信息!", vbCritical, "失败"
ExcuteSQL "rollback tran"
Else
ExcuteSQL "commit tran"
End If
frmStart.ProgressBar4Init.Value = 10
'=================================================================================
If g_lOprroleNo <> 0 Then MakeComboList4Sting Me.VSFlexGrid4Main
G_iIsRegistered = m_Reg.IsRegistered
'检查权限
If g_lOprroleNo = 0 Then
With SSActiveToolBarsMain
.Tools("ID_单位信息").Enabled = True
.Tools("ID_职工调动信息").Enabled = False
.Tools("ID_干部基本信息").Enabled = False
.Tools("ID_工人工种信息").Enabled = False
.Tools("ID_职工其他信息").Enabled = False
.Tools("ID_职工工资信息").Enabled = False
.Tools("ID_工资演变信息").Enabled = False
.Tools("ID_合同信息").Enabled = False
.Tools("ID_标准代码").Enabled = False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -