码迷,mamicode.com
首页 > 其他好文 > 详细

codejumper的跳转代码

时间:2014-10-16 00:33:11      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:blog   io   os   ar   for   sp   div   art   on   

        public void JumpToSource(vsCMPart location = vsCMPart.vsCMPartNavigate)
        {
            TextPoint startPoint = Original.GetStartPoint(location);
            Document openDoc = _appConfig.HookInformation.Dte.ActiveDocument.ProjectItem.Document;
            ((TextSelection) openDoc.Selection).MoveToPoint(startPoint);
            startPoint.TryToShow();
            openDoc.Activate();
        }

 

codejumper的跳转代码

标签:blog   io   os   ar   for   sp   div   art   on   

原文地址:http://www.cnblogs.com/shiningrise/p/4027675.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!