st_buttommodule.ascx.cs

来自「本程序是一个宾馆管理系统」· CS 代码 · 共 44 行

CS
44
字号
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;

public partial class ST_ButtomModule :ST_ModuleBase
{
    protected string UsersManLink;
    protected string CustomersManLink;
    protected string RoomCategoryManLink;
    protected string RoomManLink;
    protected string RoomBussinessManLink;
    protected string TurnoverStatLink;
    protected string ChangePwdLink;
    protected void Page_Load(object sender, EventArgs e)
    {
       /* if (!this.IsPostBack)
        {
            if (HttpContext.Current.User.Identity.IsAuthenticated)
            {

                string UserName = HttpContext.Current.User.Identity.Name;
                UsersManLink = PathPrefix + "/ST_UsersMan.aspx";
                RoomCategoryManLink = PathPrefix + "/ST_RCategoryMan.aspx";
                RoomManLink = PathPrefix + "/ST_RoomsMan.aspx";
                CustomersManLink = PathPrefix + "/ST_CustomersMan.aspx";
                RoomBussinessManLink = PathPrefix + "/ST_RBussinessMan.aspx";
                TurnoverStatLink = PathPrefix + "/ST_TurnoverStat.aspx";
                ChangePwdLink = PathPrefix + "/ST_PwdModify.aspx?UserName=" + UserName;

            }
        }*/

    }

   
}

⌨️ 快捷键说明

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