This commit is contained in:
chi
2024-01-22 09:26:20 +09:00
parent ff50832bdd
commit 7278f66857
105 changed files with 13 additions and 1221 deletions

View File

@@ -0,0 +1,33 @@
using System.Drawing;
using YARTE.Properties;
namespace YARTE.UI.Buttons
{
public class LinkButton : IHTMLEditorButton
{
public void IconClicked(ButtonArgs args)
{
args.Document.ExecCommand("CreateLink", true, null);
}
public Image IconImage
{
get { return Resources.createlink; }
}
public string IconName
{
get { return "Create link"; }
}
public string IconTooltip
{
get { return "Create link"; }
}
public string CommandIdentifier
{
get { return "CreateLink"; }
}
}
}