示例#1
0
文件: Range.cs 项目: AlexAbramov/gis
        public bool GetCommonAttr(CommonAttr a)
        {
            switch (a)
            {
            case CommonAttr.ReadOnly: return(true);

            default: return(false);
            }
        }
示例#2
0
文件: View.cs 项目: AlexAbramov/gis
 public bool GetCommonAttr(CommonAttr a)
 {
     return(attr[(int)a]);
 }
示例#3
0
 protected void SetCommonAttr(CommonAttr a, bool val)
 {
     attr[(int)a] = val;
 }
示例#4
0
文件: Object.cs 项目: AlexAbramov/gis
 protected void SetCommonAttr(CommonAttr a, bool val)
 {
     attr[(int)a] = val; UpdateAttr(ObjectField.Attr);
 }
示例#5
0
 public bool GetCommonAttr(CommonAttr a)
 {
     return(false);
 }