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

📄 frmsplash.frm

📁 这次上传的是一个计算机二极考试的系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSplash 
   BackColor       =   &H80000000&
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   3540
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   5895
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3540
   ScaleWidth      =   5895
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      Height          =   3450
      Left            =   75
      TabIndex        =   0
      Top             =   0
      Width           =   5730
      Begin VB.Timer Timer1 
         Interval        =   500
         Left            =   5250
         Top             =   450
      End
      Begin VB.Label Label1 
         Caption         =   "E-Mail:chengzonghui@163.net"
         Height          =   240
         Left            =   1125
         TabIndex        =   6
         Top             =   3150
         Width           =   3015
      End
      Begin VB.Line Line1 
         X1              =   5025
         X2              =   5025
         Y1              =   150
         Y2              =   2475
      End
      Begin VB.Image imgLogo 
         Height          =   1035
         Left            =   4500
         Picture         =   "frmSplash.frx":000C
         Stretch         =   -1  'True
         Top             =   2325
         Width           =   1140
      End
      Begin VB.Label lblCopyright 
         AutoSize        =   -1  'True
         Caption         =   "警告:版权属于:程宗辉       版权所有违者必究"
         Height          =   180
         Left            =   150
         TabIndex        =   1
         Top             =   2925
         Width           =   4050
      End
      Begin VB.Label lblVersion 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         Caption         =   "版本1.0"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   750
         TabIndex        =   2
         Top             =   2475
         Width           =   930
      End
      Begin VB.Label lblPlatform 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         Caption         =   "WINDOWS平台"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   450
         TabIndex        =   3
         Top             =   2100
         Width           =   1470
      End
      Begin VB.Label lblProductName 
         AutoSize        =   -1  'True
         Caption         =   "试题系统"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   42
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   840
         Left            =   1050
         TabIndex        =   5
         Top             =   975
         Width           =   3810
      End
      Begin VB.Label lblCompanyProduct 
         AutoSize        =   -1  'True
         Caption         =   "全国计算机等级考试(二级)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   18
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   360
         Left            =   225
         TabIndex        =   4
         Top             =   300
         Width           =   4890
      End
   End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim c As Integer

Option Explicit
Private Declare Function SetWindowPos Lib "user32" _
         (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, _
          ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Const HWND_TOPMOST = -1
Const SWP_NOMOVE = &H2
Const SWP_NOSIZE = &H1



Private Sub Form_Load()
     Dim lngWindowPosition As Long
 
  lngWindowPosition = SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)

End Sub

Private Sub Timer1_Timer()
c = c + 1
If c = 2 Then
Form1.Show
End If
If c = 4 Then
Me.Hide
End If

End Sub

⌨️ 快捷键说明

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