
namespace McmsHomeport
{
	using System;
	using System.Web;
	//Add reference for localization
	using System.EnterpriseServices;
	using System.Globalization;
	using System.Resources;
	using System.Threading;
	



	/// <summary>
	///		Summary description for Header.
	///		Adds the appropriate Header information to the site.
	/// ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
	/// ' Microsoft Content Management Server - Sample Code 
	/// '
	/// ' This sample code is provided "AS IS" with no warranties, and confers no rights. 
	/// ' You assume all risk for your use. (c) 2002 Microsoft Corporation. All rights reserved.
	/// '
	/// ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
	
	/// </summary>
	public abstract class McmsHeader : System.Web.UI.UserControl
	{
		protected Microsoft.Web.UI.WebControls.Toolbar cmtb;
		protected System.Web.UI.WebControls.Literal LTHeaderSupport;
		protected System.Web.UI.WebControls.Literal LTHeaderSearch;
		protected System.Web.UI.WebControls.Literal LTHeaderMicrosoftHome;
		protected System.Web.UI.WebControls.Literal LTHeaderMcms;
		protected System.Web.UI.WebControls.Button McmsHomeport1;
		
		// Instantiate Resource Manager for Localization
		protected ResourceManager LocalizationResourceManager;
		#region Page Load
		private void Page_Load(object sender, System.EventArgs e)
		{
			//Get the resources from the resource files
			//and assign the values to the literal controls			

			LTHeaderMcms.Text = LocalizationResourceManager.GetString("McmsHome");
			LTHeaderSupport.Text = LocalizationResourceManager.GetString("Support");
			LTHeaderSearch.Text = LocalizationResourceManager.GetString("Search");
			LTHeaderMicrosoftHome.Text = LocalizationResourceManager.GetString("MSHome");
		}
		#endregion Page Load


		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN: This call is required by the Asp.NET Web Form Designer.
			//
			InitializeComponent();
			base.OnInit(e);
			LocalizationResourceManager = (ResourceManager) Application["McmsHomeportResourceManager"];
		}
		
		///		Required method for Designer support - do not modify
		///		the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.Load += new System.EventHandler(this.Page_Load);

		}
		#endregion
	}
}