📄 frmsplash.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmSplash
BorderStyle = 3 'Fixed Dialog
ClientHeight = 4950
ClientLeft = 255
ClientTop = 1410
ClientWidth = 7545
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "frmSplash.frx":000C
ScaleHeight = 4950
ScaleWidth = 7545
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin MSComctlLib.ProgressBar P1
Height = 255
Left = 1680
TabIndex = 0
Top = 3600
Width = 4335
_ExtentX = 7646
_ExtentY = 450
_Version = 393216
Appearance = 1
End
Begin VB.Timer Timer1
Interval = 10
Left = 240
Top = 3720
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "小区物业管理系统"
BeginProperty Font
Name = "华文彩云"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 735
Left = 2040
TabIndex = 1
Top = 720
Width = 3975
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim dlaytime As Integer
Private Sub Form_Load()
Dim x0 As Long '居中显示
Dim y0 As Long
x0 = Screen.Width
y0 = Screen.Height
x0 = (x0 - Me.Width) / 2
y0 = (y0 - Me.Height) / 2
Me.Move x0, y0
dlaytime = 0
Timer1.Enabled = True
End Sub
Private Sub Image1_Click()
End Sub
Private Sub Timer1_Timer()
If dlaytime >= 100 Then
'Timer1.Enabled = False
Load frmLogin
frmLogin.Show
Unload Me
Else
dlaytime = dlaytime + 1
P1.Value = dlaytime
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -