Inheritance: IDisposable
Beispiel #1
0
        /// <exclude/>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (m_hiddenMdiChild != null)
                {
                    m_hiddenMdiChild.Close();
                    m_hiddenMdiChild = null;
                }

                DockPanel = null;
                if (AutoHideTab != null)
                {
                    AutoHideTab.Dispose();
                }
                if (DockPaneTab != null)
                {
                    DockPaneTab.Dispose();
                }
            }

            base.Dispose(disposing);
        }
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="Contains"]/*'/>>
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="Contains(DockPaneTab)"]/*'/>>
 public bool Contains(DockPaneTab tab)
 {
     return(IndexOf(tab) != -1);
 }
Beispiel #3
0
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnEndDrawTab(DockPaneTab tab)
 {
 }
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="IndexOf"]/*'/>>
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="IndexOf(DockPaneTab)"]/*'/>>
 public int IndexOf(DockPaneTab tab)
 {
     return(DockPane.DisplayingContents.IndexOf(tab.Content));
 }
Beispiel #5
0
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnBeginDrawTab(DockPaneTab tab)
 {
 }
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnEndDrawTab(DockPaneTab tab)
 {
 }
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnBeginDrawTab(DockPaneTab tab)
 {
 }
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="IndexOf"]/*'/>>
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="IndexOf(DockPaneTab)"]/*'/>>
 public int IndexOf(DockPaneTab tab)
 {
     return DockPane.DisplayingContents.IndexOf(tab.Content);
 }
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="Contains"]/*'/>>
 /// <include file='CodeDoc\DockPaneTabCollection.xml' path='//CodeDoc/Class[@name="DockPaneTabCollection"]/Method[@name="Contains(DockPaneTab)"]/*'/>>
 public bool Contains(DockPaneTab tab)
 {
     return (IndexOf(tab) != -1);
 }