⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pagebase.cs

📁 天织在线购物网站完整源码及文档 本网站是一套基于Web2.0思想设计、采用asp.net2.0开发的社区门户产品。它同时也是一套Web2.0全面解决方案
💻 CS
字号:
/********************************************************************************
** 作者:高亮
** 创始时间: 2007-12-22
** 描述:
**    主要用于后台管理员添加商品,…
** 表:
*********************************************************************************/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Base class for all pages in the application.
/// </summary>
public class PageBase : Page
{
	/// <summary>
	/// Override the Page.StyleSheetTheme property to use the current user's profile.
	/// </summary>
	/// <remarks>The reason for using the <see cref="Page.StyleSheetTheme" /> property instead of 
	/// <see cref="Page.Theme" /> is the resulting output:
	/// StyleSheetTheme CSS files get output at the very beginning of the &lt;head&gt; element in the source, 
	/// whereas Theme CSS files get output at the end. We're using IE-specific conditional comments in the 
	/// masterpage that *must* be interpreted after the main style sheet, so we have to output the link to the 
	/// main style sheet as early as possible.</remarks>
	public override string StyleSheetTheme
	{
		get
		{
			return HttpContext.Current.Profile["StylesheetTheme"].ToString();
		}
		set
		{
			HttpContext.Current.Profile["StylesheetTheme"] = value;
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -