33 lines
695 B
C#
33 lines
695 B
C#
using System.Drawing;
|
|
using YARTE.Properties;
|
|
|
|
namespace YARTE.UI.Buttons
|
|
{
|
|
public class JustifyLeftButton : IHTMLEditorButton
|
|
{
|
|
public void IconClicked(HTMLEditorButtonArgs args)
|
|
{
|
|
args.Document.ExecCommand(CommandIdentifier, false, null);
|
|
}
|
|
|
|
public Image IconImage
|
|
{
|
|
get { return Resources.justifyleft; }
|
|
}
|
|
|
|
public string IconName
|
|
{
|
|
get { return "Justify left"; }
|
|
}
|
|
|
|
public string IconTooltip
|
|
{
|
|
get { return "Justify left"; }
|
|
}
|
|
|
|
public string CommandIdentifier
|
|
{
|
|
get { return "JustifyLeft"; }
|
|
}
|
|
}
|
|
} |