Esempio n. 1
0
        private void ShowReferencesToolwindow(Declaration target)
        {
            // throws a COMException if toolwindow was already closed
            var window    = new SimpleListControl(target);
            var presenter = new IdentifierReferencesListDockablePresenter(IDE, AddIn, window, target);

            presenter.Show();
        }
Esempio n. 2
0
        private void ShowImplementationsToolwindow(IEnumerable <Declaration> implementations, string name)
        {
            // throws a COMException if toolwindow was already closed
            var window    = new SimpleListControl(string.Format(RubberduckUI.AllImplementations_Caption, name));
            var presenter = new ImplementationsListDockablePresenter(IDE, AddIn, window, implementations);

            presenter.Show();
        }
Esempio n. 3
0
 private void ShowReferencesToolwindow(Declaration target)
 {
     // throws a COMException if toolwindow was already closed
     var window = new SimpleListControl(target);
     var presenter = new IdentifierReferencesListDockablePresenter(IDE, AddIn, window, target);
     presenter.Show();
 }
Esempio n. 4
0
 private void ShowImplementationsToolwindow(IEnumerable<Declaration> implementations, string name)
 {
     // throws a COMException if toolwindow was already closed
     var window = new SimpleListControl(string.Format(RubberduckUI.AllImplementations_Caption, name));
     var presenter = new ImplementationsListDockablePresenter(IDE, AddIn, window, implementations);
     presenter.Show();
 }