获取“签入对话框"项目VS2010 [英] get Check In Dialog projectitem VS2010

查看:65
本文介绍了获取“签入对话框"项目VS2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建VS2010加载项,并且想向签入对话框添加一个功能(在解决方案资源管理器中的解决方案节点上单击鼠标右键->签入...")

I'm building a VS2010 add-in and I want to add a function to the check-in dialog (right click on the solution node in solution explorer -> Check-In...)

我设法在右键单击一个对象时在上下文菜单中添加一个按钮,但我不知道如何获取在回调函数(Exec)中右键单击的项目项.

I manged to add a button to the context menu that pops up when right clicking on an object but i can't figure out how to get the project item that was right clicked in the callback function (Exec).

一种替代方法是能够使用compare命令并向其添加自定义代码,但这可能会困难得多.

an alternative would be to be able to use the compare command and add custom code to it, but this would probably be much harder.

谢谢.

Harel M.

推荐答案

嗨Harel,

Hi Harel,

您是说要获取已签入的物品吗?

Did you mean that you want to get the item which was been checked in?

如果是,我发现了一个相关的线程,您可以参考:

If yes, I found a related thread you can refer to:

http://social.msdn.microsoft .com/Forums/zh-CN/vsx/thread/fb753df8-50aa-4298-8a2d-a17ca83f8d84

最好的问候


这篇关于获取“签入对话框"项目VS2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆