autohidepane.cs
来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 49 行
CS
49 行
// *****************************************************************************
//
// Copyright 2004, Weifen Luo
// All rights reserved. The software and associated documentation
// supplied hereunder are the proprietary information of Weifen Luo
// and are supplied subject to licence terms.
//
// WinFormsUI Library Version 1.0
// *****************************************************************************
using System;
using System.Drawing;
namespace WeifenLuo.WinFormsUI
{
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/ClassDef/*'/>
public class AutoHidePane : IDisposable
{
private DockPane m_dockPane;
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Construct[@name="(DockPane)"]/*'/>
public AutoHidePane(DockPane pane)
{
m_dockPane = pane;
m_tabs = new AutoHideTabCollection(DockPane);
}
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Property[@name="DockPane"]/*'/>
public DockPane DockPane
{
get { return m_dockPane; }
}
private AutoHideTabCollection m_tabs;
/// <include file='CodeDoc/AutoHidePane.xml' path='//CodeDoc/Class[@name="AutoHidePane"]/Property[@name="Tabs"]/*'/>
public AutoHideTabCollection Tabs
{
get { return m_tabs; }
}
/// <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 virtual void Dispose()
{
// we don't need to dispose anything here, but we want to allow deriving classes
// to override dispose
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?