⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsplash.frm

📁 朋友给的
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmSplash 
   AutoRedraw      =   -1  'True
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   4050
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   6105
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   9
      Charset         =   134
      Weight          =   700
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4050
   ScaleWidth      =   6105
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer Timer2 
      Left            =   930
      Top             =   2325
   End
   Begin VB.Timer Timer1 
      Left            =   390
      Top             =   3180
   End
   Begin VB.Frame Frame1 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   4050
      Left            =   45
      TabIndex        =   0
      Top             =   -45
      Width           =   6000
      Begin MSComctlLib.ProgressBar Progress1 
         Height          =   240
         Left            =   900
         TabIndex        =   11
         Top             =   3225
         Width           =   4350
         _ExtentX        =   7673
         _ExtentY        =   423
         _Version        =   393216
         BorderStyle     =   1
         Appearance      =   0
         Scrolling       =   1
      End
      Begin VB.Label lblCurrentAction 
         BackStyle       =   0  'Transparent
         Caption         =   "开始载入数据..."
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H80000006&
         Height          =   255
         Left            =   1530
         TabIndex        =   5
         Top             =   2880
         Width           =   2655
      End
      Begin VB.Label lblCompanyProduct 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   14.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   330
         Index           =   1
         Left            =   1035
         TabIndex        =   4
         Top             =   720
         Width           =   75
      End
      Begin VB.Label lblWarning 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "警告:本系统未经许可,不得任意拷贝和传播"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H8000000A&
         Height          =   210
         Left            =   1410
         TabIndex        =   1
         Top             =   3660
         Width           =   3600
      End
      Begin VB.Label lblVersion 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "Version:1.0"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   12
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H8000000E&
         Height          =   285
         Left            =   3900
         TabIndex        =   2
         Top             =   2595
         Width           =   1305
      End
      Begin VB.Label Label3 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "Version:1.0"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   12
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   285
         Left            =   3930
         TabIndex        =   7
         Top             =   2610
         Width           =   1305
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "警告:本系统未经许可,不得任意拷贝和传播"
         BeginProperty Font 
            Name            =   "Arial"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   1425
         TabIndex        =   8
         Top             =   3675
         Width           =   3600
      End
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "企业管理系统"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   26.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000080FF&
         Height          =   555
         Left            =   1320
         TabIndex        =   6
         Top             =   1710
         Width           =   3240
      End
      Begin VB.Label lblProductName 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "企业管理系统"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   26.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   555
         Left            =   1350
         TabIndex        =   3
         Top             =   1680
         Width           =   3255
      End
      Begin VB.Label Label2 
         Alignment       =   2  'Center
         BackStyle       =   0  'Transparent
         Caption         =   "上海诠山网络科技有限公司"
         BeginProperty Font 
            Name            =   "黑体"
            Size            =   15.75
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000080FF&
         Height          =   390
         Index           =   0
         Left            =   450
         TabIndex        =   9
         Top             =   885
         Width           =   5055
      End
      Begin VB.Label Label2 
         Alignment       =   2  'Center
         BackStyle       =   0  'Transparent
         Caption         =   "上海诠山网络科技有限公司"
         BeginProperty Font 
            Name            =   "黑体"
            Size            =   15.75
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   360
         Index           =   1
         Left            =   465
         TabIndex        =   10
         Top             =   870
         Width           =   5055
      End
   End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Load()
Dim KeyString As String
    

    '注册表地址
    KeyString = gREG_APP_ROOT & "\" & gAPP_TYPE

'    lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision
    lblCurrentAction = "开始载入数据..."
    Timer2.Interval = 500
    

    
    
    
    gEnterPrise_Name = GetKeyValue(HKEY_LOCAL_MACHINE, KeyString, "gEnterPrise_Name", "")
'    Label2(0).Caption = gUnit
'    Label2(1).Caption = gUnit
End Sub

Private Sub LoadData()


   
    lblCurrentAction = "正在载入员工信息..."
    Refresh
    GetPolices
    
    
    lblCurrentAction = "正在更新员工信息..."
    Refresh
    GetCars
    
    lblCurrentAction = "正在载入系统参数..."
    Refresh
    GetSchools
    
    lblCurrentAction = "载入数据完毕!"
    Timer1.Interval = 1000
End Sub

'********************
'填充Places集合       '计算每一天的考勤
'********************
Private Sub GetSchools()
    Dim rs As New ADODB.Recordset
    Dim I As Long

    On Error GoTo ErrHandle
    
    Exit Sub
ErrHandle:
    MsgBox Err.Description, vbCritical, "系统提示"
End Sub

Private Sub Timer1_Timer()
    Unload Me
End Sub

Private Sub Timer2_Timer()
    LoadData
    Timer2.Interval = 0
End Sub

Private Sub GetCars()
    Dim rs As New ADODB.Recordset
    Dim I As Long
    Dim strRq As String
    On Error GoTo ErrHandle

    Exit Sub
ErrHandle:
    MsgBox Err.Description, vbCritical, "系统提示"
End Sub

Private Sub GetPolices()
    Dim rs As New ADODB.Recordset
    Dim I As Long


    On Error GoTo ErrHandle
  
    Exit Sub
ErrHandle:
    MsgBox Err.Description, vbCritical, "系统提示"
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -