Files
Groupware/Sub/YARTE/Buttons/JustifyCenterButton.cs
chikyun.kim 6b374123fd 181210 chi NR구매등록시 이미지 표시 및 추가 기능
NR구매목록에서 권한 없는 사람이 더블클릭으로 편집할 수 있는 버그 수정
2018-12-10 12:29:18 +09:00

33 lines
737 B
C#

using System.Drawing;
using YARTE.Properties;
namespace YARTE.UI.Buttons
{
public class JustifyCenterButton : IHTMLEditorButton
{
public void IconClicked(HTMLEditorButtonArgs args)
{
args.Document.ExecCommand(CommandIdentifier, false, null);
}
public Image IconImage
{
get { return Resources.justifycenter; }
}
public string IconName
{
get { return "Justify center"; }
}
public string IconTooltip
{
get { return "Justify center"; }
}
public string CommandIdentifier
{
get { return "JustifyCenter"; }
}
}
}