private void OnFindReferences(object sender, NavigateCodeEventArgs e)
        {
            var handler = FindReferences;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
        private void OnFindImplementations(object sender, NavigateCodeEventArgs e)
        {
            var handler = FindImplementations;

            if (handler != null)
            {
                handler(sender, e);
            }
        }
Пример #3
0
        private void view_Navigate(object sender, NavigateCodeEventArgs e)
        {
            if (e.QualifiedName.Component == null)
            {
                return;
            }

            try
            {
                e.QualifiedName.Component.CodeModule.CodePane.SetSelection(e.Selection);
            }
            catch (COMException)
            {
            }
        }
Пример #4
0
 private void codePresenter_FindAllReferences(object sender, NavigateCodeEventArgs e)
 {
     _refactorMenu.FindAllReferences(e.Declaration);
 }
 private void OnFindImplementations(object sender, NavigateCodeEventArgs e)
 {
     var handler = FindImplementations;
     if (handler != null)
     {
         handler(sender, e);
     }
 }
 private void OnFindReferences(object sender, NavigateCodeEventArgs e)
 {
     var handler = FindReferences;
     if (handler != null)
     {
         handler(sender, e);
     }
 }
Пример #7
0
 private void codePresenter_FindAllImplementations(object sender, NavigateCodeEventArgs e)
 {
     _refactorMenu.FindAllImplementations(e.Declaration);
 }
Пример #8
0
        private void view_Navigate(object sender, NavigateCodeEventArgs e)
        {
            if (e.QualifiedName.Component == null)
            {
                return;
            }

            try
            {
                e.QualifiedName.Component.CodeModule.CodePane.SetSelection(e.Selection);
            }
            catch (COMException)
            {
            }
        }