📄 frm_backup.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frm_BackUp
BackColor = &H80000013&
BorderStyle = 1 'Fixed Single
Caption = "备份数据"
ClientHeight = 1590
ClientLeft = 2940
ClientTop = 2865
ClientWidth = 5220
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
MousePointer = 11 'Hourglass
ScaleHeight = 1590
ScaleWidth = 5220
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Interval = 3000
Left = 3060
Top = 1125
End
Begin MSComCtl2.Animation Animation1
Height = 960
Left = 90
TabIndex = 1
Top = 90
Width = 5010
_ExtentX = 8837
_ExtentY = 1693
_Version = 393216
AutoPlay = -1 'True
Center = -1 'True
BackColor = -2147483629
FullWidth = 334
FullHeight = 64
End
Begin VB.Label lblTitle
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "系统正在备份数据,请等待..."
ForeColor = &H00000000&
Height = 180
Left = 540
TabIndex = 0
Top = 1215
Width = 2340
End
End
Attribute VB_Name = "frm_BackUp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim m As Integer
Private Sub Form_Load()
m = 0
Animation1.Open App.Path & "\FILEMOVE.AVI"
Animation1.Play
End Sub
Private Sub Timer1_Timer()
m = m + 1
If m = 3 And backupFlag = True Then
Animation1.Close
Unload Me
MsgBox "数据备份完闭!", , "提示"
End If
If m = 3 And backupFlag = False Then
Animation1.Close
Unload Me
MsgBox "数据备份完闭,系统将自动关闭!", , "提示"
End
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -