📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 5115
ClientLeft = 3180
ClientTop = 2100
ClientWidth = 8610
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
Picture = "Form1.frx":0000
ScaleHeight = 5115
ScaleWidth = 8610
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H00FF0000&
ForeColor = &H80000008&
Height = 400
Left = 0
ScaleHeight = 375
ScaleWidth = 8595
TabIndex = 0
Top = 0
Visible = 0 'False
Width = 8620
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "浩 天 网 络 科 技"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 315
Left = 2280
TabIndex = 5
Top = 45
Width = 3630
End
End
Begin VB.Timer Timer1
Interval = 3000
Left = 1680
Top = 3360
End
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 5175
Left = 0
Picture = "Form1.frx":19D39
ScaleHeight = 5145
ScaleWidth = 8625
TabIndex = 1
Top = 0
Width = 8655
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "制作:flyapsaras QQ:56776244"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 480
Left = 6120
TabIndex = 4
Top = 4440
Width = 2160
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "版本:V1.0(测试版)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 6000
TabIndex = 3
Top = 4080
Width = 2340
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "浩天电脑硬件库管系统"
BeginProperty Font
Name = "隶书"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 720
Left = 600
TabIndex = 2
Top = 1200
Width = 7350
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Form_Load()
If App.PrevInstance Then
MsgBox "该程序已运行!"
End
End If
End Sub
Private Sub Label1_Click()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Label2_Click()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Label4_Click()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Picture2_Click()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
Unload Me
Formlog.Show
Timer1.Enabled = False
End Sub
Private Sub Form_Unload(Cancel As Integer)
Dim i As Integer
i = Me.Height
While i >= Picture1.Height
i = i - 15
If i > Picture1.Height Then
Me.Height = i
Else
Me.Height = Picture1.Height
Picture1.Visible = True
End If
DoEvents
Wend
i = Me.Top
i = Me.Top
While i > 0
Me.Move Me.Left, i, Me.Width, Me.Height
i = i - 10
DoEvents
Wend
i = Me.Left
While i < Screen.Width
Me.Move i, 0, Me.Width, Me.Height
i = i + 15
DoEvents
Wend
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -