TListForPaintItem GetItem(int AIndex) { TListForPaintItem res = null; if ((AIndex > f_Count - 1) || (AIndex < 0)) { return(res); } res = (TListForPaintItem)Items.ElementAt(AIndex); return(res); }
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); }