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

📄 frmspansh.frm

📁 VB库存管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmspansh 
   BorderStyle     =   0  'None
   ClientHeight    =   4425
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   5280
   LinkTopic       =   "Form1"
   Picture         =   "frmspansh.frx":0000
   ScaleHeight     =   4425
   ScaleWidth      =   5280
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin MSComctlLib.ProgressBar ProgressBar1 
      Align           =   2  'Align Bottom
      Height          =   255
      Left            =   0
      TabIndex        =   5
      Top             =   4170
      Width           =   5280
      _ExtentX        =   9313
      _ExtentY        =   450
      _Version        =   393216
      BorderStyle     =   1
      Appearance      =   0
      Scrolling       =   1
   End
   Begin VB.Timer Timer1 
      Interval        =   150
      Left            =   1320
      Top             =   2040
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "正在连接数据库,请稍候..."
      ForeColor       =   &H000000FF&
      Height          =   180
      Left            =   1800
      TabIndex        =   6
      Top             =   3960
      Width           =   2400
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "程序制作:钟干荣"
      Height          =   180
      Left            =   3240
      TabIndex        =   4
      Top             =   3240
      Width           =   1440
   End
   Begin VB.Label Label6 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "后台数据库:Access 2002"
      ForeColor       =   &H00FF00FF&
      Height          =   180
      Index           =   1
      Left            =   2640
      TabIndex        =   3
      Top             =   2280
      Width           =   2070
   End
   Begin VB.Label Label6 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "开发工具:Visual Basic 6.0"
      ForeColor       =   &H00FF00FF&
      Height          =   300
      Index           =   0
      Left            =   2640
      TabIndex        =   2
      Top             =   1920
      Width           =   2340
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "版本:V1.0"
      Height          =   180
      Left            =   4080
      TabIndex        =   1
      Top             =   1560
      Width           =   810
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "监控库存管理系统"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   26.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   525
      Left            =   360
      TabIndex        =   0
      Top             =   960
      Width           =   4440
   End
End
Attribute VB_Name = "frmspansh"
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)
'     'On Error Resume Next
'     Timer1.Enabled = False
'     Unload Me
'     frmLogin.Show vbModal
'
'End Sub

Private Sub Form_Load()
    Label4.Visible = False
   On Error Resume Next
    '判断是否已有程序启动
    If App.PrevInstance Then
        MsgBox "程序已启动!", vbOKOnly + vbExclamation, "启动"
        End
    End If
'    Load frmLogin
    
End Sub

'
'Private Sub form_Click()
'    'On Error Resume Next
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'
'End Sub
'
'Private Sub Label1_Click()
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub
'
'Private Sub Label2_Click()
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub
'
'Private Sub Label3_Click()
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub
'
'Private Sub Label4_Click()
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub
'
'Private Sub Label5_Click()
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub
'
'Private Sub Label6_Click(Index As Integer)
'    Timer1.Enabled = False
'    Unload Me
'    frmLogin.Show vbModal
'End Sub

Private Sub Timer1_Timer()
    'On Error Resume Next
    ProgressBar1.Min = 0
    ProgressBar1.Max = 40
    Timer1.Enabled = True
    If ProgressBar1.Value >= 40 Then
        Timer1.Enabled = False
        Unload Me
        frmLogin.Show vbModal
        Timer1.Enabled = False
    End If

    ProgressBar1.Value = ProgressBar1.Value + 1
    Label4.Visible = True
End Sub
    

⌨️ 快捷键说明

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