加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-15 07:50:14 所属栏目:百科 来源:网络整理
导读:是否可以在SQL Server 2008 Management Studio中创建新的菜单项? 例如,当您右键单击数据库时,会出现一个选项列表(新数据库,新查询…). 是否可以在该列表中添加新项目并在单击该按钮时实现一些C#功能? 解决方法 从 MSDN起. 在菜单中添加新项 向菜单添加新项
是否可以在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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读