36 lines
		
	
	
		
			722 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			722 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Drawing;
 | |
| using YARTE.Properties;
 | |
| 
 | |
| namespace YARTE.UI.Buttons
 | |
| {
 | |
|     public class BoldButton : IHTMLEditorButton
 | |
|     {
 | |
|         public void IconClicked(HTMLEditorButtonArgs 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"; }
 | |
|         }
 | |
|     }
 | |
| } | 
