自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (3)
  • 收藏
  • 关注

原创 如何在VsPackage中显示属性框

DTE.ExecuteCommand("View.PropertiesWindow");

2016-11-25 16:41:38 512

原创 在vspackage中使用DTE中的属性框窗口编辑属性

1、使用ITrackSelection接口;2、使用SelectionContainer容器;3、将对象列表放在SelectionContainer容器中;4、使用ITrackSelection接口显示SecletionContainer容器中的对象的属性;https://msdn.microsoft.com/en-us/library/bb165149.a

2016-11-25 16:15:33 660

转载 通过CStdioFile读写unicode字符串

关键有两点:首先:#include "locale.h"接着: _tsetlocale(LC_CTYPE,_T("chs"));

2016-11-23 09:06:43 1531

转载 在vspackage中强制更新command的ui状态(Forcing Command UI refresh)

文章来源:http://www.visualstudioextensibility.com/2014/08/25/forcing-command-ui-refresh/----AddIn的用法As you know, whether you are an add-in developer or a package developer, Visual Stud

2016-11-22 16:59:23 349

原创 信息来源

最近在使用visual studio 2010 shell开发,发现国内的资料十分缺乏,通过baidu找不到什么有价值的东西,无奈之下,通过如下工具,用google查找,逐个找到了解决问题的办法:http://my.yizhihongxing.com/aff.php?aff=3229

2016-11-22 16:19:31 565

转载 在vspackage中修改dte中的命令状态

文章来源:https://social.msdn.microsoft.com/Forums/vstudio/en-US/5b3ffafa-5cc7-4eae-8a7a-29d688872713/vspackage-2010-how-to-enable-copycutpaste-edit-menu-command?forum=vsx&prof=required在ToolWin

2016-11-22 14:32:42 955

转载 Visual studio shell 2010中跟踪当前选中的ToolWindow

Step1:在VSpakage中实现IVsSelectionEvents接口;Step2:在Initiliaze初始话函数中注册之:IVsMonitorSelection ms = Package.GetGlobalService(typeof(IVsMonitorSelection)) as IVsMonitorSelectionif(ms != null){ms.Advis

2016-11-22 10:50:57 676

翻译 visual studio shell 2010的vspacage中的ToolWindow增加关闭时的二次确认功能

1、 public class XXXToolWindow : Microsoft.VisualStudio.Shell.ToolWindowPane, IVsWindowFrameNotify2        实现IVsWindowFrameNotify2接口2、实现OnClose方法 int IVsWindowFrameNotify2.OnClose(ref uint pg

2016-11-18 17:40:05 1191

翻译 在vspackage中创建同一类型的toolwindow的多个实例

1、[ProvideToolWindow(typeof(XXXToolWindow),MultiInstances=true)]2、在显示Toolwindow是方法中,实现如下逻辑:  private void ShowXXXToolWindow(object sender, EventArgs e)        {            // Get the ins

2016-11-18 17:36:16 381

转载 visual studio shell custom command

11down votefavorite4I am creating a Visual Studio Package (this is my first time) and my end goal is to create a context-menu item for the solution explorer that only works on certai

2016-11-17 15:51:24 653

原创 visual studio shell SelectionEvents OnChange事件丢失问题

解决办法如下:http://stackoverflow.com/questions/14165885/add-in-events-are-never-executeddown voteIf you look at applicationObject in the debugger you'll see its a COM obje

2016-11-17 11:30:13 572 1

原创 vs 2015 不能调试winform程序解决办法

First thing you could try is to turn on Project -> Properties -> Debug -> Enable Debuggers -> Enable unmanaged code debugging

2016-11-13 21:15:43 5659 1

vs2010优雅养眼设置

vs2010 英文版,养眼优雅设置,不敢独享,

2016-11-22

Pattern-Oriented.Software.Architecture (Vol.3)

我在CSDN站下载了5卷册POSA,发现其中第三卷是chm格式,打不开,于是我在ITPUB找到了可以打开的版本。现在传上来,表达偶的感激之情。谢谢大家。

2009-07-30

Design Patterns Gang of Four English

这是大名鼎鼎的设计模式开山之作,就是四人帮写的那本书。今天在这个网站上下载了POSA,特别感激。所以我也上传一本类似的书。

2009-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除