////////////////////////////////////////////////////////////////////////////////////// // Use: Delete graphics collections own by that object // ////////////////////////////////////////////////////////////////////////////////////// public void Delete(bool deleteData) { if (deleteData) { if (_graphicsData != null) { _graphicsData.Delete(); } } if (_graphics != null) { _graphics.Delete(); } }