Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        userManager theUserManager = (userManager)Session["theUserManager"];

        theDisplayProgramName = theUserManager.getProgName();
        theDisplayPlineName   = theUserManager.getPlineName();
        theDisplayUserName    = theUserManager.getUserName();
        theDisplayCompanyCode = theUserManager.getCompanyCode();
        theDisplayProgramCode = theUserManager.getProgCode();
        theProgValue          = theUserManager.getProgVlaue();
        string theMenuCompanyCode = theUserManager.getCompanyCode();

        theMenuUserCode = theUserManager.getUserCode();

        Response.Cookies["CurrentProgramCode"].Value = theDisplayProgramCode;

        ////打印
        //thePrintSql = (string)Session["thePrintSql"];


        //显示提示信息  20071219
        //string str = theDisplayPlineName + "-->" + theDisplayUserName + "___" + theDisplayProgramName;
        //Response.Write("<script>window.status='" + str + "';</script>");

        //theHelpFile = theUrlTemp + "/Rmes/Help/" + theDisplayProgramCode + ".htm";

        //考虑以后可能对程序内容做一些处理,暂且定义变量
        //string theProgTemp = "";
    }