public void Dispose() { Clear(); if (gdiPainter != null) { gdiPainter.Dispose(); gdiPainter = null; } if (gdiSelector != null) { gdiSelector.Dispose(); gdiSelector = null; } }
public FieldManager(Graphics graph) { gdiPainter = new GDIPainter(graph); gdiSelector = new GDISelector(); }