private void InitLeftMenu() { List <NavMenu> navMenus = SystemMenuWrapper.GetUserAssignedNavMenuByUserLoginID(CurrentLoginUser.UserLoginID); foreach (NavMenu m in navMenus) { TreeNode topnode = CreateMainItem(m, LeftPanel); CreateSubItem(m, topnode); } }
private void InitLeftMenu() { List <NavMenu> navMenus = SystemMenuWrapper.GetUserAssignedNavMenuByUserLoginID(this.CurrentTokenInfo.LoginUserID); foreach (NavMenu m in navMenus) { TreeNode topnode = WebUIHelper.CreateMainItem(m, LeftPanel); WebUIHelper.CreateSubItem(m, topnode, this); } }