ex8_2.frm
来自「本教材为“第2章”、“第4章”、“第7章”、“第8章”、“第10章”和“第12章」· FRM 代码 · 共 69 行
FRM
69 行
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 + =
减小字号Ctrl + -
显示快捷键?