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

📄 st_modulebase.cs

📁 这是一个酒店管理系统
💻 CS
字号:
using System;
using System.Web;
using System.Web.UI;

namespace ST_GROUP
{
	/// <summary>
	/// ST_ModuleBase 的摘要说明。
	/// </summary>
	public class ST_ModuleBase:System.Web.UI.UserControl 
	{
		public ST_ModuleBase()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			////5_1_a_s_p_x.c_o_m
		}
		private String basePathPrefix;
		private bool authenticated;

		/// <value>
		///     Property PathPrefix is used to get or set the file path prefix to be used by the control.
		///     <remarks> 
		///         Sets the value PathPrefix. 
		///         Gets the value PathPrefix. 
		///     </remarks>
		/// </value>
		
		public String PathPrefix
		{
			get
			{
				if (null == basePathPrefix && HttpContext.Current != null)
				{
					basePathPrefix = ST_PageBase.UrlBase;
				}
            
				return basePathPrefix;
			}
			set
			{
				basePathPrefix = value;
			}
		}
		public bool Authenticate(string name,string pwd)
		{
		   	authenticated= ST_PageBase.CheckUser(name,pwd);

			return authenticated;
			
		}
//		public String UserType
//		{ 
//			get
//			{
//				return ST_PageBase.UserType;
//			}
//		}
	}
}

⌨️ 快捷键说明

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