📄 f1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 5 'Sizable ToolWindow
Caption = "第一个例子"
ClientHeight = 2130
ClientLeft = 60
ClientTop = 300
ClientWidth = 4680
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2130
ScaleWidth = 4680
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "&Exit"
Height = 495
Left = 2520
TabIndex = 2
Top = 1320
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "&Display"
Height = 495
Left = 480
TabIndex = 1
Top = 1320
Width = 1575
End
Begin VB.Label Label1
Caption = "欢迎学习Visual Basic!"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 375
Left = 600
TabIndex = 0
Top = 480
Width = 3855
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()
Label1.Visible = True
Form1.Caption = Label1.Caption
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
Label1.Visible = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -