📄 frm_about.frm
字号:
VERSION 5.00
Begin VB.Form Frm_About
BorderStyle = 3 'Fixed Dialog
Caption = "关于"
ClientHeight = 3270
ClientLeft = 45
ClientTop = 435
ClientWidth = 5910
Icon = "Frm_About.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3270
ScaleWidth = 5910
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.PictureBox Pic_Copyright
Appearance = 0 'Flat
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 1455
Left = 240
ScaleHeight = 1455
ScaleWidth = 3135
TabIndex = 5
Top = 1080
Width = 3135
Begin VB.TextBox Txt_Copyright
BackColor = &H8000000F&
BorderStyle = 0 'None
BeginProperty Font
Name = "Verdana"
Size = 7.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00404040&
Height = 1455
Left = 0
Locked = -1 'True
MultiLine = -1 'True
TabIndex = 6
Text = "Frm_About.frx":57E2
Top = 0
Width = 3135
End
End
Begin VB.Timer Timer
Enabled = 0 'False
Left = 4080
Top = 2760
End
Begin VB.PictureBox Pic_Linv
Appearance = 0 'Flat
AutoRedraw = -1 'True
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 1455
Left = 3600
ScaleHeight = 1455
ScaleWidth = 2175
TabIndex = 3
Top = 1080
Width = 2175
End
Begin VB.PictureBox Pic_TitleBar
Align = 1 'Align Top
Appearance = 0 'Flat
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 975
Left = 0
ScaleHeight = 975
ScaleWidth = 5910
TabIndex = 2
Top = 0
Width = 5910
Begin VB.PictureBox Pic_TBarSub1
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 975
Left = 0
ScaleHeight = 975
ScaleWidth = 3375
TabIndex = 4
Top = 0
Width = 3375
Begin VB.PictureBox Pic_Logo
Appearance = 0 'Flat
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 720
Left = 240
Picture = "Frm_About.frx":58A0
ScaleHeight = 720
ScaleWidth = 720
TabIndex = 7
Top = 150
Width = 720
End
Begin VB.Label Lbl_TM
Alignment = 1 'Right Justify
BackColor = &H00E0E0E0&
BackStyle = 0 'Transparent
Caption = "Lab Master"
BeginProperty Font
Name = "Verdana"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 9
Top = 150
Width = 2055
End
Begin VB.Label Lbl_TMInfo
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "图书馆信息管理系统"
BeginProperty Font
Name = "楷体_GB2312"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00404040&
Height = 255
Left = 960
TabIndex = 8
Top = 630
Width = 2055
End
Begin VB.Label Lbl_TMShadow
Alignment = 1 'Right Justify
BackColor = &H00E0E0E0&
BackStyle = 0 'Transparent
Caption = "Lab Master"
BeginProperty Font
Name = "Verdana"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00E0E0E0&
Height = 375
Left = 990
TabIndex = 10
Top = 120
Width = 2055
End
End
End
Begin LabMangeSystem.XButton Cmd_OK
Height = 375
Left = 4560
TabIndex = 0
Top = 2760
Width = 1215
_ExtentX = 2143
_ExtentY = 661
Caption = "确定"
BackColor = 14737632
ForeColor = 8421504
MouseDownColor = -2147483644
MouseOnColor = -2147483644
StyleColor = 16777215
Style3dColor1 = 16577259
Style3dColor2 = 8421504
Picture = "Frm_About.frx":629A
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
IfDraw = -1 'True
End
Begin VB.Line Line_Split
BorderColor = &H00C0C0C0&
X1 = 120
X2 = 5760
Y1 = 2640
Y2 = 2640
End
Begin VB.Line Line_SplitShadow
BorderColor = &H00FFFFFF&
X1 = 135
X2 = 5775
Y1 = 2655
Y2 = 2655
End
Begin VB.Label Lbl_Version
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Version"
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808080&
Height = 195
Left = 120
TabIndex = 1
Top = 2880
Width = 2805
End
End
Attribute VB_Name = "Frm_About"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer
Option Explicit
Private Sub Cmd_OK_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim sty As Long
sty = GetWindowLong(Me.hwnd, GWL_EXSTYLE)
sty = sty Or WS_EX_LAYERED
SetWindowLong Me.hwnd, GWL_EXSTYLE, sty
SetLayeredWindowAttributes Me.hwnd, 0, 192, LWA_ALPHA
Lbl_Version.caption = Lbl_Version.caption & " " & AppVersion
Pic_TBarSub1.Left = Pic_TitleBar.Width
Txt_Copyright.Top = Pic_Copyright.Height
Timer.Enabled = True
Timer.Interval = 1
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
Pic_Linv.Picture = LoadPicture("")
i = 0
End Sub
Private Sub Pic_Linv_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
On Error GoTo ERRORZONE
Pic_Linv.Picture = LoadPicture(AppPath & "Images\Picture\Linv.jpg")
Exit Sub
ERRORZONE:
If i = 0 Then
Pic_Linv.CurrentX = 0: Pic_Linv.CurrentY = 0
Pic_Linv.Print "版权所有 (C) 肖林辉"
i = 1
End If
End Sub
Private Sub Timer_Timer()
If Pic_TBarSub1.Left > 0 Then Pic_TBarSub1.Left = Pic_TBarSub1.Left - 75
If Txt_Copyright.Top > 0 Then
Txt_Copyright.Top = Txt_Copyright.Top - 5
Else: Timer.Enabled = False
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -