📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
AutoRedraw = -1 'True
BackColor = &H00000000&
BorderStyle = 0 'None
ClientHeight = 6135
ClientLeft = 210
ClientTop = 1365
ClientWidth = 9795
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
OLEDropMode = 1 'Manual
Picture = "frmSplash.frx":000C
ScaleHeight = 6135
ScaleWidth = 9795
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 2000
Left = -915
Top = 4170
End
Begin VB.Label Label2
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 = &H000000FF&
Height = 495
Left = 2520
TabIndex = 1
Top = 1320
Width = 4335
End
Begin VB.Label lblVersion
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Version"
ForeColor = &H000000FF&
Height = 180
Left = 6360
TabIndex = 0
Top = 3240
Width = 630
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 strSQL As String
Private Sub Form_Activate()
Timer2.Enabled = True
End Sub
Private Sub Form_Click()
Unload Me
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End Sub
Private Sub Form_Load()
frmSplash.Left = (Screen.Width - frmSplash.Width) / 2
frmSplash.Top = (Screen.Height - frmSplash.Height) / 2 - 600
'frmSplash.Picture = LoadPicture(Browser + "PHOTO\SUB.BMP")
lblVersion.Caption = "版本 " & App.Major & "." & App.Minor & "." & App.Revision
'配置
' Dim DB As Database, EF As Recordset, X As Integer
Dim i As Integer
'On Error GoTo NoData公司名称
' strSQL = "select * from config"
' Call DirectRecordset(strSQL, rstTemp)
' If rstTemp.RecordCount <> 0 Then
' rstTemp.MoveFirst
' For i = 0 To 1
' TempArray(i) = rstTemp.Fields(i).Value
' Next i
' End If
' CompanyName = TempArray(0)
' lblLicenseTo.Caption = lblLicenseTo.Caption + CompanyName
Load MDIFrmmain
'阅读配置数据
' Set DB = OpenDatabase(ConData, False, False, ConStr)
' Set EF = DB.OpenRecordset("Config", dbOpenDynaset)
' ' Ef.MoveFirst
' For X = 0 To 5
' If Not IsNull(EF.Fields(X).Value) Then
' TempArray(X) = EF.Fields(X).Value
' End If
' Next
' EF.Close
' DB.Close
' CompanyName = TempArray(0)
' Load frm_Main '安装主程序
' lblLicenseTo.Caption = lblLicenseTo.Caption + CompanyName
Exit Sub
NoData:
MsgBox "配置数据造破坏,不能配置完整的系统!", vbOKOnly + 16, "警告!"
MDIFrmmain.MousePointer = 0
Exit Sub
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
' GetStatus "按任意键继续..."
End Sub
Private Sub Form_Unload(Cancel As Integer)
MDIFrmmain.Show '主程序显示
End Sub
Private Sub lblCopyright_Click()
Unload Me
End Sub
Private Sub lblLicenseTo_Click()
Unload Me
End Sub
Private Sub lblVersion_Click()
Unload Me
End Sub
Private Sub Timer2_Timer()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -