//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using CommunityServer;
using CommunityServer.Components;
using CommunityServer.Controls;

namespace CommunityServer.ControlPanel.Controls
{
	/// <summary>
	/// Base class for skinned control panel controls.
	/// </summary>
	public abstract class ControlPanelTemplatedWebControl : TemplatedWebControl
	{
		public ControlPanelTemplatedWebControl():base()
		{
		}

		protected override String ExternalSkinFileName
		{
			get
			{
				return string.Format("/ControlPanel/Skin-{0}.ascx", this.GetType().Name);
			}
		}
	}
}
