コード例 #1
0
ファイル: SmtNavigate.cs プロジェクト: radtek/smartaccess
 public ExpandItem(string name, Image image, SYS_FUN_POINT funPoint, Type controlType = null)
 {
     this.name        = name;
     this.image       = image;
     this.funPoint    = funPoint;
     this.controlType = controlType;
 }
コード例 #2
0
ファイル: SmtNavigate.cs プロジェクト: radtek/smartaccess
 public bool HasPrivate(SYS_FUN_POINT funPoint)
 {
     if (DesignMode)
     {
         return(true);
     }
     return(PrivateMgr.FUN_POINTS.Contains(funPoint));
 }
コード例 #3
0
ファイル: UserInfoHelper.cs プロジェクト: radtek/smartaccess
 public static bool HasPrivate(SYS_FUN_POINT fun)
 {
     if (IsManager)
     {
         return(true);
     }
     else
     {
         return(PrivateMgr.FUN_POINTS.Contains(fun));
     }
 }