-
Notifications
You must be signed in to change notification settings - Fork 0
/
LeftMenu.ascx.cs
52 lines (44 loc) · 1.27 KB
/
LeftMenu.ascx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace EPolicy.EPolicyWeb.Components
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using EPolicy;
/// <summary>
/// Summary description for MenuTaskControl.
/// </summary>
public partial class MenuTaskControl : System.Web.UI.UserControl
{
protected void Page_Load(object sender, System.EventArgs e)
{
EPolicy.Login.Login cp = HttpContext.Current.User as EPolicy.Login.Login;
if (cp == null)
{
Response.Redirect("Default.aspx?001");
}
else
{
//VerifyAccess(cp);
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
}
#endregion
}
}