6.2.frm

来自「vb编程+从基础到实践光盘代码」· FRM 代码 · 共 60 行

FRM
60
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "弹出菜单"
      Height          =   495
      Left            =   1200
      TabIndex        =   0
      Top             =   960
      Width           =   1215
   End
   Begin VB.Menu menufile 
      Caption         =   "文件(&F)"
      Begin VB.Menu filenew 
         Caption         =   "新建(&N)"
         Shortcut        =   ^N
      End
      Begin VB.Menu fileopen 
         Caption         =   "打开(&O)"
         Shortcut        =   ^O
      End
      Begin VB.Menu fileline 
         Caption         =   "-"
      End
      Begin VB.Menu fileexit 
         Caption         =   "退出(&E)"
      End
   End
   Begin VB.Menu draw 
      Caption         =   "绘图(&D)"
      Begin VB.Menu tuoyuan 
         Caption         =   "椭圆(&O)"
      End
      Begin VB.Menu yuan 
         Caption         =   "圆(&C)"
         Checked         =   -1  'True
      End
      Begin VB.Menu yuanhu 
         Caption         =   "圆弧(&A)"
      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 Command1_Click()
    Form1.PopupMenu draw
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?