Browse Source

Applied Fidalgo rev. 2075

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@500 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 21 years ago
parent
commit
2f79395791
  1. 16
      src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHidePane.cs
  2. 3
      src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHideStripBase.cs
  3. 16
      src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHideTab.cs

16
src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHidePane.cs

@ -24,12 +24,6 @@ namespace WeifenLuo.WinFormsUI @@ -24,12 +24,6 @@ namespace WeifenLuo.WinFormsUI
m_tabs = new AutoHideTabCollection(DockPane);
}
/// <exclude/>
~AutoHidePane()
{
Dispose(false);
}
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Property[@name="DockPane"]/*'/>
public DockPane DockPane
{
@ -45,14 +39,10 @@ namespace WeifenLuo.WinFormsUI @@ -45,14 +39,10 @@ namespace WeifenLuo.WinFormsUI
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Method[@name="Dispose"]/*'/>
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Method[@name="Dispose()"]/*'/>
public void Dispose()
{
Dispose(true);
}
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Method[@name="Dispose(bool)"]/*'/>
protected virtual void Dispose(bool disposing)
public virtual void Dispose()
{
// we don't need to dispose anything here, but we want to allow deriving classes
// to override dispose
}
}
}

3
src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHideStripBase.cs

@ -200,8 +200,7 @@ namespace WeifenLuo.WinFormsUI @@ -200,8 +200,7 @@ namespace WeifenLuo.WinFormsUI
// requires further tracking of mouse hover behavior,
// call TrackMouseEvent
Win32.TRACKMOUSEEVENTS tme = new Win32.TRACKMOUSEEVENTS(Win32.TRACKMOUSEEVENTS.TME_HOVER, Handle, Win32.TRACKMOUSEEVENTS.HOVER_DEFAULT);
User32.TrackMouseEvent(ref tme);
this.ResetMouseEventArgs();
}
/// <exclude />

16
src/Libraries/DockPanel_Src/WinFormsUI/Docking/AutoHideTab.cs

@ -23,12 +23,6 @@ namespace WeifenLuo.WinFormsUI @@ -23,12 +23,6 @@ namespace WeifenLuo.WinFormsUI
m_content = content;
}
/// <exclude/>
~AutoHideTab()
{
Dispose(false);
}
/// <include file='CodeDoc/AutoHideTab.xml' path='//CodeDoc/Class[@name="AutoHideTab"]/Property[@name="Content"]/*'/>
public DockContent Content
{
@ -37,14 +31,10 @@ namespace WeifenLuo.WinFormsUI @@ -37,14 +31,10 @@ namespace WeifenLuo.WinFormsUI
/// <include file='CodeDoc/AutoHideTab.xml' path='//CodeDoc/Class[@name="AutoHideTab"]/Method[@name="Dispose"]/*'/>
/// <include file='CodeDoc/AutoHideTab.xml' path='//CodeDoc/Class[@name="AutoHideTab"]/Method[@name="Dispose()"]/*'/>
public void Dispose()
{
Dispose(true);
}
/// <include file='CodeDoc/AutoHideTab.xml' path='//CodeDoc/Class[@name="AutoHideTab"]/Method[@name="Dispose(bool)"]/*'/>
protected virtual void Dispose(bool disposing)
public virtual void Dispose()
{
// we don't need to dispose anything here, but we want to allow deriving classes
// to override dispose
}
}
}

Loading…
Cancel
Save