35 lines
		
	
	
		
			735 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			735 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Drawing;
 | 
						|
using System.Windows.Forms;
 | 
						|
using YARTE.Properties;
 | 
						|
 | 
						|
namespace YARTE.UI.Buttons
 | 
						|
{
 | 
						|
    public class ItalicButton : IHTMLEditorButton
 | 
						|
    {
 | 
						|
        public void IconClicked(HTMLEditorButtonArgs args)
 | 
						|
        {
 | 
						|
            args.Document.ExecCommand("Italic", false, null);
 | 
						|
        }
 | 
						|
 | 
						|
        public Image IconImage
 | 
						|
        {
 | 
						|
            get { return Resources.italic; }
 | 
						|
        }
 | 
						|
 | 
						|
        public string IconName
 | 
						|
        {
 | 
						|
            get { return "Italic"; }
 | 
						|
        }
 | 
						|
 | 
						|
        public string IconTooltip
 | 
						|
        {
 | 
						|
            get { return "Italic"; }
 | 
						|
        }
 | 
						|
 | 
						|
        public string CommandIdentifier
 | 
						|
        {
 | 
						|
            get { return "Italic"; }
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |