📄 aboutme.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 1 'Fixed Single
Caption = "关于本程序"
ClientHeight = 3675
ClientLeft = 45
ClientTop = 330
ClientWidth = 6555
Icon = "aboutme.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3675
ScaleWidth = 6555
StartUpPosition = 2 '屏幕中心
WhatsThisButton = -1 'True
WhatsThisHelp = -1 'True
Begin VB.Timer Timer1
Interval = 10
Left = 600
Top = 2880
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "欢迎交流指导"
Height = 255
Left = 2400
TabIndex = 4
Top = 2280
Width = 1815
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "QQ:185856085"
Height = 255
Left = 2400
TabIndex = 3
Top = 1920
Width = 2055
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "E-Mail:dddlzhu@163.com"
Height = 255
Left = 2400
TabIndex = 2
Top = 1560
Width = 2175
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Power By 广公男生 @2004.7"
ForeColor = &H00808080&
Height = 255
Left = 2400
TabIndex = 1
Top = 1200
Width = 2535
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "红外线逻辑分析器 Ver0.1"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF8080&
Height = 180
Left = 1920
TabIndex = 0
Top = 840
Width = 2295
End
Begin VB.Image Image1
Height = 3525
Left = 2760
Picture = "aboutme.frx":0CCA
Top = 6000
Width = 5250
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Type OSVERSIONINFO
dwOSVersionInfoSize As Long
dwMajorVersion As Long
dwMinorVersion As Long
dwBuildNumber As Long
dwPlatformId As Long
szCSDVersion As String * 128
End Type
Dim Flag, ttt As Integer
Private Declare Function GetVersionEx Lib "kernel32" _
Alias "GetVersionExA" (lpVersionInformation As OSVERSIONINFO) As Long
Private Sub Form_Load()
Image1.Left = 0
Image1.Top = 0
Me.HEiGHT = Image1.HEiGHT + 370
Me.WIDTH = Image1.WIDTH
ttt = 0
Dim rtn As Long
If Flag = 1 Then
rtn = GetWindowLong(Me.hwnd, GWL_EXSTYLE)
rtn = rtn Or WS_EX_LAYERED
SetWindowLong Me.hwnd, GWL_EXSTYLE, rtn
SetLayeredWindowAttributes Me.hwnd, 0, 1, LWA_ALPHA
End If
Image1.Left = 0
Image1.Top = 0
Me.WIDTH = Image1.WIDTH
Me.HEiGHT = Image1.HEiGHT + 300
Dim Ver As OSVERSIONINFO
Dim x As Long
Ver.dwOSVersionInfoSize = Len(Ver)
GetVersionEx Ver
Flag = 0
If Ver.dwMajorVersion >= 5 Then Flag = 1
End Sub
Private Sub Timer1_Timer()
Dim rtn As Long
If Flag = 1 Then
ttt = ttt + 5
rtn = GetWindowLong(Me.hwnd, GWL_EXSTYLE)
rtn = rtn Or WS_EX_LAYERED
SetWindowLong Me.hwnd, GWL_EXSTYLE, rtn
SetLayeredWindowAttributes Me.hwnd, 0, ttt, LWA_ALPHA
If ttt >= 255 Then Timer1.Interval = 0
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -