/// <exclude />
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                lock (this) {
                    DockPanel = null;
                    if (AutoHideTab != null)
                    {
                        AutoHideTab.Dispose();
                    }
                    if (DockPaneTab != null)
                    {
                        DockPaneTab.Dispose();
                    }

                    Form.Disposed    -= new EventHandler(Form_Disposed);
                    Form.TextChanged -= new EventHandler(Form_TextChanged);
                    Events.Dispose();
                }
            }
        }
 /// <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);
 }
 /// <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/DockPaneStripVS2005.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2005"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnEndDrawTab(DockPaneTab tab)
 {
 }
 /// <include file='CodeDoc/DockPaneStripVS2005.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2005"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnBeginDrawTab(DockPaneTab tab)
 {
 }
示例#6
0
 /// <include file='CodeDoc/DockPaneStripVS2005.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2005"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnEndDrawTab(DockPaneTab tab) {
 }
示例#7
0
 /// <include file='CodeDoc/DockPaneStripVS2005.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2005"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnBeginDrawTab(DockPaneTab tab) {
 }
示例#8
0
		/// <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);
		}
示例#9
0
		/// <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);
		}