frmsplash.frm

来自「这是一个实际的工程中所用的源程序」· FRM 代码 · 共 200 行

FRM
200
字号
VERSION 5.00
Begin VB.Form frmSplash 
   BackColor       =   &H00FFFF00&
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   4845
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   7755
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash.frx":0000
   KeyPreview      =   -1  'True
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4845
   ScaleWidth      =   7755
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      BackColor       =   &H00C0C000&
      Height          =   4755
      Left            =   120
      TabIndex        =   0
      Top             =   60
      Width           =   7560
      Begin VB.Timer Timer1 
         Interval        =   5000
         Left            =   480
         Top             =   480
      End
      Begin VB.Label lblCompanyName 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         BackColor       =   &H00C0C000&
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   15
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00C000C0&
         Height          =   300
         Left            =   1380
         TabIndex        =   8
         Top             =   840
         Width           =   4575
         WordWrap        =   -1  'True
      End
      Begin VB.Label lblProductName 
         AutoSize        =   -1  'True
         BackColor       =   &H00C0C000&
         Caption         =   "分炉计量管理系统"
         BeginProperty Font 
            Name            =   "楷体_GB2312"
            Size            =   36
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000FFFF&
         Height          =   720
         Left            =   720
         TabIndex        =   7
         Top             =   1440
         Width           =   5895
      End
      Begin VB.Image imgLogo 
         Height          =   2385
         Left            =   240
         Picture         =   "frmSplash.frx":000C
         Stretch         =   -1  'True
         Top             =   2160
         Width           =   1815
      End
      Begin VB.Label lblCopyright 
         BackColor       =   &H00C0C000&
         Caption         =   "版权所有:"
         Height          =   255
         Left            =   4920
         TabIndex        =   4
         Top             =   3360
         Width           =   2415
      End
      Begin VB.Label lblCompany 
         BackColor       =   &H00C0C000&
         Caption         =   "江苏赛摩拉姆齐技术有限公司"
         Height          =   255
         Left            =   4920
         TabIndex        =   3
         Top             =   3720
         Width           =   2415
      End
      Begin VB.Label lblWarning 
         BackColor       =   &H00C0C000&
         Caption         =   "制作人:李俊飞 2004-12-26"
         Height          =   375
         Left            =   4920
         TabIndex        =   2
         Top             =   4080
         Width           =   1485
         WordWrap        =   -1  'True
      End
      Begin VB.Label lblVersion 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         BackColor       =   &H00C0C000&
         Caption         =   "版本"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   6240
         TabIndex        =   5
         Top             =   2760
         Width           =   510
      End
      Begin VB.Label lblPlatform 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         BackColor       =   &H00C0C000&
         Caption         =   "使用于 Windows98 平台"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   240
         Left            =   3975
         TabIndex        =   6
         Top             =   2400
         Width           =   2775
      End
      Begin VB.Label lblLicenseTo 
         Alignment       =   1  'Right Justify
         BackColor       =   &H00C0C000&
         Caption         =   "授权"
         Height          =   255
         Left            =   120
         TabIndex        =   1
         Top             =   240
         Visible         =   0   'False
         Width           =   6855
      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_KeyPress(KeyAscii As Integer)
    Unload Me
    QMShow
End Sub

Private Sub Form_Load()
'    lblVersion.Caption = "版本 " & App.Major & "." & App.Minor & "." & App.Revision
    lblVersion.Caption = "版本 " & App_Major & "." & App_Minor & "." & App_Revision
    lblProductName.Caption = App.Title
    lblCompanyName.Caption = App_CompanyName
End Sub

Private Sub Frame1_Click()
    Unload Me
    QMShow
End Sub


Private Sub Timer1_Timer()
    Unload Me
    QMShow
End Sub
'Private Sub QMShow()
'    Load fQM
'    fQM.Show
'End Sub

Private Sub QMShow()
    frmMDI.Show
End Sub

⌨️ 快捷键说明

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