frmsplash.frm

来自「GIS+VB开发. GIS+VB开发.」· FRM 代码 · 共 68 行

FRM
68
字号
VERSION 5.00
Begin VB.Form FrmSplash 
   BorderStyle     =   0  'None
   Caption         =   "电子地图查询系统封面"
   ClientHeight    =   3420
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   6435
   Icon            =   "FrmSplash.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3420
   ScaleWidth      =   6435
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   1000
      Left            =   120
      Top             =   2880
   End
   Begin VB.PictureBox SplashPic 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      ForeColor       =   &H80000008&
      Height          =   3390
      Left            =   0
      Picture         =   "FrmSplash.frx":1E72
      ScaleHeight     =   3360
      ScaleWidth      =   6375
      TabIndex        =   0
      Top             =   0
      Width           =   6405
   End
End
Attribute VB_Name = "FrmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim TempTime As Integer

Private Sub Form_Activate()
Timer1.Enabled = True
End Sub

Private Sub Form_Load()
'FrmSplash.Show
If RegFlag Then
Exit Sub
Else
FrmReg.Show 1, FrmSplash
End If
End Sub

Private Sub SplashPic_Click()
Unload Me
FrmMain.Show
End Sub

Private Sub Timer1_Timer()
TempTime = TempTime + 1
If TempTime > 1 Then
Unload Me
FrmMain.Show
End If
End Sub

⌨️ 快捷键说明

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