示例#1
0
        TListForPaintItem GetItem(int AIndex)
        {
            TListForPaintItem res = null;

            if ((AIndex > f_Count - 1) || (AIndex < 0))
            {
                return(res);
            }
            res = (TListForPaintItem)Items.ElementAt(AIndex);
            return(res);
        }
示例#2
0
        public bool AddForPaint(object AClassPoint, int AType)
        {
            bool res = IsExist(AClassPoint);

            if (res)
            {
                return(false);
            }
            TListForPaintItem Item = new TListForPaintItem(AClassPoint, AType);

            Items.Add(Item);
            f_Count++;
            return(true);
        }