34 lines
		
	
	
		
			681 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			681 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 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"; }
 | |
|         }
 | |
|     }
 | |
| } | 
