示例#1
0
 private void Page_Load(object sender, System.EventArgs e)
 {
     // 在此处放置用户代码以初始化页面
     UserName = Request.Cookies["UserName"].Value.ToString().ToLower();
     if (!Page.IsPostBack)
     {
         Bangding();
     }
     UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
     bManageFlow = df.GetAccessPermission(Request.Cookies["ActiveNodeID"] != null?Int32.Parse(Request.Cookies["ActiveNodeID"].Value):0, UserName, 4);
     df          = null;
 }
示例#2
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            // �ڴ˴������û������Գ�ʼ��ҳ��

            //�õ��û���
            UserName = Request.Cookies["UserName"].Value.ToString().ToLower();
            if(!Page.IsPostBack)
                Bangding();

            UDS.Components.DocumentFlow df =new UDS.Components.DocumentFlow();
            bManageFlow = df.GetAccessPermission(Request.Cookies["ActiveNodeID"]!=null?Int32.Parse(Request.Cookies["ActiveNodeID"].Value):0,UserName,4);
            df = null;
        }