PageRenderTime 68ms CodeModel.GetById 64ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/managers/Reports.aspx.cs

http://github.com/gmhawash/SSR
C# | 31 lines | 26 code | 5 blank | 0 comment | 6 complexity | 5e4b0f87814fed9c86c68e510fd42ebd MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Web;
 5using System.Web.UI;
 6using System.Web.UI.WebControls;
 7using System.Web.Security;
 8
 9public partial class managers_Default2 : ZaytonaClasses.ZPage
10{
11    protected void Page_Load(object sender, EventArgs e)
12    {
13      MembershipUser mu = Membership.GetUser();
14      if (mu == null)
15        Redirect("~/Login.aspx");
16    }
17
18    protected void Menu1_MenuItemClick(object sender, MenuEventArgs e) 
19    {
20      MultiView1.ActiveViewIndex = Int32.Parse(e.Item.Value);
21      int i;
22
23      for (i=0; i< Menu1.Items.Count - 1; i++) {
24        if (i == Int32.Parse(e.Item.Value)) {
25          
26        } else {
27          
28        }
29      }
30    }
31}