📄 frmsplash.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmSplash
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ClientHeight = 7050
ClientLeft = 210
ClientTop = 1365
ClientWidth = 9315
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7050
ScaleWidth = 9315
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 50
Left = 6600
Top = 3840
End
Begin MSComctlLib.ProgressBar ProgressBar1
Height = 225
Left = 1680
TabIndex = 0
Top = 5280
Width = 5340
_ExtentX = 9419
_ExtentY = 397
_Version = 393216
Appearance = 0
End
Begin VB.Label DCSVersion
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "黑体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 210
Left = 7560
TabIndex = 2
Top = 6720
Width = 120
End
Begin VB.Label DCSName
AutoSize = -1 'True
BackStyle = 0 'Transparent
BeginProperty Font
Name = "黑体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 360
Left = 120
TabIndex = 1
Top = 6650
Width = 195
End
Begin VB.Image imgLogo
Height = 7200
Left = 0
Top = 0
Width = 9600
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End Sub
Private Sub Form_Load()
imgLogo.Picture = LoadPicture(App.Path & "\bmp\CSYF.jpg")
DCSName.Caption = ReadInIFiles("DCS", "Name", "化肥厂", iniPaths + "system.ini")
DCSVersion.Caption = "Version " & ReadInIFiles("DCS", "Version", "2.0.1", iniPaths + "system.ini")
End Sub
Private Sub Frame1_Click()
Unload Me
End Sub
Private Sub lblCompanyProduct_Click()
End Sub
Private Sub Timer1_Timer()
If ProgressBar1.Value >= 98 Then
ProgressBar1.Value = 100
TimeDelay 100
blnFirstLogin = True
Unload Me
Exit Sub
End If
ProgressBar1.Value = ProgressBar1.Value + 20
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -