//--------------------------------------------------- public void ClearDrawingCache() { foreach (I2iObjetGraphique objet in Childs) { C2iObjetDeSchema o = objet as C2iObjetDeSchema; if (o != null) { o.ClearDrawingCache(); } } }
//--------------------------------------------------- public void ClearDrawingCache() { if (m_imageCache != null) { m_imageCache.Dispose(); } m_imageCache = null; foreach (I2iObjetGraphique objet in Childs) { C2iObjetDeSchema o = objet as C2iObjetDeSchema; if (o != null) { o.ClearDrawingCache(); } } }