1 // get reference to dockable window 2 DockableWindow1.AddinImpl winImpl = AddIn.FromID<DockableWindow1.AddinImpl>(ThisAddIn.IDs.DockableWindow1); 3 DockableWindow1 dockWin = winImpl.UI; 4 5 // or you could just do this 6 DockableWindow1 dockWin = AddIn.FromID<DockableWindow1.AddinImpl>(ThisAddIn.IDs.DockableWindow1).UI;