/// <summary> /// Clear all objects in the list /// </summary> /// <returns> /// true if at least one object is deleted /// </returns> public bool Clear() { bool result = (graphicsList.Count > 0); graphicsList.Clear(); return(result); }
public void DeleteAll() { if (graphicsList != null && graphicsList.Count > 0) { graphicsList.Clear(); } }