?? st_modulebase.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: 在此處添加構造函數(shù)邏輯
//
}
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 + -