📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BackColor = &H80000008&
BorderStyle = 0 'None
Caption = "Form2"
ClientHeight = 2490
ClientLeft = 0
ClientTop = 0
ClientWidth = 3645
LinkTopic = "Form2"
ScaleHeight = 2490
ScaleWidth = 3645
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1
Left = 1680
Top = 1320
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "期待中的小沅"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 240
Left = 1920
TabIndex = 1
Top = 2160
Width = 1545
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 1980
Left = 120
TabIndex = 0
Top = 120
Width = 3450
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim CTCO As Integer, COL As Integer
Private Sub Form_Load()
Label1.Caption = "非常感谢您能玩这个小游戏,不知道您对它有什么看法!若您有什么问题快快给我来信吧!"
COL = 0
CTCO = 1
End Sub
Private Sub Label1_Click()
End
End Sub
Private Sub Timer1_Timer()
Label2.ForeColor = RGB(COL, COL, COL)
If CTCO = 0 Then
COL = COL - 1
End If
If CTCO = 1 Then
COL = COL + 1
End If
If COL < 5 Then CTCO = 1
If COL > 220 Then CTCO = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -