Пример #1
0
 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
 public bool HasPrivate(SYS_FUN_POINT funPoint)
 {
     if (DesignMode)
     {
         return(true);
     }
     return(PrivateMgr.FUN_POINTS.Contains(funPoint));
 }
Пример #3
0
 public static bool HasPrivate(SYS_FUN_POINT fun)
 {
     if (IsManager)
     {
         return(true);
     }
     else
     {
         return(PrivateMgr.FUN_POINTS.Contains(fun));
     }
 }