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

📄 frm_clear.frm

📁 基于vb的图书管理系统的设计
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frm_Clear 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "清理数据库"
   ClientHeight    =   1575
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   5205
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1575
   ScaleWidth      =   5205
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   3375
      Top             =   1035
   End
   Begin VB.CommandButton cmdCencal 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   330
      Left            =   4095
      TabIndex        =   2
      Top             =   1125
      Width           =   960
   End
   Begin MSComCtl2.Animation Animation1 
      Height          =   825
      Left            =   135
      TabIndex        =   0
      Top             =   90
      Width           =   4965
      _ExtentX        =   8758
      _ExtentY        =   1455
      _Version        =   393216
      FullWidth       =   331
      FullHeight      =   55
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "正在清理数据库,请耐心等待..."
      Height          =   180
      Left            =   225
      TabIndex        =   1
      Top             =   1125
      Width           =   2610
   End
End
Attribute VB_Name = "frm_Clear"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Dim m As Integer


Private Sub cmdCencal_Click()
Animation1.Close
Timer1.Interval = 0
MsgBox "数据清理尚未完成!", , "提示"
Unload Me
End Sub

Private Sub Form_Load()
m = 0
Animation1.Open App.Path & "\FILEDEL.AVI"
Animation1.Play
End Sub

Private Sub Timer1_Timer()
m = m + 1
If m = 3 Then
 Animation1.Close
 Unload Me
 MsgBox "数据清理完闭!", , "提示"
End If
End Sub

⌨️ 快捷键说明

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