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