📄 fmloading.frm
字号:
VERSION 5.00
Begin VB.Form fmloading
BackColor = &H00E0E0E0&
BorderStyle = 3 'Fixed Dialog
Caption = "Form4"
ClientHeight = 3555
ClientLeft = 3375
ClientTop = 3060
ClientWidth = 5310
LinkTopic = "Form4"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3555
ScaleWidth = 5310
ShowInTaskbar = 0 'False
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 3600
Top = 2160
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "数据初始化中,请等待..."
ForeColor = &H000000FF&
Height = 255
Left = 1080
TabIndex = 2
Top = 2760
Width = 2175
End
Begin VB.Image Image1
Height = 480
Left = 240
Picture = "fmloading.frx":0000
Top = 480
Width = 480
End
Begin VB.Label Label2
BackColor = &H00FF0000&
BackStyle = 0 'Transparent
Caption = "学校排课管理信息系统 V1.0 "
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 615
Left = 840
TabIndex = 1
Top = 480
Width = 3975
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "(测试版)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF8080&
Height = 375
Left = 1800
TabIndex = 0
Top = 1320
Width = 2055
End
Begin VB.Image ImgBg
Height = 11520
Left = -240
Stretch = -1 'True
Top = 0
Width = 15360
End
End
Attribute VB_Name = "fmloading"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
'设置鼠标的指针
Me.MousePointer = 11
Dim X, Y As Integer
'加载背景图像
ImgBg.Picture = LoadPicture(App.Path + "\back.jpg")
'设置要加载图像的大小和位置
ImgBg.Width = Form1.Width
ImgBg.Height = Form1.Height
X = (Screen.Width - Form1.Width) / 2
Y = (Screen.Height - Form1.Height) / 2
'设置本窗口的位置
Form1.Left = X
Form1.Top = Y
'开启窗口时钟
Timer1.Enabled = True
End Sub
Private Sub ImgBg_Click()
End Sub
Private Sub Label4_Click()
End Sub
Private Sub Timer1_Timer()
'Splash窗口消失
Unload Me
'打开用户要登录的窗口
fmStart.Show
'发出提示声音
Beep
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -