c# – 在SQL Server Management Studio中创建一个新菜单项

前端之家收集整理的这篇文章主要介绍了c# – 在SQL Server Management Studio中创建一个新菜单项前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
是否可以在sql Server 2008 Management Studio中创建新的菜单项?

例如,当您右键单击数据库时,会出现一个选项列表(新数据库,新查询…).

是否可以在该列表中添加新项目并在单击该按钮时实现一些C#功能

解决方法

MSDN起.

菜单添加新项
菜单添加新项目

  1. On the Tools menu,click Options.
  2. In the Customize dialog Box,on the Commands tab,click New Menu.
  3. On the Commands Box,drag New Menu to the menu bar and drop it where you want the new menu to appear.
  4. On the menu,right-click New Menu,and in the Name Box,type a name for the new menu.
  5. In the Customize dialog Box,select category such as File,and select a command such as Open File. Drag the command to the new menu. As you point to the new menu,the menu will expand. Drop the command onto the expanded menu.
  6. In the Customize dialog Box,click Close.

猜你在找的C#相关文章