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

📄 startfrm(启动窗体).frm

📁 vb开发的公交查询系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form StartFrm 
   AutoRedraw      =   -1  'True
   BackColor       =   &H00C0FFFF&
   Caption         =   "长春市公共交通信息智能化查询系统"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   Icon            =   "StartFrm(启动窗体).frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox Picture1 
      AutoRedraw      =   -1  'True
      BackColor       =   &H00000000&
      Height          =   8655
      Left            =   0
      Picture         =   "StartFrm(启动窗体).frx":0442
      ScaleHeight     =   8595
      ScaleWidth      =   11835
      TabIndex        =   0
      Top             =   0
      Width           =   11895
      Begin VB.Timer Timer1 
         Enabled         =   0   'False
         Interval        =   1000
         Left            =   240
         Top             =   480
      End
      Begin VB.CommandButton StartCmd 
         BackColor       =   &H00000000&
         DisabledPicture =   "StartFrm(启动窗体).frx":840D
         Height          =   735
         Left            =   2760
         Picture         =   "StartFrm(启动窗体).frx":855F
         Style           =   1  'Graphical
         TabIndex        =   1
         ToolTipText     =   "开始运行按钮"
         Top             =   5880
         Width           =   495
      End
   End
End
Attribute VB_Name = "StartFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim oldTime

Private Sub Startcmd_Click()
    MyfrmMain.Show vbNormal
    Unload StartFrm
End Sub

Private Sub Form_Load()
    
    StartFrm.Left = 0
    StartFrm.Top = -600
    StartFrm.Width = Screen.Width
    StartFrm.Height = Screen.Height + 600
  
    Picture1.Left = StartFrm.ScaleLeft
    Picture1.Top = StartFrm.ScaleTop
    Picture1.Width = StartFrm.ScaleWidth
    Picture1.Height = StartFrm.ScaleHeight

    Timer1.Enabled = True
    oldTime = Timer
    
End Sub

Private Sub Timer1_Timer()
    
    Dim TotalInterval As Integer
    TotalInterval = 3 's
    If Timer > oldTime + TotalInterval Then
        Timer1.Enabled = False
        Startcmd_Click
    End If
    
End Sub

⌨️ 快捷键说明

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