private void LayoutRoot_Loaded(object sender, RoutedEventArgs e) { //permClient.GetSysLeftMenuAsync("1", Common.CurrentConfig.CurrentUser.UserInfo.SYSUSERID); permClient.GetSysLeftMenuFilterPermissionAsync("1", Common.CurrentLoginUserInfo.SysUserID, MenuInfosList); HeaderMenu.HBPervious.Click += new RoutedEventHandler(HBPervious_Click); HeaderMenu.HBNext.Click += new RoutedEventHandler(HBNext_Click); HeaderMenu.HBFullScreen.Click += new RoutedEventHandler(HBFullScreen_Click); }
private void LayoutRoot_Loaded(object sender, RoutedEventArgs e) { //permClient.GetSysLeftMenuAsync("7", Common.CurrentLoginUserInfo.SysUserID); permClient.GetSysLeftMenuFilterPermissionAsync("7", Common.CurrentLoginUserInfo.SysUserID, MenuInfosList); string flag = ""; permClient.GetEntityMenuByUserAsync("1", Common.CurrentLoginUserInfo.SysUserID, flag); permClient.GetEntityMenuByUserAsync("7", Common.CurrentLoginUserInfo.SysUserID, flag); HeaderMenu.HBPervious.Click += new RoutedEventHandler(HBPervious_Click); HeaderMenu.HBNext.Click += new RoutedEventHandler(HBNext_Click); HeaderMenu.HBFullScreen.Click += new RoutedEventHandler(HBFullScreen_Click); }