frmsplash.frm

来自「银行定储模拟程序」· FRM 代码 · 共 127 行

FRM
127
字号
VERSION 5.00
Begin VB.Form frmSplash 
   BackColor       =   &H00000000&
   BorderStyle     =   0  'None
   ClientHeight    =   4515
   ClientLeft      =   210
   ClientTop       =   1365
   ClientWidth     =   6000
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "frmSplash.frx":000C
   ScaleHeight     =   4515
   ScaleWidth      =   6000
   ShowInTaskbar   =   0   'False
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   5160
      Top             =   2640
   End
   Begin VB.Timer Timer2 
      Enabled         =   0   'False
      Interval        =   3000
      Left            =   -915
      Top             =   4170
   End
   Begin VB.Label Label2 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "正在进行初始化..."
      ForeColor       =   &H00000000&
      Height          =   255
      Left            =   2040
      TabIndex        =   1
      Top             =   3495
      Width           =   1995
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "银行定期储蓄系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1900
      TabIndex        =   0
      Top             =   2700
      Width           =   2175
   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_Activate()
Timer2.Enabled = True
End Sub

Private Sub Form_Click()
    Unload Me
End Sub

Private Sub Form_KeyPress(KeyAscii As Integer)
    Unload Me
End Sub

Private Sub Form_Load()
  frmSplash.Left = (Screen.Width - frmSplash.Width) / 2
  frmSplash.Top = (Screen.Height - frmSplash.Height) / 2 - 600
  On Error GoTo NoData
  Load frmMain '安装主程序
  Exit Sub
NoData:
  MsgBox "配置数据造破坏,不能配置完整的系统!", vbOKOnly + 16, "警告!"
  frmMain.MousePointer = 0
  Exit Sub
  
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
   
   GetStatus "系统初始化完成..."

End Sub

Private Sub Form_Unload(Cancel As Integer)

 frmMain.Show  '主程序显示

End Sub

Private Sub lblCopyright_Click()
   Unload Me
End Sub

Private Sub lblLicenseTo_Click()
   Unload Me
End Sub

Private Sub lblVersion_Click()
   Unload Me
End Sub



Private Sub Timer1_Timer()
Label2.Caption = "应用本地安全策略..."
End Sub

Private Sub Timer2_Timer()
   Unload Me
End Sub

⌨️ 快捷键说明

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