Example #1
0
        /// <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();
                }
            }
        }
Example #2
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);
        }
Example #3
0
		/// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
		protected virtual void OnBeginDrawTab(DockPaneTab tab)
		{
		}
Example #4
0
		/// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
		protected virtual void OnEndDrawTab(DockPaneTab tab)
		{
		}
Example #5
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);
		}
Example #6
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);
		}
 /// <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));
 }
Example #9
0
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnEndDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnEndDrawTab(DockPaneTab tab)
 {
 }
Example #10
0
 /// <include file='CodeDoc/DockPaneStripVS2003.xml' path='//CodeDoc/Class[@name="DockPaneStripVS2003"]/Method[@name="OnBeginDrawTab(DockPaneTab)"]/*'/>
 protected virtual void OnBeginDrawTab(DockPaneTab tab)
 {
 }