📄 form6.frm
字号:
VERSION 5.00
Begin VB.Form Form6
BorderStyle = 3 'Fixed Dialog
Caption = " "
ClientHeight = 4020
ClientLeft = 2775
ClientTop = 2640
ClientWidth = 6375
ControlBox = 0 'False
LinkTopic = "Form6"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4020
ScaleWidth = 6375
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 375
Left = 0
TabIndex = 3
Top = 2400
Visible = 0 'False
Width = 855
End
Begin VB.PictureBox Picture1
Height = 250
Left = 480
ScaleHeight = 195
ScaleWidth = 5235
TabIndex = 1
Top = 3120
Width = 5295
Begin VB.Label Label2
BackColor = &H00C00000&
Height = 375
Left = 0
TabIndex = 2
Top = 0
Width = 15
End
End
Begin VB.Timer Timer1
Interval = 10
Left = 0
Top = 0
End
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 975
Left = 480
Picture = "Form6.frx":0000
ScaleHeight = 945
ScaleWidth = 945
TabIndex = 0
Top = 1320
Width = 975
End
Begin VB.Line Line2
BorderColor = &H00FFFFFF&
X1 = 0
X2 = 6240
Y1 = 1110
Y2 = 1110
End
Begin VB.Label Label6
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "山东科技大学工程学院资产部"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00400000&
Height = 255
Left = 960
TabIndex = 9
Top = 2640
Width = 4215
End
Begin VB.Label Label5
Alignment = 2 'Center
Caption = "山东科技大学物品管理系统"
BeginProperty Font
Name = "宋体"
Size = 24
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C00000&
Height = 615
Left = 0
TabIndex = 8
Top = 280
Width = 6255
End
Begin VB.Label Label3
Caption = "正在加载:"
Height = 255
Left = 2280
TabIndex = 7
Top = 3600
Width = 1095
End
Begin VB.Label Label4
Caption = "Label1"
Height = 255
Left = 3360
TabIndex = 6
Top = 3600
Width = 615
End
Begin VB.Label Label7
Alignment = 2 'Center
Caption = "version 1.1"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 3720
TabIndex = 5
Top = 1440
Width = 1935
End
Begin VB.Label Label8
Alignment = 2 'Center
Caption = "2004年1月"
ForeColor = &H000000FF&
Height = 255
Left = 4080
TabIndex = 4
Top = 2040
Width = 1215
End
Begin VB.Line Line1
X1 = 0
X2 = 6240
Y1 = 1090
Y2 = 1090
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Const HWND_TOPMOST = -1
Const HWND_NOTOPMOST = -2
Const SWP_NOSIZE = &H1
Const SWP_NOMOVE = &H2
Const SWP_NOACTIVATE = &H10
Const SWP_SHOWWINDOW = &H40
Private Declare Sub SetWindowPos Lib "User32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)
Private Sub Command1_Click()
Unload Me
login.Show
login.Text3.SetFocus
End Sub
Private Sub Form_Load()
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE
If Right(App.path, 1) = "\" Then ' 若 App.Path 为根目录
curpath = App.path
Else
curpath = App.path + "\"
End If
End Sub
Private Sub Timer1_Timer()
Label2.Width = Label2.Width + 50
MousePointer = 11
Label4.Caption = str(Int(Label2.Width * 100 / Picture1.Width)) + "%"
If Label2.Width >= Picture1.Width Then
MousePointer = 0
Unload Me
Form7.Show
Form7.Text3.SetFocus
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -