📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "显示Form2"
Height = 375
Left = 720
TabIndex = 1
Top = 1560
Width = 1455
End
Begin VB.TextBox Text1
Height = 375
Left = 600
TabIndex = 0
Text = "Text1"
Top = 360
Width = 3855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'单击按钮后显示Form2窗体的代码
Private Sub Command1_Click()
Form2.Show
End Sub
'给公用变量bookname赋值,并在文本框text1中显示该值
Private Sub Form_Load()
bookname = "Visual Basic+SQL Server 2000系统开发实录"
Text1.Text = bookname
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -