/// <summary> /// Creates new instance of the class. /// </summary> public VS2005TabDisplay(AutoHidePanel autoHidePanel, ColorScheme colorScheme) { m_AutoHidePanel=autoHidePanel; m_ColorScheme=colorScheme; }
public PanelBar(AutoHidePanel parent, Bar bar) { m_Parent=parent; BoundBar=bar; ReloadDockItems(); }
public void Dispose() { foreach(DockItemTab tab in Tabs) tab.Dispose(); Tabs.Clear(); BoundBar=null; m_Parent=null; }
private void DestroyAutoHidePanels() { if(m_LeftAutoHidePanel!=null) { if(m_LeftAutoHidePanel.Parent!=null) m_LeftAutoHidePanel.Parent.Controls.Remove(m_LeftAutoHidePanel); m_LeftAutoHidePanel.Dispose(); m_LeftAutoHidePanel=null; } if(m_RightAutoHidePanel!=null) { if(m_RightAutoHidePanel.Parent!=null) m_RightAutoHidePanel.Parent.Controls.Remove(m_RightAutoHidePanel); m_RightAutoHidePanel.Dispose(); m_RightAutoHidePanel=null; } if(m_TopAutoHidePanel!=null) { if(m_TopAutoHidePanel.Parent!=null) m_TopAutoHidePanel.Parent.Controls.Remove(m_TopAutoHidePanel); m_TopAutoHidePanel.Dispose(); m_TopAutoHidePanel=null; } if(m_BottomAutoHidePanel!=null) { if(m_BottomAutoHidePanel.Parent!=null) m_BottomAutoHidePanel.Parent.Controls.Remove(m_BottomAutoHidePanel); m_BottomAutoHidePanel.Dispose(); m_BottomAutoHidePanel=null; } }