📄 practice2-9.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00FFC0C0&
Caption = "Form1"
ClientHeight = 3060
ClientLeft = 60
ClientTop = 450
ClientWidth = 4185
ForeColor = &H00000000&
LinkTopic = "Form1"
Picture = "practice2-9.frx":0000
ScaleHeight = 3060
ScaleWidth = 4185
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command4
Caption = "不透明"
Height = 495
Left = 2280
TabIndex = 4
Top = 2160
Width = 1455
End
Begin VB.CommandButton Command3
Caption = "透明"
Height = 495
Left = 2280
TabIndex = 3
Top = 2160
Width = 1455
End
Begin VB.CommandButton Command2
Caption = "有边框"
Height = 495
Left = 360
TabIndex = 2
Top = 2160
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "无边框"
Height = 495
Left = 360
TabIndex = 1
Top = 2160
Width = 1455
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Visual Basic 程序设计教程"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 855
Left = 960
TabIndex = 0
Top = 600
Width = 2535
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Command1.Visible = False
Command2.Visible = True
Label1.BorderStyle = 0
End Sub
Private Sub Command2_Click()
Command1.Visible = True
Command2.Visible = False
Label1.BorderStyle = 1
End Sub
Private Sub Command3_Click()
Command3.Visible = False
Command4.Visible = True
Label1.BackStyle = 0
End Sub
Private Sub Command4_Click()
Command3.Visible = True
Command4.Visible = False
Label1.BackStyle = 1
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -