<?xml version="1.0"?>
<Template author="Mike Krueger" version="1.0">
	
	<Config
		  name        = "${res:Templates.File.SharpDevelop.SimplePad.Name}"
		  icon        = "C#.File.FullFile"
		  category    = "#Develop"
		  defaultname = "NewPad${Number}.cs"
		  language    = "C#"/>
	 
	<Description>${res:Templates.File.SharpDevelop.SimplePad.Description}</Description>
	
	<!-- 
	Special new file templates:
		${StandardNamespace}        -> Standardnamespace of the current project or FileNameWithoutExtension
		${FullName}                 -> Full generated path name
		${FileName}                 -> File name with extension
		${FileNameWithoutExtension} -> File name without extension
		${Extension}                -> Extension in the form ".cs"
		${Path}                     -> Full path of the file
	 -->
	<Files>
		<File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#}
using System;
using System.Windows.Forms;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui;

namespace ${StandardNamespace}
{
	/// <summary>
	/// Description of the pad content
	/// </summary>
	public class ${FileNameWithoutExtension} : AbstractPadContent
	{
	{
		Panel ctl;
		
		/// <summary>
		/// Creates a new ${FileNameWithoutExtension} object
		/// </summary>
		public ${FileNameWithoutExtension}()
		{
			ctl = new Panel();
			// TODO: Initialize the panel's content.
		}
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Control"/> representing the pad
		/// </summary>
		public override Control Control {
			get {
				return ctl;
			}
		}
		
		/// <summary>
		/// Refreshes the pad
		/// </summary>
		public override void RedrawContent()
		{
			// TODO: Refresh the whole pad control here, renew all resource strings whatever
			//       Note that you do not need to recreate the control.
		}
		
		/// <summary>
		/// Cleans up all used resources
		/// </summary>
		public override void Dispose()
		{
			ctl.Dispose();
			base.Dispose();
		}
	}
}
]]>
		</File>
	</Files>
	
	<AdditionalOptions/>
	
</Template>
