Example #1
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            XMLTreeViewManager vm = new XMLTreeViewManager(Server.MapPath(System.Configuration.ConfigurationSettings.AppSettings["VirtualDirectory"]) + @"DocumentLeftBar.xml");
            string             s  = vm.GetLeftBarString(base.user, "", "");

            this.tdBar.InnerHtml = s;
        }
Example #2
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            // 在此处放置用户代码以初始化页面
            string             projectCode = Request["ProjectCode"] + "";
            XMLTreeViewManager vm          = new XMLTreeViewManager(Server.MapPath(System.Configuration.ConfigurationSettings.AppSettings["VirtualDirectory"]) + @"\OALeftBar.xml");
            string             s           = vm.GetLeftBarString(base.user, projectCode, "");

            this.tdBar.InnerHtml = s;
            //this.divOAName.InnerHtml = BLL.ProjectRule.GetProjectName(projectCode);
        }
Example #3
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            XMLTreeViewManager vm       = new XMLTreeViewManager(Server.MapPath(System.Configuration.ConfigurationSettings.AppSettings["VirtualDirectory"]) + @"CorpLeftBar.xml");
            string             corpCode = Request["UnitCode"] + "";

            this.divUnitName.InnerText = Request["UnitName"] + "";

            string s = vm.GetLeftBarString(base.user, "", corpCode);

            this.tdBar.InnerHtml = s;
        }
Example #4
0
        private void SelectedProject()
        {
            string projectCode = this.DropDownProject.SelectedItem.Value;

            project.Reset(projectCode);
            Session["ProjectCode"] = projectCode;
            Session["Project"]     = base.project;

            EntityData entity = DAL.EntityDAO.SystemManageDAO.GetSystemUserByCode(base.user.UserCode);

            entity.CurrentRow["LastProjectCode"] = projectCode;
            DAL.EntityDAO.SystemManageDAO.UpdateSystemUser(entity);
            entity.Dispose();

            XMLTreeViewManager vm = new XMLTreeViewManager(Server.MapPath(System.Configuration.ConfigurationSettings.AppSettings["VirtualDirectory"]) + @"\ProjectLeftBar.xml");
            string             s  = vm.GetLeftBarString(base.user, projectCode, "");

            this.tdBar.InnerHtml = s;
        }