..
This commit is contained in:
34
Sub/YARTE/Buttons/UnderlineButton.cs
Normal file
34
Sub/YARTE/Buttons/UnderlineButton.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using YARTE.Properties;
|
||||
|
||||
namespace YARTE.UI.Buttons
|
||||
{
|
||||
public class UnderlineButton : IHTMLEditorButton
|
||||
{
|
||||
public void IconClicked(ButtonArgs args)
|
||||
{
|
||||
args.Document.ExecCommand("Underline", false, null);
|
||||
}
|
||||
|
||||
public Image IconImage
|
||||
{
|
||||
get { return Resources.underline; }
|
||||
}
|
||||
|
||||
public string IconName
|
||||
{
|
||||
get { return "Underline"; }
|
||||
}
|
||||
|
||||
public string IconTooltip
|
||||
{
|
||||
get { return "Underline"; }
|
||||
}
|
||||
|
||||
public string CommandIdentifier
|
||||
{
|
||||
get { return "Underline"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user