摘要: 前两篇看到了很多这样的代码:OleMenuCommandService mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;得到了OleMenuCommandService这个服务对象,那我们也学着自己定义Service1.首先定义一个接口和一个markup type 接口:[Guid("D7524CAB-5029-402d-9591-FA0D59BBA0F0")] [ComVisible(true)] public interface ICalculation... 阅读全文
posted @ 2013-10-24 15:05 gavin.huang 阅读(236) 评论(0) 推荐(0) 编辑