33 lines
705 B
C#
33 lines
705 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"; }
|
|
}
|
|
}
|
|
} |