📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "Form2"
ClientHeight = 3090
ClientLeft = 165
ClientTop = 855
ClientWidth = 4680
LinkTopic = "Form2"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2520
TabIndex = 2
Top = 1920
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "程序2"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2400
TabIndex = 1
Top = 960
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "程序1"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 480
TabIndex = 0
Top = 960
Width = 1815
End
Begin VB.Menu r
Caption = "运行(&R)"
Begin VB.Menu r1
Caption = "程序1"
End
Begin VB.Menu r2
Caption = "程序2 "
End
Begin VB.Menu r3
Caption = "退出"
End
End
Begin VB.Menu h
Caption = "帮助(H)"
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Hide
frm1.Show
End Sub
Private Sub Command2_Click()
Form2.Hide
frm2.Show
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub r1_Click()
Form2.Hide
frm1.Show
End Sub
Private Sub r2_Click()
Form2.Hide
frm2.Show
End Sub
Private Sub r3_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -