menu with mdi form.frm
来自「codding for pszone one can use it at pl」· FRM 代码 · 共 37 行
FRM
37 行
VERSION 5.00
Begin VB.MDIForm MDIForm1
BackColor = &H8000000C&
Caption = "MDIForm1"
ClientHeight = 5190
ClientLeft = 165
ClientTop = 855
ClientWidth = 7815
LinkTopic = "MDIForm1"
StartUpPosition = 3 'Windows Default
Begin VB.Menu FL
Caption = "FILE"
Begin VB.Menu EMP
Caption = "EMPLOYEE"
End
Begin VB.Menu DEPT
Caption = "DEPARTMENT"
End
End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DEPT_Click()
Form2.Show
Form1.Hide
End Sub
Private Sub EMP_Click()
Form1.Show
Form2.Hide
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?