public bool CanChooseObject(IGxObject @object, ref esriDoubleClickResult result)
        {
            bool canChoose = false;

            if (@object == null)
            {
                return canChoose;
            }

            IGxFile gxFile = @object as IGxFile;

            if (gxFile == null)
                return false;

            if (gxFile.Path.EndsWith(".xml"))
                canChoose = true;

            return canChoose;
        }
示例#2
0
        public bool CanChooseObject(IGxObject @object, ref esriDoubleClickResult result)
        {
            bool canChoose = false;

            if (@object == null)
            {
                return(canChoose);
            }

            IGxFile gxFile = @object as IGxFile;

            if (gxFile == null)
            {
                return(false);
            }

            if (gxFile.Path.EndsWith(".xml"))
            {
                canChoose = true;
            }

            return(canChoose);
        }
 public bool CanChooseObject(IGxObject @object, ref esriDoubleClickResult result)
 {
     throw new NotImplementedException();
 }
 public bool CanChooseObject(IGxObject @object, ref esriDoubleClickResult result)
 {
     throw new NotImplementedException();
 }