📄 ex8_2.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H8000000C&
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 165
ClientTop = 735
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.Menu MenuProgram
Caption = "程序"
Begin VB.Menu MenuWord
Caption = "Word"
End
Begin VB.Menu MenuExcel
Caption = "Excel"
End
Begin VB.Menu MenuPowerPoint
Caption = "PowerPoint"
End
End
Begin VB.Menu MenuFuJian
Caption = "附件"
Begin VB.Menu MenuDraw
Caption = "画图"
End
Begin VB.Menu MenuGame
Caption = "游戏"
Begin VB.Menu MenuZhiPai
Caption = "纸牌"
End
Begin VB.Menu MenuSaoLei
Caption = "扫雷"
End
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub MenuDraw_Click()
Shell ("c:\program files\accessories\Mspaint.exe"), vbNormalFocus
End Sub
Private Sub MenuExcel_Click()
Shell ("c:\program files\microsoft office\office\excel.exe"), vbNormalFocus
End Sub
Private Sub MenuPowerPoint_Click()
Shell ("c:\program files\microsoft office\office\powerpnt.exe"), vbNormalFocus
End Sub
Private Sub MenuSaoLei_Click()
Shell ("c:\windows\winmine.exe"), vbNormalFocus
End Sub
Private Sub MenuWord_Click()
Shell ("c:\program files\microsoft office\office\winword.exe"), vbNormalFocus
End Sub
Private Sub MenuZhiPai_Click()
Shell ("c:\windows\sol.exe"), vbNormalFocus
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -