public void SetActiveDocument(ToolWindow toolWindow) { if (this.DockPanel.ActiveDocument != toolWindow) { toolWindow.Show(); } }
static void ApplyIconForWindow(ToolWindow win, SessionData session) { win.Icon = GetIconForSession(session); }