📄 ipadcontent.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version value="$version"/>
// </file>
using System;
using System.Drawing;
using System.Windows.Forms;
namespace ICSharpCode.SharpDevelop.Gui
{
/// <summary>
/// The IPadContent interface is the basic interface to all "tool" windows
/// in SharpDevelop.
/// </summary>
public interface IPadContent : IDisposable
{
/// <summary>
/// Returns the title of the pad.
/// </summary>
string Title {
get;
}
/// <summary>
/// Returns the icon bitmap resource name of the pad. May be null, if the pad has no
/// icon defined.
/// </summary>
string Icon {
get;
}
/// <summary>
/// Returns the category (this is used for defining where the menu item to
/// this pad goes)
/// </summary>
string Category {
get;
set;
}
/// <summary>
/// Returns the menu shortcut for the view menu item.
/// </summary>
string[] Shortcut {
get;
set;
}
/// <summary>
/// Returns the Windows.Control for this pad.
/// </summary>
Control Control {
get;
}
/// <summary>
/// Re-initializes all components of the pad. Don't call unless
/// you know what you do.
/// </summary>
void RedrawContent();
/// <summary>
/// Is called when the title of this pad has changed.
/// </summary>
event EventHandler TitleChanged;
/// <summary>
/// Is called when the icon of this pad has changed.
/// </summary>
event EventHandler IconChanged;
/// <summary>
/// Tries to make the pad visible to the user.
/// </summary>
void BringPadToFront();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -