コード例 #1
0
ファイル: DockPane.cs プロジェクト: NTDLS/SyntaxBox
        /// <exclude/>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                m_dockState = DockState.Unknown;

                if (DockListContainer != null)
                {
                    DockListContainer.DockList.Remove(this);
                }

                if (DockPanel != null)
                {
                    DockPanel.RemovePane(this);
                    m_dockPanel = null;
                }

                Splitter.Dispose();
                AutoHidePane.Dispose();
            }
            base.Dispose(disposing);
        }
コード例 #2
0
 /// <include file='CodeDoc\AutoHidePaneCollection.xml' path='//CodeDoc/Class[@name="AutoHidePaneCollection"]/Method[@name="IndexOf"]/*'/>>
 /// <include file='CodeDoc\AutoHidePaneCollection.xml' path='//CodeDoc/Class[@name="AutoHidePaneCollection"]/Method[@name="IndexOf(AutoHidePane)"]/*'/>>
 public int IndexOf(AutoHidePane autoHidePane)
 {
     return(IndexOf(autoHidePane.DockPane));
 }
コード例 #3
0
 /// <include file='CodeDoc\AutoHidePaneCollection.xml' path='//CodeDoc/Class[@name="AutoHidePaneCollection"]/Method[@name="Contains"]/*'/>>
 /// <include file='CodeDoc\AutoHidePaneCollection.xml' path='//CodeDoc/Class[@name="AutoHidePaneCollection"]/Method[@name="Contains(AutoHidePane)"]/*'/>>
 public bool Contains(AutoHidePane autoHidePane)
 {
     return(IndexOf(autoHidePane) != -1);
 }