📄 msgform.frm
字号:
VERSION 5.00
Begin VB.Form MsgForm
BorderStyle = 3 'Fixed Dialog
ClientHeight = 945
ClientLeft = 45
ClientTop = 45
ClientWidth = 4680
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 945
ScaleWidth = 4680
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Visible = 0 'False
Begin VB.PictureBox picAvi
BorderStyle = 0 'None
Height = 735
Left = 120
ScaleHeight = 735
ScaleWidth = 855
TabIndex = 1
Top = 120
Width = 855
End
Begin VB.Label lblPrompt
Caption = "正在组织数据,请稍候..."
Height = 195
Left = 1140
TabIndex = 0
Top = 360
Width = 3315
End
End
Attribute VB_Name = "MsgForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim mclsAvi As Animate
Public Sub PleaseWait(Optional WaitInfo As String = "")
#If Not conDebug Then
If mclsAvi Is Nothing Then
Set mclsAvi = New Animate
mclsAvi.ResourceFile = "AcntRes.dll"
mclsAvi.ParentWnd = picAvi.hwnd
mclsAvi.Open 102
mclsAvi.Play
End If
If WaitInfo = "" Then
WaitInfo = "正在组织数据,请稍候..."
End If
lblPrompt.Caption = WaitInfo
Me.Show , frmMain
Me.Refresh
DoEvents
#Else
Unload Me
#End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
On Error Resume Next
mclsAvi.Close
Set mclsAvi = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -