📄 tipspacer.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="?" email="?"/>
// <version value="$version"/>
// </file>
using System;
using System.Drawing;
namespace ICSharpCode.TextEditor.Util
{
class TipSpacer: TipSection
{
SizeF spacerSize;
public TipSpacer(Graphics graphics, SizeF size): base(graphics)
{
spacerSize = size;
}
public override void Draw(PointF location)
{
}
protected override void OnMaximumSizeChanged()
{
base.OnMaximumSizeChanged();
SetRequiredSize(new SizeF
(Math.Min(MaximumSize.Width, spacerSize.Width),
Math.Min(MaximumSize.Height, spacerSize.Height)));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -