第二行代码从事件获取菜单数据对象。
The second line retrieves the menu data object from the event.
在主工具箱上有一个对象类型菜单。
添加菜单项的样例代码引用了一个 “LLSD”类型的对象。
The example code for adding a menu item refers to an object of type "LLSD".
该方法负责显示所选对象的设计器的上下文菜单。
This method is responsible for showing the context menu for the selected object's designer.
或者,单击在视图菜单上的对象资源管理器详细信息。
在上下文菜单中,选择ListColumn对象。
上下文是一个菜单命令的目标对象。
返回一个具有名称“菜单”和本地化的友好名称的控件类型对象。
Returns a control type object that has the name "Hyperlink" and a localized friendly name.
返回一个具有名称“菜单”和本地化的友好名称的控件类型对象。
Returns a control type object that has the name "Document" and a localized friendly name.
创建一个新的菜单命令对象。
创建一个新的菜单命令对象。
应用推荐