The view should contain a toolbar and a menu with the proposed commands.
该视图应当包含工具栏和带有被提及命令的菜单。
PowerGUI automatically records all scripts executed through the menu, so you can run a complex query through the menu and view the precise commands that were executed.
PowerGUI会自动记录所有通过菜单执行的脚本,所以你可以通过菜单执行复杂的查询,并查看曾经执行过的命令。
If you support an edit menu in a custom view, you're responsible for making sure that the commands the menu displays are appropriate for the current context.
如果你的自定义视图支持编辑菜单,你有责任确保该菜单的命令在当前视图的显示是恰当的。
应用推荐