using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using CY.Infrastructure.Configuration;
|
using System.Web.UI.HtmlControls;
|
using CY.Infrastructure.Logging;
|
using LIMS.MessageBox;
|
using System.Text;
|
using CY.Model;
|
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
|
using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;
|
using System.Web.UI.WebControls;
|
using CY.BLL;
|
using CY.Infrastructure.Common;
|
using CY.Model.Inquiry;
|
|
namespace CY.WebForm.APP
|
{
|
/// <summary>
|
///APP基础页面类
|
/// </summary>
|
public class BasePageApp : MainPage
|
{
|
public BasePageApp()
|
{
|
Load += new EventHandler(BasePage_Load);
|
}
|
|
public void BasePage_Load(object sender, EventArgs e)
|
{
|
if (CurrentUser == null)
|
{
|
string js = "";
|
js = "window.location.href='/loginapp.html'";
|
Response.Write("<script>" + js + "</script>");
|
Response.End();
|
}
|
}
|
}
|
}
|