It provides an event handler for each menu option.
它为每一个菜单选项提供事件处理程序。
In the handler, you retrieve the verb associated with the menu item and invoke it.
在该处理程序中,可以检索与该菜单项相关联的谓词并调用它。
Note that when you create new menu items for designer verbs, you also attach a click handler for the menu item.
请注意,当您为设计器谓词创建新的菜单项时,您还为该菜单项附加了一个单击处理程序。
应用推荐