...current menu if it exists (just in case) 删除当前菜单如果它存在(以防万一) ' Create the new menu item 创建新的菜单项目 ' Specify the Caption and OnAction properties 指定标题和运行宏名 ..
基于1个网页-相关网页
Note that when you create new menu items for designer verbs, you also attach a click handler for the menu item.
请注意,当您为设计器谓词创建新的菜单项时,您还为该菜单项附加了一个单击处理程序。
The easiest way to create a new menu item is to let the PDE wizard build the infrastructure for you.
创建新菜单项的最容易方法是让PDE向导为您构建基础结构。
You can now type Ctrl-M, Ctrl-V within a Controller action method, or right-click within an action method and choose the "Add view" context menu item to create new view templates.
你现在可以在一个控制器的action方法中键入Ctrl - M, Ctrl - V,或者在一个action方法中右击,选择“添加视图”上下文菜单项来生成新的视图模板。
应用推荐