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