📄 frmabout.frm
字号:
VERSION 5.00
Begin VB.Form frmAbout
BorderStyle = 1 'Fixed Single
Caption = "关于本软件"
ClientHeight = 3210
ClientLeft = 360
ClientTop = 795
ClientWidth = 5025
Icon = "frmAbout.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3210
ScaleWidth = 5025
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame2
Height = 135
Left = 720
TabIndex = 8
Top = 2400
Width = 3975
End
Begin VB.Timer Timer1
Interval = 2
Left = 360
Top = 2040
End
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H00E0E0E0&
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1320
ScaleHeight = 495
ScaleWidth = 2535
TabIndex = 4
Top = 120
Width = 2535
Begin VB.Line Line1
BorderWidth = 3
X1 = 360
X2 = 360
Y1 = 0
Y2 = 480
End
End
Begin VB.CommandButton Command1
Caption = "确定(&E)"
Height = 375
Left = 3360
Style = 1 'Graphical
TabIndex = 3
Top = 2640
Width = 1215
End
Begin VB.Frame Frame1
Height = 135
Left = 720
TabIndex = 2
Top = 1080
Width = 3975
End
Begin VB.Label Label6
BackColor = &H00808080&
Caption = "Label6"
Height = 375
Left = 3420
TabIndex = 9
Top = 2700
Width = 1215
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "--07届计算机专业毕业生--"
Height = 180
Left = 1560
TabIndex = 7
Top = 2160
Width = 2160
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "毕 业 设 计"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 300
Left = 1800
TabIndex = 6
Top = 1800
Width = 1755
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "广州市广播电视大学侨光分校"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 285
Left = 840
TabIndex = 5
Top = 1320
Width = 3705
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "1.0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 240
Left = 2040
TabIndex = 1
Top = 720
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "版本:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1320
TabIndex = 0
Top = 720
Width = 600
End
Begin VB.Image Image1
Height = 480
Left = 480
Picture = "frmAbout.frx":0442
Top = 120
Width = 480
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim i As Integer, j As Integer, col, b, c As Integer, tao As Boolean
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call cmdMouseDown(Command1)
End Sub
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.BackColor = &H8000000D
End Sub
Private Sub Command1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call cmdMouseUp(Command1)
End Sub
Private Sub Form_Activate()
Picture1.Print "图书管理系统"
i = 0: b = 0
c = 0
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.BackColor = &H8000000F
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
Dim a As Integer
Line1.X1 = i: Line1.X2 = i
a = 256 * Rnd
If i = 0 Or i >= Picture1.Width Then
c = c + 1
If c > 15 Then c = 0
Line1.BorderColor = QBColor(c)
End If
For j = Picture1.Height To 0 Step -10
col = Picture1.Point(i, j)
If Val(col) = 14737632 Then
Picture1.PSet (i, j), &HE0E0E0
Else
Picture1.PSet (i, j), QBColor(c) 'RGB(Abs(b - a), b, a)
End If
b = b + 4
If b >= 256 Then b = 0
DoEvents
Next
If tao = True Then
i = i + 10
If i >= Picture1.Width Then tao = False
Else
i = i - 10
If i <= 0 Then tao = True
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -